天天看點

在Windows Server 2008+SQLServer2008環境下解決:Windows 不能在 本地計算機 啟動 SQLServer...

新裝了sql server 2008,第二天早上發現sqlserver 服務沒法起來。

當時還沒有反應過來,天真的去服務裡手動啟動SQLServer2008服務:

在Windows Server 2008+SQLServer2008環境下解決:Windows 不能在 本地計算機 啟動 SQLServer...

檢視系統日志如下:

在Windows Server 2008+SQLServer2008環境下解決:Windows 不能在 本地計算機 啟動 SQLServer...

再用sqlserver自帶的日志檔案檢視器檢視sqlserver日志,出錯資訊如下:

  1. 日期2009-3-2615:29:19
  2. 日志已加載的日志檔案(D:/ProgramFiles/MicrosoftSQLServer/MSSQL10.SQLServer2008/MSSQL/Log/ERRORLOG)
  3. 源伺服器
  4. 消息
  5. TheSQLServerfailedtoinitializeVIAsupportlibrary[QLVipl.dll].ThisnormallyindicatestheVIAsupportlibrarydoesnotexistoriscorrupted.PleaserepairordisabletheVIAnetworkprotocol.Error:0x7e.
  6. 日期2009-3-2615:43:12
  7. 日志已加載的日志檔案(D:/ProgramFiles/MicrosoftSQLServer/MSSQL10.SQLServer2008/MSSQL/Log/ERRORLOG.1)
  8. 源伺服器
  9. 消息
  10. TDSSNIClientinitializationfailedwitherror0x7e,statuscode0x60.Reason:無法初始化VIA偵聽器。找不到指定的子產品。

日期 2009-3-26 15:29:19 日志 已加載的日志檔案 (D:/Program Files/Microsoft SQL Server/MSSQL10.SQLServer/MSSQL/Log/ERRORLOG) 源 伺服器 消息 The SQL Server failed to initialize VIA support library [QLVipl.dll]. This normally indicates the VIA support library does not exist or is corrupted. Please repair or disable the VIA network protocol. Error: 0x7e. 日期 2009-3-26 15:43:12 日志 已加載的日志檔案 (D:/Program Files/Microsoft SQL Server/MSSQL10.SQLServer2008/MSSQL/Log/ERRORLOG.1) 源 伺服器 消息 TDSSNIClient initialization failed with error 0x7e, status code 0x60. Reason: 無法初始化 VIA 偵聽器。 找不到指定的子產品。

由此可以看出SQL server的VIA協定有問題了。

進入sql server configure manager,點開 Sql server 網絡配置(非sql native client 配置),點sqlserver2008(我sqlserver的名字)協定,将VIA協定禁用。

在Windows Server 2008+SQLServer2008環境下解決:Windows 不能在 本地計算機 啟動 SQLServer...

再啟動Sql Server服務,成功。