PC Review


Reply
Thread Tools Rate Thread

"The compiler failed with error code 1"

 
 
deane.barker@gmail.com
Guest
Posts: n/a
 
      1st Feb 2007
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

 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      1st Feb 2007
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)

(E-Mail Removed) 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
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Failed Short Self Test" Error code: HD521-2W RScotti Windows XP General 4 24th Sep 2007 01:30 PM
what does "server responded precondition failed" error code mean? =?Utf-8?B?ZWVsanVtcEBtc24uY29t?= Microsoft Outlook Discussion 1 23rd Jun 2006 06:24 PM
Compiler Error Message: The compiler failed with error code -1073741819 Ram Microsoft ASP .NET 0 13th Sep 2005 10:52 AM
Re: Method "Display" of object "mailitem" failed -2147221441 (80040107) when running code in background, code works when stepping through Carol Chisholm Microsoft Outlook VBA Programming 1 6th Sep 2005 03:22 PM
Failed to CoGetClassObject for provider "CIMWin32". Error code 0x8 =?Utf-8?B?QXNoaQ==?= Microsoft Windows 2000 1 20th Jun 2005 02:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:01 PM.