473,407 Members | 2,315 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,407 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 1499
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.