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
Classic ASP errors with current identity does not have write access to c:\windows\microsoft.net\framework\v4.0.30319\temporary ASP.NET files
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
2 answers
Sort by: Oldest
-
Tom Tran (WICLOUD CORPORATION) 5,970 Reputation points Microsoft External Staff Moderator
2026-09-14T02:47:47.0166667+00:00 Hi @Ramirez, Rose ,
The error does not necessarily mean the
.aspfiles contain .NET code. If the application pool uses theIntegratedpipeline, 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:
- Open the application pool’s
Advanced Settingsand note itsIdentity,.NET CLR Version, andManaged Pipeline Mode. - Check the complete error message for the identity shown in parentheses.
- 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 Versionset toNo Managed Code. - 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\Tempis 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.
- Open the application pool’s