Asp.net error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jyothi1105
    New Member
    • Apr 2007
    • 14

    Asp.net error

    Hi
    Iam working in windows XP, i cant find the security tab here to change the settings. Iam unable to load the XML file from asp.net..please help its urgent. how can i allow it?

    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}\ASPNE T 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="tr ue"/>, the
    identity will be the anonymous user (typically IUSR_MACHINENAM E) or the authenticated request user. To grant ASP.NET write 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.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Hi Jyothi1105 :)

    I have moved your question to the .NET forum. The .NET Articles section is reserved for articles that are purely informational; like "how-tos" etc. The .NET Forum is the place for your questions. In the future please post your questions here (Blue Menu Along the Top: Forums->.NET).

    Cheers!

    -Frinny

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      If you are trying to access a resource that does not allow your ASPNET user account to access it you will have to change the permissions on that resource so that it does have access to it.

      I ran into that error when I installed a DLL into the system32 folder. The ASPNET user account does not have access to it (for obvious reasons) so I had to move the DLL into a folder that allowed for these permissions, set the permissions on the DLL so that the ASPNET account could use it, and installed the DLL there.

      Hopefully this helps you :)

      -Frinny

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        It looks like the main question is that the Security tab is missing. In XP HOME (and maybe XP PRO by default) the file system is set to use simple sharing/security. This hides those tabs. You have to enable this under
        Tools->Folder Options ->(tab)View. Down at the very bottom if you uncheck the "Use simple file sharing(recomme nded)" you will get those advanced tabs.
        Be warned that changing those settings can effect your windows sharring, so be sure you know what you're doing.

        Now when you go to properties of a folder(or file) you will see the Security tab(s)

        Comment

        Working...