Wednesday, March 28, 2012

The compiler failed with error code 128

Hi there,
I've seen this error appear a few times in newsgroups but unfortunately I ha
ven't found one that actually provides a solution.
I'm basically deploying a new website into an area at a web hosting company
and when I try to run the site (which runs in our local IIS server), I get t
he following error:
Server Error in '/New' Application.
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 128.
Detailed Compiler Output:
c:\windows\system32\inetsrv> "c:\windows\microsoft.net\framework\v1.1.4322\c
sc.exe" /t:library /utf8output /R:"c:\windows\microsoft.net\framework\v1.1.4
322\mscorlib.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.
5000.0__b03f5f7f11d50a3a\sy
stem.enterpriseservices.dll" /R:"c:\windows\assembly\gac\system.data\1.0.500
0.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.dr
awing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assemb
ly\gac\system.web.mobile\1.
0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\microsoft.n
et\framework\v1.1.4322\temporary asp.net files\new\06f40836\72372c12\assembl
y\dl2\4409d694\a285e654_1960c401\csvutil
.dll" /R:"c:\windows\microsoft.net\f
ramework\v1.1.4322\temporar
y asp.net files\new\06f40836\72372c12\assembly\dl2
\96b27431\a470035a_1960c40
1\ohs.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e0
89\system.xml.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.
0__b03f5f7f11d50a3a\system.
web.services.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c56193
4e089\system.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7
f11d50a3a\system.web.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
\Temporary ASP.NET Files\ne
w\06f40836\72372c12\mzfpukxi.dll" /D:DEBUG /debug+ /optimize- /w:0 "C:\WIND
OWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\new\06f40836\7
2372c12\mzfpukxi.0.cs"
Complete Compilation Source:
Line 1: //---
--
Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.573
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and will
be lost if
Line 7: // the code is regenerated.
Line 8: // </autogenerated>
Line 9: //---
--
Line 10:
Line 11: namespace ASP {
Line 12: using System;
Line 13: using System.Collections;
Line 14: using System.Collections.Specialized;
Line 15: using System.Configuration;
Line 16: using System.Text;
Line 17: using System.Text.RegularExpressions;
Line 18: using System.Web;
Line 19: using System.Web.Caching;
Line 20: using System.Web.SessionState;
Line 21: using System.Web.Security;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25:
Line 26:
Line 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute
()]
Line 28: public class Global_asax : Ohs.Global {
Line 29:
Line 30: private static bool __initialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_asax.__initialized == false)) {
Line 34: ASP.Global_asax.__initialized = true;
Line 35: }
Line 36: }
Line 37: }
Line 38: }
Line 39:
Any help with this would be greatly appreciated.
Many thanks and best regards,
HamiltonHow come Microsoft cannot give a straight answer to this? What is the use of
"MSDN Managed" Discussion Groups if you cannot recieve an answer
to a question concerning a serious problem like this. I have been searching
the web for days trying to find a solution to this problem but nowhere have
I been able to find anything useful, least of all from Microsoft.
Two web sites on our production server suddenly stopped working, only
returning "The compiler failed with error code 128" no matter what aspx page
you request. We have changed permissions, recompiled the projects, installed
them and set them up on different disks with other addresses, reinstalled
.NET Framework;
in short everything but reinstalling Windows 2000 Server. Now we have found
out that the exact same thing happens to new ASP.NET web applications
installed on the
server! It will propably happen to all the existing ones as soon as we, God
forbid, have to change them or fix a bug.
Actually, there is one more thing we have not tried: installing the ASP.NET
1.1 June 2003 Hotfix Rollup Package described in
http://support.microsoft.com/default.aspx?kbid=821156.
We would gladly try this as well but there's one problem: the package is
nowhere to be found...
Could someone please point me to the hot fix or, even better, tell me how to
fix the problem. Thanks in advance!
"Hamilton" wrote:

> Hi there,
> I've seen this error appear a few times in newsgroups but unfortunately I
haven't found one that actually provides a solution.
> I'm basically deploying a new website into an area at a web hosting compan
y and when I try to run the site (which runs in our local IIS server), I get
the following error:
> Server Error in '/New' Application.
> Compilation Error
> Description: An error occurred during the compilation of a resource requir
ed to service this request. Please review the following specific error detai
ls and modify your source code appropriately.
> Compiler Error Message: The compiler failed with error code 128.
> Detailed Compiler Output:
> c:\windows\system32\inetsrv> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe
" /t:library /utf8output /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.d
ll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a
3a\
system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5
000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.
drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\asse
mbly\gac\system.web.mobile\
1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\microsoft
.net\framework\v1.1.4322\temporary asp.net files\new\06f40836\72372c12\assem
bly\dl2\4409d694\a285e654_1960c401\csvut
il.dll" /R:"c:\windows\microsoft.net
\framework\v1.1.4322\tempor
ary asp.net files\new\06f40836\72372c12\assembly\dl2
\96b27431\a470035a_1960c
401\ohs.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934
e089\system.xml.dll"
/R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a
\system.web.services.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77
a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0_
_b03f5f7f11d50a3a\system.we
b.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\new\06f40836\72372c12\mzfpukxi.dll" /D:DEBUG /debug+ /optimize- /w:0
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\new\06
f40836\72372c12\mzfpukxi.0.
cs"
> Complete Compilation Source:
> Line 1: //---
--
> Line 2: // <autogenerated>
> Line 3: // This code was generated by a tool.
> Line 4: // Runtime Version: 1.1.4322.573
> Line 5: //
> Line 6: // Changes to this file may cause incorrect behavior and wi
ll be lost if
> Line 7: // the code is regenerated.
> Line 8: // </autogenerated>
> Line 9: //---
--
> Line 10:
> Line 11: namespace ASP {
> Line 12: using System;
> Line 13: using System.Collections;
> Line 14: using System.Collections.Specialized;
> Line 15: using System.Configuration;
> Line 16: using System.Text;
> Line 17: using System.Text.RegularExpressions;
> Line 18: using System.Web;
> Line 19: using System.Web.Caching;
> Line 20: using System.Web.SessionState;
> Line 21: using System.Web.Security;
> Line 22: using System.Web.UI;
> Line 23: using System.Web.UI.WebControls;
> Line 24: using System.Web.UI.HtmlControls;
> Line 25:
> Line 26:
> Line 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribu
te()]
> Line 28: public class Global_asax : Ohs.Global {
> Line 29:
> Line 30: private static bool __initialized = false;
> Line 31:
> Line 32: public Global_asax() {
> Line 33: if ((ASP.Global_asax.__initialized == false)) {
> Line 34: ASP.Global_asax.__initialized = true;
> Line 35: }
> Line 36: }
> Line 37: }
> Line 38: }
> Line 39:
> Any help with this would be greatly appreciated.
> Many thanks and best regards,
> Hamilton
Any luck solving this? I know doing aspnet_regiis -i works to a point
but then it gets out of whack again.
"Joakim Sundn" <Joakim Sundn@dotnet.itags.org.discussions.microsoft.com> wrote in message news:<90016804-6
DB7-477B-8C95-4F90DA392AEC@dotnet.itags.org.microsoft.com>...
> How come Microsoft cannot give a straight answer to this? What is the use
of
> "MSDN Managed" Discussion Groups if you cannot recieve an answer
> to a question concerning a serious problem like this. I have been searchin
g
> the web for days trying to find a solution to this problem but nowhere hav
e
> I been able to find anything useful, least of all from Microsoft.
> Two web sites on our production server suddenly stopped working, only
> returning "The compiler failed with error code 128" no matter what aspx pa
ge
> you request. We have changed permissions, recompiled the projects, install
ed
> them and set them up on different disks with other addresses, reinstalled
> .NET Framework;
> in short everything but reinstalling Windows 2000 Server. Now we have foun
d
> out that the exact same thing happens to new ASP.NET web applications
> installed on the
> server! It will propably happen to all the existing ones as soon as we, Go
d
> forbid, have to change them or fix a bug.
> Actually, there is one more thing we have not tried: installing the ASP.NE
T
> 1.1 June 2003 Hotfix Rollup Package described in
> http://support.microsoft.com/default.aspx?kbid=821156.
> We would gladly try this as well but there's one problem: the package is
> nowhere to be found...
> Could someone please point me to the hot fix or, even better, tell me how
to
> fix the problem. Thanks in advance!
>
> "Hamilton" wrote:
>
"c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library
/utf8output /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll"
/R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11
d50a3a\system.enterpriseservices.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.
data.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\syst
em.drawing.dll"
/R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\s
ystem.web.mobile.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\new\06f40836\72372c12\assembly\dl2
\4409d694\a285e654_1960c401\csvutil.
dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\new\06f40836\72372c12\assembly\dl2
\96b27431\a470035a_1960c401\ohs.dll"
/R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll"[color=d
arkred]
> /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\syst
em.web.services.dll"
/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"
/R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.w
eb.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\new\06f40836\72372c12\mzfpukxi.dll" /D:DEBUG /debug+ /optimize-
/w:0 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\new\06f40836\72372c12\mzfpukxi.0.cs"

0 comments:

Post a Comment