Thursday, June 9, 2011

The compiler failed with error code -1073741819

Ok, if you copy and paste a file into production and then check your site to find this error:

The compiler failed with error code -1073741819, or an error with a very similar number sequence and more info only pointing to where .net framework is running syswow64 or under the 2.0 folder/temp files.... do not be alarmed. Try these steps.

A) Recycle the app pool for site.
B) Restart site.
C) if you see the compilation error begin to appear on other sites on the same server, restart IIS, while IIS is stopped, go to C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files and delete the files in that folder.
D) Reboot.
I read around and found that the compiler errors could later cause a hard drive failure to rear its ugly head and some folks rebuilt the server because they kept seeing the errors return, however, these steps will help in the meantime before you have to jump through holy hoops.

1 comment:

  1. This actual error is caused by a dll initialization failure inside the compiler process. I have posted a complete description of what happends as well as solutions in this article:

    http://linqto.me/1073741502

    ReplyDelete