Copied to clipboard

Flag this post as spam?

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


  • kukuwka 75 posts 96 karma points
    Oct 26, 2010 @ 12:16
    kukuwka
    1

    Access to the path 'WebSite\App_Data\packages\installed\installedPackages.config' is denied.

    Hi,

    I try to open 'Install local package" and get the next error:

    Access to the path 'WebSite\App_Data\packages\installed\installedPackages.config' 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:\Netcraft\WinBuyer\Umbraco\App_Data\packages\installed\installedPackages.config' 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) 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 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.

     

    I try to add ASPNET user but in 'Security' ->..->'Check Names'  it doesn't find it.

    How can I solve this issue?

    Thanks,

    kukuwka

  • Kim Andersen 1447 posts 2196 karma points MVP
    Oct 26, 2010 @ 12:52
    Kim Andersen
    1

    Hi kukuwka

    Have you set the right permissions on the App_Data-folder? Umbraco need to have permissions to write to the file, when installing new packages.

    Another problem could be if the file is set to read only. Try checking it out in the file properties.

    /Kim A

  • kukuwka 75 posts 96 karma points
    Oct 26, 2010 @ 13:03
    kukuwka
    0

    Thank you very much.

    The file was set to read only.

  • Kim Andersen 1447 posts 2196 karma points MVP
    Oct 26, 2010 @ 17:12
    Kim Andersen
    0

    Great!

    One thing to be aware of is projects that you run in some kind of source safe. Then the files will usually be "locked" until you check them out. But now that you have run into this problem you know what to check next time :)

    Btw. can you mark this post as answered, so that other folks can easily find the solution in the future - thanks :)

    /Kim A

Please Sign in or register to post replies

Write your reply to:

Draft