手機版 | wap版 | 網站主頁 | HOME | 3G網頁
<button id="emjxo"><acronym id="emjxo"></acronym></button>

<dd id="emjxo"></dd>
<button id="emjxo"></button>
      1. <progress id="emjxo"></progress>
        <tbody id="emjxo"><track id="emjxo"></track></tbody>
        <em id="emjxo"><tr id="emjxo"></tr></em>

        「/」應用程序中的伺服器錯誤。

        在與 SQL Server 建立連接時出現與網路相關的或特定於實例的錯誤。未找到或無法訪問伺服器。請驗證實例名稱是否正確並且 SQL Server 已配置為允許遠程連接。 (provider: 命名管道提供程序, error: 40 - 無法打開到 SQL Server 的連接)

        說明: 執行當前 Web 請求期間,出現未處理的異常。請檢查堆棧跟蹤信息,以了解有關該錯誤以及代碼中導致錯誤的出處的詳細信息。

        異常詳細信息: System.Data.SqlClient.SqlException: 在與 SQL Server 建立連接時出現與網路相關的或特定於實例的錯誤。未找到或無法訪問伺服器。請驗證實例名稱是否正確並且 SQL Server 已配置為允許遠程連接。 (provider: 命名管道提供程序, error: 40 - 無法打開到 SQL Server 的連接)

        源錯誤:

        
        行 32:         string dbName = "";
        行 33: 	
        行 34: 	object obj = new CS_BMDMBBll().GetCS_BMDMBFirstColumn(sql);
        行 35: 
        行 36: 	if(obj!=null)

        源文件: d:\x項目文件\8號酒店\pc\Web\App_Code\ConnectDBbyName.cs    行: 34

        堆棧跟蹤:

        
        [SqlException (0x80131904): 在與 SQL Server 建立連接時出現與網路相關的或特定於實例的錯誤。未找到或無法訪問伺服器。請驗證實例名稱是否正確並且 SQL Server 已配置為允許遠程連接。 (provider: 命名管道提供程序, error: 40 - 無法打開到 SQL Server 的連接)]
           System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4876407
           System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
           System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) +354
           System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +90
           System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +367
           System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +225
           System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +189
           System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +185
           System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +31
           System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +431
           System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66
           System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +499
           System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
           System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
           System.Data.SqlClient.SqlConnection.Open() +122
           DBUtility.SQLFront.ExecuteScalar(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) in F:\T湯紅汀\項目\B八號手機網站\2014328八號PC網站\BaHaoHotelSite\DBUtility\SQLFront.cs:360
           BaHaoHotelSite.SQLServerDAL.CS_BMDMB.GetCS_BMDMBFirstColumn(String strSQL) in F:\T湯紅汀\項目\B八號手機網站\2014328八號PC網站\BaHaoHotelSite\SQLServerDAL\CS_BMDMB.cs:23
           BaHaoHotelSite.BLL.CS_BMDMBBll.GetCS_BMDMBFirstColumn(String strSQL) in F:\T湯紅汀\項目\B八號手機網站\2014328八號PC網站\BaHaoHotelSite\BLL\CS_BMDMBBll.cs:22
           ConnectDBbyName.GetConnection(String hotelName) in d:\x項目文件\8號酒店\pc\Web\App_Code\ConnectDBbyName.cs:34
           Index.getMinPrice() in d:\x項目文件\8號酒店\pc\Web\Index.aspx.cs:106
           Index.Page_Load(Object sender, EventArgs e) in d:\x項目文件\8號酒店\pc\Web\Index.aspx.cs:27
           System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
           System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
           System.Web.UI.Control.OnLoad(EventArgs e) +99
           PageBaseFront.OnLoad(EventArgs e) in d:\x項目文件\8號酒店\pc\Web\App_Code\PageBaseFront.cs:43
           System.Web.UI.Control.LoadRecursive() +50
           System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
        


        版本信息: Microsoft .NET Framework 版本:2.0.50727.5485; ASP.NET 版本:2.0.50727.5483
        <button id="emjxo"><acronym id="emjxo"></acronym></button>

        <dd id="emjxo"></dd>
        <button id="emjxo"></button>
            1. <progress id="emjxo"></progress>
              <tbody id="emjxo"><track id="emjxo"></track></tbody>
              <em id="emjxo"><tr id="emjxo"></tr></em>