Paul Gu | Blog

sharing is caring

IIS having problems creating temp directories

Access to the path “C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\2135a508\8d69a834” 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:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\2135a508\8d69a834” 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.

The reason is that .NET 1.0 and 1.1 are installed on the machine. And it was the 1.0 version of the ASP.NET worker process that was running, while everything else to do with the application was 1.1.

To fix the problem type the something similar to the following at the command prompt:

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i

Which will install the proper version of the ASP.NET Worker Process.

Next Post

Previous Post

Leave a Reply

© 2024 Paul Gu | Blog

Theme by Anders Norén