asked    Todd     2018-10-12       iis       35 view        1 Answer

[SOLVED] Umbraco hostname cannot be set

When I attempt to set a hostname on my site, I am getting the error message

"Authorisation has been denied for this request"

I'm logged in as an Administrator and cannot work out what it is that I am not authorised to do. The hostname is perfectly valid that I am entering

Is it Umbraco refusing the request or IIS?

  1 Answer  

        answered    Bonnie     2018-10-12      

It sounds like the user you are logged in as does not have permission to set the host names for the site. It's a permission that's set in the user types in the users section.

Got to the Users section in the back office, expand "user types", choose the type that your user is set to, and ensure that "Culture and Hostnames" is checked in the default permissions tree.

If you can't see the permission there to check it, it means you need to get someone with full Administrator access to set it for you, and then log out and log back in again.





Your Answer





 2018-10-12         Darlene

How to get descendants from current page in Umbraco 7?

I have a document type with alias dArticlesMain, and for this page I have the following structure.dArticlesMaindArticlesCategory1Article1Article2Article3dArticlesCategory2Article1Article2Article3dArticlesCategory3Article1Article2Article3I'm on dArticlesMain and i want to display all the descendants (Articles) and skip it's childrens (dArticlesCategory)I have this code which display all the childrens (dArticlesCategory) and the descendants (Articles) also when i use the Article properties it's through an error. <ul> @foreach(var page in Model.Content.Descendants()) ...
 asp.net-mvc                     1 answers                     15 view
 2018-10-12         Maxwell

Umbraco - custom model causing problems?

In a vanilla Umbraco project, i am importing a vanilla MVC app.I am currently beeing held up, by this error:Cannot bind source type eParser.Model.MyModel to model type MyNamespace.Controllers.ViewModel`1[[eParser.Model.MyModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].This is my code:Local projectnamespace MyNamespace.Controllers{ public class MyOutputController : RenderMvcController { private static Parser _parser; public MyOutputController() { _parser = new Parser(@"localfile.txt"); } public override Actio...
 asp.net-mvc                     1 answers                     17 view
 2018-10-12         Lydia

How to get specific fields to be shown in the search results?

I'm using ezSearch package installed into Umbraco 7.6.What I am trying to do is to get specific fields to be always shown in the search result under the pageName that has the word that the user is looking for,So for example I have two properties in the homepage (heading1 and homeText)And the code for (search results) in the macro as following:@helper RenderContentResult(SearchViewModel model, IPublishedContent result){ <div class="ezsearch-result"> <h2><a href="@result.Url">@result.Name</a>XX</h2> @foreach (var field in model.P...
 asp.net-mvc                     1 answers                     18 view