“/”使用步伐中的办事器错误。

找不到网络途径。

阐明: 实行以后 Web 哀求时期,呈现未经处置惩罚的非常。请查抄货仓跟踪信息,以相识有关该错误以及代码中招致错误的来由的细致信息。

非常细致信息: System.ComponentModel.Win32Exception: 找不到网络途径。

源错误:

实行以后 Web 哀求时期天生了未经处置惩罚的非常。可以利用上面的非常货仓跟踪信息确定有关非常缘故原由和产生地位的信息。

货仓跟踪:

[Win32Exception (0x80004005): 找不到网络途径。]

[SqlException (0x80131904): 在与 SQL Server 创建毗连时呈现与网络相干的或特定于实例的错误。未找到或无法拜访办事器。请验证明例称号能否准确而且 SQL Server 已设置装备摆设为容许长途毗连。 (provider: Named Pipes Provider, error: 40 - 无法翻开到 SQL Server 的毗连)]
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +414
   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) +196
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +146
   System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +16
   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +94
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +110
   System.Data.SqlClient.SqlConnection.Open() +96
   MceDa.DbHelperSQL.PrepareCommand(SqlCommand cmd, SqlConnection conn, SqlTransaction trans, String cmdText, SqlParameter[] cmdParms) +38
   MceDa.DbHelperSQL.Query(String SQLString, SqlParameter[] cmdParms) +92
   MceDa.DaTrade.GetCallingnewByPy(String py) +119
   weiyu.sell.index.Search(Int32& count) +47
   weiyu.sell.index.Page_Load(Object sender, EventArgs e) +710
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


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