0

我連接到分析服務器localhost \ sqlr2。 我正在使用Windows身份驗證,因此用戶名和密碼全部變灰。 我試圖從Visual Studio BI項目部署到SQL Server 2008R2分析服務器,並得到了以下錯誤:從Visual Studio部署到分析服務器時出錯

Error 1 Internal error: The operation terminated unsuccessfully.  0 0 
Error 2 OLE DB error: OLE DB or ODBC error: Login timeout expired; HYT00; A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.; 08001; Named Pipes Provider: Could not open a connection to SQL Server [53]. ; 08001.  0 0 
Error 3 Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Max Min Manufacturing DM', Name of 'Max Min Manufacturing DM'.  0 0 
+0

請不要編輯您的問題以刪除所有內容,因爲這樣做意味着現有答案不再有意義。 –

回答

1

它看起來像你的數據源是設置錯了。處理時,立方體指向哪個服務器? SSAS在哪個帳戶下運行?你如何在數據源中設置連接字符串?您是否在SQL Server日誌中看到失敗的登錄嘗試?

Error 2 OLE DB error: OLE DB or ODBC error: Login timeout expired; HYT00; 
A network-related or instance-specific error has occurred while establishing a 
connection to SQL Server. Server is not found or not accessible. 
Check if instance name is correct and if SQL Server is configured 
to allow remote connections. 

我會專注於此。我假設您必須能夠連接到Visual Studio中的SQL Server來構建您的多維數據集,因此我猜Analysis Services沒有權限。檢查你的連接字符串。

您說您正在使用Windows身份驗證,Analysis Services運行的服務帳戶也可以訪問所需的數據庫嗎?

0

我想分享我的經驗與這個錯誤,以及我如何發現解決方案。 希望它有幫助!

http://afsawaf.blogspot.com/2013/08/ole-db-error-ole-db-or-odbc-error.html

---感謝@kleopatra的意見。 在我的情況下,我連接了一個錯誤的提供者,我試圖使用SQL Server Native Client 11.0連接到MS SQL Server 2005數據庫,這導致了我的類似問題。 當我回到版本10.0,完美工作!

+2

請注意,[只有鏈接的答案](http://meta.stackoverflow.com/tags/link-only-answers/info)不鼓勵,所以答案應該是搜索解決方案的終點(vs.而另一個引用的中途停留時間往往會隨着時間推移而過時)。請考慮在此添加獨立的摘要,並將鏈接保留爲參考。 – kleopatra

相關問題