Classic ASP errors with current identity does not have write access to c:\windows\microsoft.net\framework\v4.0.30319\temporary ASP.NET files

Ramirez, Rose 0 Reputation points
2026-09-11T22:02:46.3+00:00

Within IIS 10, classic ASP website, I cannot find any .NET code in this ASP files causing the authentication error. We have tried all the suggested options by giving the user permissions to the folder, removed the user from the website, cleared the cache and it still does not work. The user account has been give permissions to c:\Windows\temp. What more can I do? I would like assistance to resolve the issue. Thank you

Windows development | Internet Information Services
0 comments No comments

2 answers

Sort by: Newest
  1. Tom Tran (WICLOUD CORPORATION) 5,960 Reputation points Microsoft External Staff Moderator
    2026-09-14T02:47:47.0166667+00:00

    Hi @Ramirez, Rose ,

    The error does not necessarily mean the .asp files contain .NET code. If the application pool uses the Integrated pipeline, ASP.NET modules can also participate in Classic ASP requests. Microsoft documents this behavior in Application Pools in IIS.

    I would suggest checking the following first:

    1. Open the application pool’s Advanced Settings and note its Identity, .NET CLR Version, and Managed Pipeline Mode.
    2. Check the complete error message for the identity shown in parentheses.
    3. If the site is entirely Classic ASP and does not use managed modules or child ASP.NET applications, test it in a dedicated application pool with .NET CLR Version set to No Managed Code.
    4. If managed processing is required, grant the identity shown in the error read and write access to the exact folder named in the message: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files

    C:\Windows\Temp is a separate directory, so permissions there do not address this particular error. Microsoft lists the required permissions for the ASP.NET compilation folder in ASP.NET Required Access Control Lists.

    If the issue remains, please share the complete error and stack trace with sensitive details removed, along with the three application pool settings above. That should show whether unnecessary managed processing is being loaded or the actual worker identity still lacks access.

    Was this answer helpful?


  2. Bruce (SqlWork.com) 85,786 Reputation points
    2026-09-13T15:27:46.82+00:00

    If your classic asp does not use .net, you probably configured .net pipeline which does. Edit the pool account and set the clr version to no managed code and pipeline mode to classic. Also under advanced settings enable 32 bit applications

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.