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

伟德betvlctor体育|官网主页

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

异常详细信息: System.ComponentModel.Win32Exception: 伟德betvlctor体育|官网主页

源错误:


行 29:     protected void Page_Load(object sender, EventArgs e)
行 30:     {
行 31:         model = bll_category.GetModel(Request.QueryString["cid"]);
行 32:         if (model == null) model = bll_category.GetModel("202");
行 33: 

源文件: c:\inetpub\wwwroot\WorkHotSaleList.aspx.cs    行: 31

堆栈跟踪:


[Win32Exception (0x80004005): 伟德betvlctor体育|官网主页]

[SqlException (0x80131904): 已成功与服务器建立连接,但是在登录前的握手期间发生错误。 (provider: Shared Memory Provider, error: 0 - 伟德betvlctor体育|官网主页)]
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +345
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +156
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +258
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +312
   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +202
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +413
   System.Data.SqlClient.SqlConnection.Open() +128
   QianZhu.Utility.SqlHelper.PrepareCommand(SqlCommand cmd, SqlConnection conn, SqlTransaction trans, CommandType cmdType, String cmdText, SqlParameter[] cmdParms) +120
   QianZhu.Utility.SqlHelper.ExecuteReader(String connectionString, CommandType cmdType, String cmdText, SqlParameter[] cmdParms) +290
   QianZhu.DAL.CategorySql.GetModel(Int32 pkid) in F:\new\润格网\blyl\DAL\CategorySql.cs:255
   QianZhu.BLL.Category.GetModel(String pkid) +135
   WorkHotSaleList.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\WorkHotSaleList.aspx.cs:31
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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