Compiler failed with error code 1http://forums.asp.net/t/1085012.aspx/1?Compiler+failed+with+error+code+1Fri, 09 Mar 2007 14:32:59 -050010850121613480http://forums.asp.net/p/1085012/1613480.aspx/1?Compiler+failed+with+error+code+1Compiler failed with error code 1 <p>When we change something in our web application (one of the dll's or some code in the app_code folder or an .aspx or .ascx file), a recompile of the application is triggered.&nbsp; Then we often&nbsp;receive the error message &quot;Compiler failed with error code 1&quot; when trying to access our web application (ASP.NET, VB.NET).&nbsp; The error happens ad random and not all the time.&nbsp; We tried to disable the batch compiling (batch=&quot;false&quot; in web.config) and this seems to help on some computers (we get this error less frequently)&nbsp;&nbsp;but not on all of them.</p> <p>It seems that it has something to do with the Temporary Files folder of the .NET Framework.</p> <p>Is there a solution for this problem ?&nbsp; I suppose it is a problem with the vbc.exe compiler.&nbsp; I'm using build 8.0.50727.42.&nbsp; I know there is a hot fix available 8.0.50727.93 as described in KB917452, but this is not exactly our problem.&nbsp; I can't test it because I can figure out how to get this hot fix.&nbsp; Any help would be welcome.</p> <p>Below I copy the compiler output.&nbsp; The output when having the error is always different.&nbsp; The error doesn't occur always at the same position in the compiler process.</p> <p>c:\windows\system32\inetsrv&gt; &quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc.exe&quot; /t:library /utf8output /R:&quot;C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll&quot; /R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System.Drawing.Design\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.Design.dll&quot;&nbsp; /R:&quot;C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll&quot; /R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll&quot; /R:&quot;C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll&quot; /R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll&quot; /R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll&quot; /R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System.Web.RegularExpressions\2.0.0.0__b03f5f7f11d50a3a\System.Web.RegularExpressions.dll&quot; /R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll&quot; /R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll&quot; /R:&quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bac1fd92\cf79bd4f\assembly\dl3\a72691ef\00e22fbf_c022c701\ComponentArt.Web.UI.DLL&quot; /R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll&quot; /R:&quot;C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualC\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualC.dll&quot; /R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll&quot; /R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll&quot; /R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll&quot; /out:&quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bac1fd92\cf79bd4f\App_Code.coyz8xwg.dll&quot; /debug- /define:_MYTYPE=\&quot;Web\&quot; /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls&nbsp; &quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bac1fd92\cf79bd4f\App_Code.coyz8xwg.24.vb&quot; &quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bac1fd92\cf79bd4f\App_Code.coyz8xwg.25.vb&quot; &quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bac1fd92\cf79bd4f\App_Code.coyz8xwg.26.vb&quot; &quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bac1fd92\cf79bd4f\App_Code.coyz8xwg.27.vb&quot; &quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bac1fd92\cf79bd4f\App_Code.coyz8xwg.20.vb&quot; &quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bac1fd92\cf79bd4f\App_Code.coyz8xwg.21.vb&quot; &quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bac1fd92\cf79bd4f\App_Code.coyz8xwg.22.vb&quot; &quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bac1fd92\cf79bd4f\App_Code.coyz8xwg.23.vb&quot; &quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bac1fd92\cf79bd4f\App_Code.coyz8xwg.3.vb&quot; &quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bac1fd92\cf79bd4f\App_Code.coyz8xwg.8.vb&quot; &quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bac1fd92\cf79bd4f\App_Code.coyz8xwg.28.vb&quot;</p> 2007-03-09T14:32:59-05:00