Author: DatabaseAndWebAppDev | Posted on: 6/18/2009 7:10:13 AM | Views : 468

Hi All,

When attempting to write or delete a file in the Application_Start event of Global.asax I receive an "Authentication Required" message box requesting a User Id and Password.

After clicking Cancel on the Message Box I receive the following.
 
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 "D:\hshome\mtbvfr\casas-y-terrenos.com\MapPathTest2009-06-17T21-48-03.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) that is used if the application ...

Go to the complete details ...