Hi,
I have a code which is working perfectly fine when i host it as a webapplication in default website.
When i host it as a seperate website, it throws me
Server Error in '/' Application.
--------------------------------------------------------------------------------
Login failed: The password is not valid for this login ID.
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: Login failed: The password is not valid for this login ID.
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 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.
->Its on windows 2008 R2 server with IIS 7.5
->We are using anonymous access to apppool identity.
->I have tried giving access to IUSR, IIS_USRS, ASPNET, {apppool} to the application folder, wwwroot folder.
->My app pool is running under applicationpoolidentity.
->The code is in asp.net 1.1 framework.
Any idea what else I am missing here?
Any help appreciated.
Thanks,
Manognya.K