Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nelson 94 posts 246 karma points
    Jul 07, 2016 @ 09:06
    Nelson
    0

    Set Permissions for Umbraco

    Hello,

    I just uploaded my website to the server and I'm having some issues about permissions. One I try the website on the browser I get the folloeing error:

    Server Error in '/test' Application.
    
    Access to the path 'C:\HostingSpaces\...\wwwroot\test\App_Data\TEMP\ClientDependency\SRV1HOSTING-32f3787a0f9adb2a04929f01604e8ff6-map.xml' is denied.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    
    Exception Details: System.UnauthorizedAccessException: Access to the path 'C:\HostingSpaces\...\wwwroot\test\App_Data\TEMP\ClientDependency\SRV1HOSTING-32f3787a0f9adb2a04929f01604e8ff6-map.xml' is denied.
    
    ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
    
    To grant ASP.NET access to a file, right-click the file in File Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
    
    Source Error:
    
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    

    How can I fix this permission issue?

    Thank you very much!

  • Michel Collard 44 posts 264 karma points c-trib
    Jul 07, 2016 @ 09:47
    Michel Collard
    100

    Here are some links I found searching the website:

    Quote from the article in the second link:

    "The user with the permissions set are the user used by the Application Pool used by the IIS website (usually Network Service or the IIS_IUSRS group). If in doubt, ask your server admin / hosting company"

    https://our.umbraco.org/wiki/install-and-setup/set-umbraco-folder-permissions-from-command-line/

    https://our.umbraco.org/documentation/Getting-Started/Setup/Server-Setup/permissions

  • Nelson 94 posts 246 karma points
    Jul 08, 2016 @ 04:23
    Nelson
    0

    I just changed the permissions on the server and its working, thank you very much!

Please Sign in or register to post replies

Write your reply to:

Draft