求大神指教,在线等 ASP.NET的问题,服务器重启一次就这样了,
ServerErrorin'/'Application.找不到网络名。Description:Anunhandledexceptionoccurredduringthee...
Server Error in '/' Application.
找不到网络名。
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.IOException: 找不到网络名。
Source Error:
Line 7: //在应用程序启动时运行的代码
Line 8: Mainone.Common.Utility.GlobalEvent.OnApplicationStart(this);
Line 9: Mainone.General.BLL.CacheKeyPushGlobal.OnApplicationStart();
Line 10: Mainone.Common.Utility.GlobalRPC.OnApplicationStart();
Line 11: }
Source File: d:\web\tc.mainone.cn\biz.tc.mainone.cn\Global.asax Line: 9
Stack Trace:
[IOException: 找不到网络名。
]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +9726786
System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj) +9497114
System.IO.Directory.CreateDirectory(String path) +146
Mainone.Common.Utility.LogUtilityBase.Write(String strMsg, String strFileName) +59
Mainone.Common.Utility.LogUtilityBase.WriteLog(String strMsg) +462
Mainone.Common.Utility.LogUtility.WriteToHtmlLog(String strMsg) +22
Mainone.General.BLL.CacheKeyPushGlobal.OnApplicationStart() +102
ASP.global_asax.Application_Start(Object sender, EventArgs e) in d:\web\tc.mainone.cn\biz.tc.mainone.cn\Global.asax:9
[HttpException (0x80004005): 找不到网络名。
]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +9024857
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +131
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +194
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +339
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +253
[HttpException (0x80004005): 找不到网络名。
]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8946548
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +256 展开
找不到网络名。
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.IOException: 找不到网络名。
Source Error:
Line 7: //在应用程序启动时运行的代码
Line 8: Mainone.Common.Utility.GlobalEvent.OnApplicationStart(this);
Line 9: Mainone.General.BLL.CacheKeyPushGlobal.OnApplicationStart();
Line 10: Mainone.Common.Utility.GlobalRPC.OnApplicationStart();
Line 11: }
Source File: d:\web\tc.mainone.cn\biz.tc.mainone.cn\Global.asax Line: 9
Stack Trace:
[IOException: 找不到网络名。
]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +9726786
System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj) +9497114
System.IO.Directory.CreateDirectory(String path) +146
Mainone.Common.Utility.LogUtilityBase.Write(String strMsg, String strFileName) +59
Mainone.Common.Utility.LogUtilityBase.WriteLog(String strMsg) +462
Mainone.Common.Utility.LogUtility.WriteToHtmlLog(String strMsg) +22
Mainone.General.BLL.CacheKeyPushGlobal.OnApplicationStart() +102
ASP.global_asax.Application_Start(Object sender, EventArgs e) in d:\web\tc.mainone.cn\biz.tc.mainone.cn\Global.asax:9
[HttpException (0x80004005): 找不到网络名。
]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +9024857
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +131
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +194
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +339
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +253
[HttpException (0x80004005): 找不到网络名。
]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8946548
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +256 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询