473,465 Members | 4,823 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

"The compiler failed with error code 1"

Is there any recommended solution to this error message? I get it
*all the time.*

It's seemingly random, but it obviously happens right after I change
some code so a page or the app recompiles. I'll refresh the page, and
here's this error. It has no other information, except a link to
click for "Detailed Compiler Output" that has nothing but the command
line that was invoked to compile.

This error has occurred on:

* More than one Web app
* More than one server
* More than one IDE

I posted about this to the Joel on Software .Net discussion group:

http://discuss.joelonsoftware.com/de...et.12.430609.8

However, that discussion just became a debate about what editor I
might be using and how that would affect it. Like I mentioned, it
happens whether or not I use Visual Studio or a simple text editor.

Making the error go away is a pain. Any one of these methods might
work:

* Change some code on the page so that page recompiles
* Change something in the Web.config so the entire app recompiles
* Delete all the files in the "Temporary ASP.Net Files" directory

It's hit or miss to get it to go away, and I *really* want to get to
the source of the problem. Since this error has followed me around
from app to app, server to server, and IDE to IDE, I'm willing to
concede it *has* to be something I'm doing.

Deane

Feb 1 '07 #1
1 9862
the most common cause is having one page reference another without the
actual reference directive. during a normal compile paged are batched
together during the compile for compile performance. if one page
refereneces another but they are in the same batch ok. now when a single
page compiles without it batch mate, it fails.

-- bruce (sqlwork.com)

de**********@gmail.com wrote:
Is there any recommended solution to this error message? I get it
*all the time.*

It's seemingly random, but it obviously happens right after I change
some code so a page or the app recompiles. I'll refresh the page, and
here's this error. It has no other information, except a link to
click for "Detailed Compiler Output" that has nothing but the command
line that was invoked to compile.

This error has occurred on:

* More than one Web app
* More than one server
* More than one IDE

I posted about this to the Joel on Software .Net discussion group:

http://discuss.joelonsoftware.com/de...et.12.430609.8

However, that discussion just became a debate about what editor I
might be using and how that would affect it. Like I mentioned, it
happens whether or not I use Visual Studio or a simple text editor.

Making the error go away is a pain. Any one of these methods might
work:

* Change some code on the page so that page recompiles
* Change something in the Web.config so the entire app recompiles
* Delete all the files in the "Temporary ASP.Net Files" directory

It's hit or miss to get it to go away, and I *really* want to get to
the source of the problem. Since this error has followed me around
from app to app, server to server, and IDE to IDE, I'm willing to
concede it *has* to be something I'm doing.

Deane
Feb 1 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Boris | last post by:
I install embeeded visual C++ sp2 (eVC 4.0) on new instalation of windows XP pro en SP1 () (with no update). Then I to install SDK for windows ce dot.net 4.2. Installation failed with error...
3
by: Gustavo L. Fabro | last post by:
Greetings! I'm testing VS 2005 Beta 2, and I've compiled a program that runs just fine on my computer (where VS is installed). I've tried to run this same program on another computer (after...
2
by: Steve M | last post by:
A few users today received the message "The trust relationship between this workstation and the primary domain failed" on their web browser while using an ASP.NET web app. The problem went away...
0
by: Thomas | last post by:
the webpages on our .net server ran fine for almost a year now. in the last few weeks however, more and more occurences of the error "the compiler failed with error code 128" have shown up, despite...
1
by: ikarlgut | last post by:
We get this error once in a while - every 10 page hits or so... Failed to start monitoring changes to 'bla bla bla'. (Note blah = unc path + file name) We have a file server (win2003) hosting...
0
by: Hawksey | last post by:
Hello, Has anyone else experienced a similar problem. We get an intermittent error trying to send mail using smtpmail. Our SmtpMail.SmtpServer is a different server to our web application...
2
by: lialie | last post by:
Hi, Maybe it 's quite simple, but I can't fix it. Do I make some mistakes in my env setting? My excel version is 2003. any suggestion? Thanks. Traceback (most recent call last): File...
1
by: kamcap | last post by:
I have referenced a COM dll (unmanagged code) in a C# console application and this DLL is referenced in C# program using Interop facility in .NET. This dll actually a dataset/table which is written...
2
by: tvnaidu | last post by:
valgrind error - "failed to start tool 'memcheck' for platform x86-linux" no such file or dir copied all lib and bin files which are generated after I compiled valgrind package, when I run my exe...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.