Thursday, March 22, 2012

VS 2005 Compilation Error (App_Code.compiled)

I migrated a simple web app from VS 2003, framework 1.1 to VS 2005,
framework 2.0. Other than some obsolete warnings, nothing major was
flagged. I've initiated both the Build Web Site and Build Solution and

both times receive the error 'Access to the path
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\<appname>\f1d37174\2fe659fb\App_Code.compiled' is denied.' I've
looked in this directory and this file does not exist. I changed the
security settings, since I'm an admin on the box, for ASP.NET Machine
Account, Network Service and me to Full Control and still get the
error.

Can anyone shed some light on this?

Any feedback is appreciated.Found the answer. I had to give Write permission to the Users group on
Temporary ASP.NET Files folder.

0 comments:

Post a Comment