|
Hi,
I have a windows 2003 server running an asp.net c# web app that encrypts a file. It uses a third party dll for encryption and I have it built into my app. It runs fine in my Visual Studio 2005 environment but when I publish it and run it I get.
System.UnauthorizedAccessException: Path/File access error
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.
I have given access for aspnet and network service to the folder and file needing encryption. I have also registered the dll with the server and given access to microsoft.net/framework/v2.0./temporary asp,net.... folder
I have added the dll to the allowed file extensions in iis6.0. Still same error.
Can anyone help please?????
thankss...
David
|