Groups | Blog | Home
all groups > asp.net security > september 2003 >

asp.net security : Server Error in '/' Application - Compilation Error - Temporary ASP.NET Files


Tyrel van Niekerk
9/7/2003 2:12:02 PM
I have a site that works fine on my local box. I then copy it to my
production server (Win2003) and when I try to access the site I get:


Server Error in '/' Application.
----------------------------------------------------------------------------
----

Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.

Compiler Error Message: CS0016: Could not write to output file
'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\a9e59083\3254c4a0\oxtcux7z.dll' -- 'Access is denied. '

I have tried suggestions from various posts on the net to solve this, but no
luck so far. Basically gave the NETWORK_SERVICE, ASP.NET full access to the
temp folder. Then I gave full access to everyone, Then just to all the users
already listed, etc. etc. Does not seem to matter what I set the access
rights to, I always get this error.

Any ideas? Please? :D

Chris Jackson
9/8/2003 9:54:06 AM
What authentication mechanism are you using, and are you using
impersonation?

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows XP
Windows XP Associate Expert
--
[quoted text, click to view]

Tyrel van Niekerk
9/8/2003 4:47:11 PM
Just default install. Think I should try impersonation, have to find the
machine.config file everyone is talking about. :D
[quoted text, click to view]

Tyrel van Niekerk
9/8/2003 5:22:48 PM
I set impersonation to an admin user on the server, same error. Tried it
with a strong name key in case that had something to do with it, also same
problem. Not sure what else to try. I have to get this site up and running
soon...
[quoted text, click to view]

Tyrel van Niekerk
9/8/2003 9:55:25 PM
Success at last. Had to make sure ASPNET user has full rights to
C:\Windows\Temp folder. Seems that's all it wanted. :D
[quoted text, click to view]

AddThis Social Bookmark Button