473,226 Members | 1,442 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,226 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 1493
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: paul calvert | last post by:
I hope somewhere here has encountered and solved a similar problem in the past. 1) on a new Win2000 PC: installed Visual C++ 6.0 download & install single file Service Pack 5.0 2) try to...
11
by: Alf P. Steinbach | last post by:
// As usual the error message directs one to the report the bug. // // And as usual there is absolutely no way to do so without paying for // the privilege... // // Or using three or four hours...
1
by: Invalidlastname | last post by:
Hi, Our developer team recently started getting the compilation error, see below, once a while running the asp.net web application from Visual Studio 2003 (in debug mode), and we have to rebuild the...
0
by: Kris Vanherck | last post by:
yesterday i started getting this strange error when i try to run my asp.net project: Compiler Error Message: CS0006: Metadata file 'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net...
4
by: james margey | last post by:
Hi to all, I have spent 3 days at this error and i have two days to go for a deadline, and i am about to go off my nut, the reason being: Microsoft dont seem to be able to provide a solution, I...
3
by: Steven Berkovitz | last post by:
I have a common problem with just about every ASP.NET web app I've ever developed. Randomly after compiling a project, I will get a CS0006 compiler error with the following description: ...
0
by: Kent Boogaart | last post by:
Hi all, I'm working on a web project and am getting this error pretty consistently: ------------------------------------------------------------------------- Compilation Error Description: An...
1
by: Giulio Petrucci | last post by:
Good morning everybody, I have been dealing with this strange issue for almost two days: I got stuck and I can't get out of it. I built up for the first time in my life (I'm quite new in stuff...
0
by: gmsieling | last post by:
We're getting compiler error CS0006, with increasing frequency. It says that a randomly named DLL was not found. This happens at random intervals when you try to run the application. We're using the...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.