Asp Net Compiler Error
Contents |
here for a quick overview of the asp net decompiler site Help Center Detailed answers to any questions you might have
Asp Net Debugger
Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business
Asp Net Editor
Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just asp net java like you, helping each other. Join them; it only takes a minute: Sign up ASP.NET strange compilation error! up vote 12 down vote favorite 2 I don't know what's wrong with my machine but it's a while that I'm getting the following strange error from ASP.NET (for all my applications). Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: The compiler failed with error code -1073741502. Show Detailed Compiler Output: C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\75855fbd\1e953b27\assembly\dl3\2689d6b5\f0791420_961fcc01\wnvhtmlconvert.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Web.Entity.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\75855fbd\1e953b27\assembly\dl3\d08c81cd\4d77c01f_961fcc01\AjaxControlToolkit.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.Serv
here for
Asp Net C++
a quick overview of the site Help asp net ide Center Detailed answers to any questions you might have Meta Discuss the aspnet compiler workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring http://stackoverflow.com/questions/6817870/asp-net-strange-compilation-error developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; http://stackoverflow.com/questions/33989211/another-strange-asp-net-error-the-compiler-failed-with-error-code-255 it only takes a minute: Sign up Another Strange ASP.net Error: The compiler failed with error code 255 up vote 0 down vote favorite I have tried all solutions from other posts This simple web application works on my laptop: windows 10/ VS-2015 Deploying to my WIN-2012 server gives this error: Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: The compiler failed with error code 255. None of the solutions from other SO posts have helped. Show Detailed Compiler Output: c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\oc\88c6cdde\6b37fcc6\assembly\dl3\e9f43226\00c8c33b_c72ad101\OC.Web2.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4
box and a dev site that's running ASP.NET. We're getting:Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the http://www.hanselman.com/blog/ASPNETCompilerError128AndMicrosoftSupport.aspx following specific error details and modify your source code appropriately. Compiler Error Message: The compiler failed with error code 128.This, along with a lovely compilation dump that shows the source of the Global.asax (the text file, not the Global.asax.cs code-behind.)I've been working with Microsoft Premier Support but I'm getting pretty frustrated as the general message is "ya, this is obscure, it rarely happens and noone knows why."Here's what I've collected about asp net the problem so that it may help folks in the future.Error Code 128 is a core Windows Error ERROR_WAIT_NO_CHILDREN that can happen when a CreateProcess() call fails - like starting the compiler to dynamically compile a page. This error is mentioned in KB articles 155011 and 156464, as well as 184802which implies it's a problem that happens running out of desktop heap.Folks that have "fixed" this for themselves have done one asp net compiler or more of the following:It's been said, but not conclusively that it's been fixed by applying the821156 ASP.NET June 2003 Rollup Hotfix. It has also been said that running your Windows 2003 IIS 6.0 process in IIS 5.0 Isolation Mode fixes it.It has been said that removing the Web App's folder(s) from the scrutiny of your Virus Scanner fixes it.I've found cases of this happening on Windows 2000 and IIS5 with .NET Framework 1.0, as well as many on newer configurations.I'd beinterested to hear what someone on the ASP.NET team has to say about this problem, as I've found documentation of it happening on and off over the last three years. Certainly there must be an ASP.NET team member who can say, "Oh! Ya, that. You need to flip the bizzle and restart the universal kishkey..." or something.Anyone else ever see this issue and solve it? Personally, in ~3.5 years of messing with ASP.NET this is a first for me.UPDATE - SOLVED: It was a funky ISAPI Filter that was sitting ahead of the ASP.NET ISAPI Extension. There is a slight architecture difference for ISAPI filters with IIS 6.0.UPDATE #2 - MORE INFO: From the Support KB 327611"IIS 6.0: ISAPI Filters for Earlier Versions of IIS May Not Load" - I wo