Access denied on 'c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\....

B

Bob

I'm all of a sudden getting an access denied error on my web server when I
access it from a browser:

CS0016: Could not write to output file
'c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\projmgmt\ede965f0\db1b3c5e\thwdzsif.dll' -- 'Access is denied. '

I understand that .NET was attempting to do a JIT compilation since this is
a newer version (tested and ran well on another server). I also know that
this is because some ACL somewhere is screwed up because if I put the ASPNET
user in the Administrators group, which has full control to every directory
on the server, it works. I looked at these microsoft docs Q317012 and
Q271071, and checked that ASPNET has full control to the system TEMP folder
as well as 'c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET'.
For now I was able to get around the issue by putting ASPNET in the
Administrators group, hitting the site from a browser to let the JIT
compilation go through, and then remove the ASPNET from Administrators,
since the JIT comile only occurs once (if the assembly remains unchanged).
However, this is clearly not a permanent solution. Does anyone know exactly
which folder(s) the ASPNET user need full control access to in addition to
the ones I mentioned above?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,830
Latest member
ZADIva7383

Latest Threads

Top