DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Got error messages

Sort:
You are not authorized to post a reply.





Growing Member





    After upgrade, got the following messages;

     

    Server Error in '/' Application.


    Access to the path 'G:\PleskVhosts\hostdomain.net\domain.com\Install\upgradestat.log.resources.txt' 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 'G:\PleskVhosts\hostdomain.net\domain.com\Install\upgradestat.log.resources.txt' 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.


    Stack Trace:
     

    [UnauthorizedAccessException: Access to the path 'G:\PleskVhosts\hostdomain.net\domain.com\Install\upgradestat.log.resources.txt' is denied.]
       System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +587
       System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +1017
       System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +66
       System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) +80
       System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) +66
       System.IO.StreamWriter..ctor(String path, Boolean append) +38
       System.IO.File.CreateText(String path) +33
       DotNetNuke.Services.Install.UpgradeWizard.OnLoad(EventArgs e) +228
       System.Web.UI.Control.LoadRecursive() +130
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2853
    

     


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0

    <form> action="../ErrorPage.aspx" id="Form" method="post">

     
     

    Application Error


     

     

    Return to Site
     

    </form>






    Growing Member





      It looks like on the shared host the application pool identity does not have proper permissions to the file system, please see https://dnnsupport.dnnsof...ng-up-the-DNN-Folder

      You are not authorized to post a reply.

      These Forums are dedicated to the discussion of DNN Platform.

      For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

      1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
      2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
      3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
      4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
      5. No Flaming or Trolling.
      6. No Profanity, Racism, or Prejudice.
      7. Site Moderators have the final word on approving / removing a thread or post or comment.
      8. English language posting only, please.

      Would you like to help us?

      Awesome! Simply post in the forums using the link below and we'll get you started.

      Get Involved