windows2003编译网站时出现128错误!急在线等待。。。

sasasa888 2009-07-03 10:16:50
“/Cfjujiao”应用程序中的服务器错误。
--------------------------------------------------------------------------------

编译错误
说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。

编译器错误信息: 编译器失败,错误代码为 128。



显示详细的编译器输出:


d:\windows\system32\inetsrv> "d:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"d:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"d:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"d:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll" /R:"d:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"d:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"d:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"d:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"d:\windows\assembly\gac\system.web.ui.mobilecontrols.adapters\1.1.0.0__b03f5f7f11d50a3a\system.web.ui.mobilecontrols.adapters.dll" /R:"d:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"d:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\cfjujiao\347b6360\c698752a\assembly\dl2\09e85dd3\006e5c30_9fccc901\dbop.dll" /R:"d:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"d:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\cfjujiao\347b6360\c698752a\assembly\dl2\e67ac6b5\00fec24b_f6d1c901\xhtmladapters.dll" /R:"d:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\cfjujiao\347b6360\c698752a\assembly\dl2\94656778\d4bd0d66_f7fac901\cfjujiao.dll" /out:"d:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET Files\cfjujiao\347b6360\c698752a\6vsdgwid.dll" /D:DEBUG /debug+ /optimize- /warnaserror /w:1 "d:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET Files\cfjujiao\347b6360\c698752a\6vsdgwid.0.cs"







显示完整的编译源:


行 1: //------------------------------------------------------------------------------
行 2: // <autogenerated>
行 3: // This code was generated by a tool.
行 4: // Runtime Version: 1.1.4322.2407
行 5: //
行 6: // Changes to this file may cause incorrect behavior and will be lost if
行 7: // the code is regenerated.
行 8: // </autogenerated>
行 9: //------------------------------------------------------------------------------
行 10:
行 11: namespace ASP {
行 12: using System;
行 13: using System.Collections;
行 14: using System.Collections.Specialized;
行 15: using System.Configuration;
行 16: using System.Text;
行 17: using System.Text.RegularExpressions;
行 18: using System.Web;
行 19: using System.Web.Caching;
行 20: using System.Web.SessionState;
行 21: using System.Web.Security;
行 22: using System.Web.UI;
行 23: using System.Web.UI.WebControls;
行 24: using System.Web.UI.HtmlControls;
行 25:
行 26:
行 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
行 28: public class Global_asax : CFJUJIAO.Global {
行 29:
行 30: private static bool __initialized = false;
行 31:
行 32: public Global_asax() {
行 33: if ((ASP.Global_asax.__initialized == false)) {
行 34: ASP.Global_asax.__initialized = true;
行 35: }
行 36: }
行 37: }
行 38: }
行 39:





--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.2407; ASP.NET 版本:1.1.4322.2407
...全文
59 6 打赏 收藏 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
sasasa888 2009-07-06
  • 打赏
  • 举报
回复
我iis帐号,管理帐号都是对的,我改过,都改回来了。
shagoo 2009-07-03
  • 打赏
  • 举报
回复
你看看启动服务器用的用户的权限~ 你报错说了:NT AUTHORITY\NETWORK SERVICE
sasasa888 2009-07-03
  • 打赏
  • 举报
回复
数据库连的上
shagoo 2009-07-03
  • 打赏
  • 举报
回复
看报错应该是数据库的问题 你到server上看看能不能连上数据库~
  • 打赏
  • 举报
回复
jf
sasasa888 2009-07-03
  • 打赏
  • 举报
回复
事件查看器出现警告:
Event code: 3005
Event message: 发生了未处理的异常。
Event time: 2009-7-3 10:25:22
Event time (UTC): 2009-7-3 2:25:22
Event ID: 7d1276ec757f47e482eb5cd2c2b3b0dd
Event sequence: 8
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/Root/WebLoveNovel-2-128910615159062500
Trust level: Full
Application Virtual Path: /WebLoveNovel
Application Path: E:\simon\GWap\WebLoveNovel\
Machine name: YDXZ-0F50077E36

Process information:
Process ID: 2796
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: InvalidOperationException
Exception message: ExecuteReader 要求已打开且可用的连接。连接的当前状态为正在连接。

Request information:
Request URL: http://61.242.169.10/WebLoveNovel/lovebbstype.aspx?typeid=1
Request path: /WebLoveNovel/lovebbstype.aspx
User host address: 119.96.134.100
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 5
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: 在 System.Data.SqlClient.SqlConnection.GetOpenConnection(String method)
在 System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command)
在 System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
在 DataMethod.ExecuteReturnProc(SqlParameter[] parameters, String procname, String conn)
在 WebLoveNovel.lovebbstype.Lovelist(Int32 pagesize, Int32 page, Int32 type)
在 WebLoveNovel.lovebbstype.Page_Load(Object sender, EventArgs e)
在 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
在 System.Web.UI.Control.OnLoad(EventArgs e)
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details:

有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。

5,657

社区成员

发帖
与我相关
我的任务
社区描述
Web开发应用服务器相关讨论专区
社区管理员
  • 应用服务器社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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