“/”应用程序中的服务器错误。

等待的操作过时。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.ComponentModel.Win32Exception: 等待的操作过时。

源错误:


行 25: 
行 26:     public static string getMaganizePage(int moduleId, int infoId) {
行 27:         return MHMaganize.MHMagazine4(moduleId, infoId);
行 28: 
行 29:     }

源文件: e:\wwwroot\ocn\App_Code\V2\MaganizeV2.cs    行: 27

堆栈跟踪:


[Win32Exception (0x80004005): 等待的操作过时。]

[SqlException (0x80131904): 在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: TCP Provider, error: 0 - 等待的操作过时。)]
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +347
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +78
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +191
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +154
   System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +21
   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +90
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +217
   System.Data.SqlClient.SqlConnection.Open() +96
   DOTA.DBUtility.MSqlHelper.PrepareCommand(SqlConnection conn, SqlCommand cmd, String strSqlOrProcedure, CommandType cmdType, String[] para, Object[] value) in D:\newocn\DBUtility\MSqlHelper.cs:37
   DOTA.DBUtility.MSqlHelper.ExecReader(String connString, String strSqlOrProcedure, CommandType cmdType, String[] para, Object[] value) in D:\newocn\DBUtility\MSqlHelper.cs:121
   DOTA.DBUtility.MSqlHelper.ExecReader(String connString, String strSql) in D:\newocn\DBUtility\MSqlHelper.cs:126
   DOTA.DAL.UserCenter.MInfoDAL.GetMInfos(String condition) in D:\newocn\DAL\UserCenter\MInfoDAL.cs:38
   DOTA.DAL.UserCenter.MInfoDAL.GetMInfo(Int32 nID) in D:\newocn\DAL\UserCenter\MInfoDAL.cs:72
   DOTA.BLL.MHV2.MHMaganize.MHMagazine4(Int32 moduleId, Int32 infoId) in D:\newocn\BLL\MHV2\MHMaganize.cs:283
   MaganizeV2.getMaganizePage(Int32 moduleId, Int32 infoId) in e:\wwwroot\ocn\App_Code\V2\MaganizeV2.cs:27
   Mvc.Controllers.MagazineListController.Detail(Int32 parent, Int32 id) in e:\wwwroot\ocn\App_Code\Controllers\MagazineListController.cs:30
   lambda_method(Closure , ControllerBase , Object[] ) +140
   System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +19
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +212
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +55
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +253
   System.Web.Mvc.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14() +25
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +189
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +324
   System.Web.Mvc.Controller.ExecuteCore() +105
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +90
   System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +12
   System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +34
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +16
   System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +15
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +58
   System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +45
   System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f) +12
   System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) +23
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +60
   System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +11
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9785441
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.6.1649.1