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

在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: 命名管道提供程序, error: 40 - 无法打开到 SQL Server 的连接)

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

异常详细信息: System.Data.SqlClient.SqlException: 在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: 命名管道提供程序, error: 40 - 无法打开到 SQL Server 的连接)

源错误:

行 180:            if (iTypeID == 0 | iTypeID == 1)//SuitableGroup UnsuitableGroup
行 181:            {
行 182:                sb.AppendFormat(" AND {0} like '%{1}%'", sMultiple[iTypeID], CacheProdData.dicIDStaticCategory[sID].CategoryCode);
行 183:            }
行 184:            else if (iTypeID == 2|iTypeID == 3)//SuitableDisease UnsuitableDisease

源文件: g:\5_program\spk.rebeccalion.com\Resultsearch.aspx.cs    行: 182

堆栈跟踪:

[SqlException (0x80131904): 在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: 命名管道提供程序, error: 40 - 无法打开到 SQL Server 的连接)]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +428
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
   System.Data.SqlClient.SqlConnection.Open() +122
   Microsoft.Practices.EnterpriseLibrary.Data.Database.GetNewOpenConnection() +137
   Microsoft.Practices.EnterpriseLibrary.Data.Database.GetOpenConnection(Boolean disposeInnerConnection) +74
   Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteReader(DbCommand command) +41
   com.jk39.DAL.Base.BaseDAL`1.GetDataReaderByPage(String strWhere, Int32 PageSize, Int32 PageIndex, Boolean OrderType, String colList, String fldOrder, String tblName) +179
   com.jk39.DAL.Base.BaseDAL`1.GetList(String strWhere, Int32 PageSize, Int32 PageIndex, Boolean bOrderType, String colList, String fldOrder, String sTableName) +151
   com.jk39.DAL.Base.BaseDAL`1.GetList(String strWhere, Int32 PageSize, Int32 PageIndex, Boolean bOrderType, String colList, String fldOrder) +117
   com.jk39.BLL.DataCenter.CacheProdData.get_dicIDStaticCategory() +157
   Resultsearch.get_strWhere() in g:\5_program\spk.39.net\Resultsearch.aspx.cs:182
   Resultsearch.get_TKD() in g:\5_program\spk.39.net\Resultsearch.aspx.cs:74
   ASP.resultsearch_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in g:\5_program\spk.39.net\Resultsearch.aspx:8
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266


版本信息: Microsoft .NET Framework 版本:2.0.50727.3625; ASP.NET 版本:2.0.50727.3634

优乐娱乐国际u乐彩票u乐真人视讯