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

在向服务器发送请求时发生传输级错误。 (provider: Shared Memory Provider, error: 0 - 管道的另一端上无任何进程。)

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

异常详细信息: System.Data.SqlClient.SqlException: 在向服务器发送请求时发生传输级错误。 (provider: Shared Memory Provider, error: 0 - 管道的另一端上无任何进程。)

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[SqlException (0x80131904): 在向服务器发送请求时发生传输级错误。 (provider: Shared Memory Provider, error: 0 - 管道的另一端上无任何进程。)]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +404
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +412
   System.Data.SqlClient.TdsParserStateObject.WriteSni() +409
   System.Data.SqlClient.TdsParserStateObject.ExecuteFlush() +111
   System.Data.SqlClient.TdsParser.TdsExecuteSQLBatch(String text, Int32 timeout, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj) +735
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +2008
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +480
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +28
   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +229
   System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +22
   NPao.Data.DbHelper.ExecuteReader(DbCommand cmd) +480
   NPao.Data.DbProvider.ExecuteReader(DbCommand cmd, DbTran tran) +489
   NPao.Data.QuerySection`1.ExcuteDataReader(QuerySection`1 query, Boolean all) +322
   NPao.Data.QuerySection`1.GetList(QuerySection`1 query, Boolean all) +1448
   NPao.Data.QuerySection`1.ToArray() +140
   ECShop.DAL.SubjectAttributeDAL.GetSubjectByCountry(Int32 countryID, ArrayList& al) +464
   ECShop.WebSite.SNS.Controllers.SubjectController.Search(String key, Nullable`1 page, Nullable`1 countryid, Nullable`1 c, Nullable`1 categoryid, Nullable`1 regionid, Nullable`1 grapevarietiesid, String ws, String wa, String de, String order) +768
   lambda_method(Closure , ControllerBase , Object[] ) +639
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +260
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +39
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +125
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +640
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +312
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +709
   System.Web.Mvc.Controller.ExecuteCore() +162
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +315
   System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +62
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +20
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +462
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +371


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