征解:Compiler Error Message: The compiler failed with error code 128.

skpay 2004-08-15 08:53:34
不知道什么时候开始报这个错误,现在已经重装了.NetFrame Work 1.0 +sp2还是报错,问题出在哪呢?


Server Error in '/' 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.



Show Detailed Compiler Output:


C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.0.3705\csc.exe" /t:library /utf8output /R:"c:\winnt\assembly\gac\system\1.0.3300.0__b77a5c561934e089\system.dll" /R:"c:\winnt\assembly\gac\system.web\1.0.3300.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll" /R:"c:\winnt\microsoft.net\framework\v1.0.3705\temporary asp.net files\root\872f2ddf\d6fd8929\assembly\dl2\444e3219\80aba5cf_0683c401\webapplication2.dll" /R:"c:\winnt\assembly\gac\system.xml\1.0.3300.0__b77a5c561934e089\system.xml.dll" /R:"c:\winnt\assembly\gac\system.enterpriseservices\1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\winnt\assembly\gac\system.drawing\1.0.3300.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\winnt\assembly\gac\system.web.services\1.0.3300.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\winnt\assembly\gac\system.data\1.0.3300.0__b77a5c561934e089\system.data.dll" /out:"C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\root\872f2ddf\d6fd8929\brwra8a8.dll" /D:DEBUG /debug+ /optimize- /warnaserror /w:1 "C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\root\872f2ddf\d6fd8929\brwra8a8.0.cs"







Show Complete Compilation Source:


Line 1: //------------------------------------------------------------------------------
Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.0.3705.288
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 : WebApplication2.Global {
Line 29:
Line 30: private static bool __intialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_asax.__intialized == false)) {
Line 34: ASP.Global_asax.__intialized = true;
Line 35: }
Line 36: }
Line 37: }
Line 38: }
Line 39:





--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET Version:1.0.3705.288
...全文
679 17 打赏 收藏 转发到动态 举报
写回复
用AI写文章
17 条回复
切换为时间正序
请发表友善的回复…
发表回复
Fooo 2005-08-19
  • 打赏
  • 举报
回复
00
skpay 2004-08-16
  • 打赏
  • 举报
回复
放到其它机器上正常
loulanlouzhu 2004-08-16
  • 打赏
  • 举报
回复
你的程序放到别的机子上好用吗!.?
skpay 2004-08-16
  • 打赏
  • 举报
回复
谢谢 活靶子~

通过如下操作解决了问题,但是什么原因我不懂(原先是好好的,突然不行的)!

8. open the file "machine.config" which is in "C:\WINNT\Microsoft.NET\Framework\v1.1.xxxx\CONFIG", then find and replace
userName="machine"
with
userName="SYSTEM"


活靶子哥哥 2004-08-16
  • 打赏
  • 举报
回复
2004-7-1补记

我们一个客户机器也出了这个问题
咨询了微软动力营专家,专家提出2点:
//=====以下内容来字微软动力营=======
您好!
谢谢您使用微软动力营!
对于你的这个问题,通常都是由于以下两个原因引起的,你可以去查看一下:
1. 你的客户的机器可能感染了这个病毒http://de.mcafee.com/root/genericVIL.asp?genericURL=/VirusInfo/VIL/dispVirus.asp&virus_k=100252
2. 你的客户的服务器运行着一些防病毒软件(象norton),这有可能导致了这个错误。

对于第一个可能,我提供的那篇网页里面提供了清除方法。对于第二个可能你可以将防病毒软件关闭掉试试。

希望对你有帮助

谭映辉 [微软]
微软全球技术中心 微软动力营合作伙伴技术支持

使您100%满意是"微软动力营"合作伙伴支持服务的唯一目标。我们真诚希望您能够对"微软动力营"服务提出宝贵建议和意见,我们将针对您的反馈不断改进服务质量。如有任何问题,请发信至:
cmsdn@microsoft.com
本贴子以“现状”提供且没有任何担保,同时也没有授予任何权利。
//=================
codeangel 2004-08-16
  • 打赏
  • 举报
回复
可以将一些不用的进程全部k掉,然后试试。
也可能是你的aspx里文件比如控件定义与CS里的不一致造成的。
活靶子哥哥 2004-08-16
  • 打赏
  • 举报
回复
看看这里,或许能帮你

http://www.cnblogs.com/huobazi/archive/2004/04/26/7697.aspx
skpay 2004-08-16
  • 打赏
  • 举报
回复
to楼上的:卸载干净了,-i也试过,还是无济于事:(
goody9807 2004-08-16
  • 打赏
  • 举报
回复
重装了.NetFrame Work 之前 你卸载干净了吗

在重新注册一下 编译注册.netFramework
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet_regiis.exe -i
cuike519 2004-08-16
  • 打赏
  • 举报
回复
如果放到其他的机器上正常那么就应该是机器的问题,估计是操作系统的问题,你安装的什么服务器?

可能是有蠕虫病毒,请安装最新的微软补丁,使你的系统保持最新。病毒的可能性比较大导致aspnet_wp.exe的问题。
skpay 2004-08-15
  • 打赏
  • 举报
回复
不是安装Norton之后产生的,Norton从一开始就安装了,因为怕srv上的共享服务有人上传病毒性东西,所以装的,同时也怕某些网络病毒传染,以前都没事,最近不知道怎么回事,太妖怪了。
saucer 2004-08-15
  • 打赏
  • 举报
回复
你这问题是在安装NORTON之后出现的么?有点奇怪,为什么在服务器上安装抗毒程序,你用它来上网么?
skpay 2004-08-15
  • 打赏
  • 举报
回复
只装了Norton Enterprise Edition client 8.0,我试着停掉它,但是错误依旧,重装。。。。要死了;(


救命啊,M$一定能解决的:)
saucer 2004-08-15
  • 打赏
  • 举报
回复
我没有遇到过这问题,但新闻组上也有人得到同样的错误,机器有病毒是可能原因之一,还有,如果你有抗毒程序的话,可以试着关掉看看,有人通过重装操作系统解决了问题
skpay 2004-08-15
  • 打赏
  • 举报
回复
windows 20000 server


reinstall.... my gud!

重装了iis+.Net Framework(+SP2)还是老毛病,asp站点全部正常,.net站点全部报上面的错误
saucer 2004-08-15
  • 打赏
  • 举报
回复
what os? check if your server has virus

or try to reinstall the os, although it doesn't sound nice
loulanlouzhu 2004-08-15
  • 打赏
  • 举报
回复
缺少资源文件?

62,074

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧