By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,044 Members | 1,291 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,044 IT Pros & Developers. It's quick & easy.

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

P: n/a
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\Tempor ary 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\Tempor ary 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?

Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a

First the message is by product of generating dynamic assemblies from
ASP.NET aspx files.

Try to follow this link to find out the necessary permissions:

You can also use Filemon ( to find out which
directories need permissions.

Natty Gur[MVP]

blog :
Mobile: +972-(0)58-888377
*** Sent via Developersdex ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.