OLE DB错误:OLE DB或ODBC错误:

时间:2018-07-26 11:45:26

标签: sql-server ssas

我正在尝试通过SSMS从SSAS服务器连接到SQL,并且在测试时连接正常。但是当我处理多维数据集时,我收到以下错误消息。

  OLE DB error: OLE DB or ODBC error: 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; Client unable to establish connection; 08001; Encryption not supported on the client.; 08001.

我查看了发布的其他类似错误消息,并根据建议尝试了以下选项。

SSAS - OLE DB error in establishing a connection

1. Restart SSAS Service
2. Restart SSAS using local system
3. Trying to change the Provider to Native OLE DB\Microsoft OLE DB Provider for SQL server, but still I am getting the below error 

    OLE DB error: OLE DB or ODBC error.

我坚持了3天以上,无法继续前进。我也尝试了所有其他提供程序,但仍然无法正常工作。

另外,我确保在SSAS服务器的数据源中使用的Windows帐户在SQL数据库上具有db_owner。

如果能帮助我摆脱困境,我们将不胜感激。

1 个答案:

答案 0 :(得分:0)

通过反复尝试的方法,我能够找到解决方案,以选择以下更改。我尝试设置

   1. Provider as "Native OLE DB/Microsoft OLE DB Provider for SQL Server" 
   2. Changed the connection from Windows Authentication to SQL connection. 
   3. The type of Impersonate Account from Windows Authentication to Authenticate by Service Account.

完成上述设置后,我就可以处理多维数据集。