狀態:前些時間安裝好SQL SERVER 2008。檢查正常。之后安裝VS2010和VS2012。昨天拷貝server上的數據到本地測試,結果發現能夠連接遠程。無法打開本地實樣例。
第一步:查看配置管理工具:SQL SERVER 服務報錯:遠程調用失敗。
百度搜索:VS2012安裝后會安裝SQL SERVER 2012 EXPRESS LOACLDB。和SQL SERVER 2008 沖突。故刪除SQL SERVER 2012的組件。
檢查服務發現起來了,高興還是太早了SQL SERVER 等幾個服務一直無法啟動。查看windows日志
查看SQL SERVER 自帶的日志文件:
2014-06-06 08:01:27.96 server A self-generated certificate was successfully loaded for encryption.
2014-06-06 08:01:28.01 spid13s The Service Broker protocol transport is disabled or not configured.
2014-06-06 08:01:28.03 spid13s The Database Mirroring protocol transport is disabled or not configured.
2014-06-06 08:01:27.99 server 錯誤: 26055。嚴重性: 16,狀態: 1。
2014-06-06 08:01:27.99 server 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.
2014-06-06 08:01:28.03 spid13s Service Broker manager has started.
2014-06-06 08:01:28.03 server 錯誤: 17182,嚴重性: 16,狀態: 1。
2014-06-06 08:01:28.03 server TDSSNIClient initialization failed with error 0x7e, status code 0x60. Reason: 無法初始化 VIA 偵聽器。 找不到指定的模塊。
2014-06-06 08:01:28.07 server 錯誤: 17182,嚴重性: 16,狀態: 1。
2014-06-06 08:01:28.07 server TDSSNIClient initialization failed with error 0x7e, status code 0x1. Reason: 初始化失敗,出現基礎結構錯誤。
請檢查曾經的錯誤。 找不到指定的模塊。
2014-06-06 08:01:28.07 server 錯誤: 17826。嚴重性: 18,狀態: 3。
2014-06-06 08:01:28.07 server Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
2014-06-06 08:01:28.07 server 錯誤: 17120。嚴重性: 16,狀態: 1。
2014-06-06 08:01:28.07 server SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
VIA協議出錯。干脆禁止了。
進入sql server configure manager,點開 Sql server 網絡配置(非sql native client 配置),將VIA協議禁用。
再啟動Sql Server服務,成功。