471,582 Members | 1,351 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,582 software developers and data experts.

CS0006 Compiler Error - but none of the usual causes

Hi

I'm getting the CS0006 compiler error in my asp.net 2.0 web project
everytime I make any uncompiled change to the app. Compiled changes are fine
as the web site is rebuilt, but if I for example add a space to an aspx, them
I get a compiler error saying a temporary internet file could not be found,
always from the App_Code directory.

I've seen this before but this time it is none of the usual suspects. We're
not using impersonation, I've checked with filemon and nothing is locking the
file like virus scan etc

When I look for the file it is there but with a .delete extension added to
the end. This sounds like IIS is trying to delete the file to recompile the
App_Code directory and fails at some point.

I guess I could take everything out of App_Code and maybe this would fix the
problem, but thats not ideal being as VS automaticaly dumps things like web
service code-behind files there.

I'm very close to making this a web application project but I would dearly
like to get one asp.net app completed without doing this...

Thanks for any information or help youcan give.

Rob
Nov 24 '06 #1
2 1411
Have you tried checking your write-permissons/access-rights for your temporary asp.net files (should be something like C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files ). Make sure that the System and IIS_WPG users have full rights and that is the folders are writable.
---
Posted via DotNetSlackers.com
Dec 11 '06 #2
Hi, have you tried checking write nd access-rights for the system/iis_wpg-users for the "Temporary ASP.NET Files"-folder? usually located under C:\WINDOWS\Microsoft.NET\Framework. Also make sure its not write protected, that solved my problem.

/ Phil
---
Posted via DotNetSlackers.com
Dec 11 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Invalidlastname | last post: by
reply views Thread by Kris Vanherck | last post: by
4 posts views Thread by james margey | last post: by
3 posts views Thread by Steven Berkovitz | last post: by
reply views Thread by Kent Boogaart | last post: by
1 post views Thread by Giulio Petrucci | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by lumer26 | last post: by
1 post views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.