我一直在开发一个直接与 SSAS 2005 OLAP 多维数据集对话的应用程序。请注意,我还安装了 SQL Server 2008,因此前几天我进行了 Windows 更新并决定在我的更新中包含 SQL Server 2008 SP1。之后,我的应用程序无法再访问我的 SSAS 2005 多维数据集。
我可以在 SQL Server 2005 BI Studio Manager 中很好地浏览数据,但我无法从我的应用程序连接到多维数据集。这是我曾经工作的连接字符串:
Data Source=localhost;Provider=msolap;Initial Catalog=Adventure Works DW
这是我收到的错误消息:
Either the user, [Server]/[User], does not have access to the Adventure Works DW database, or the database does not exist.
如果有帮助,这是我的堆栈跟踪的开头:
Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException was unhandled by user code
HelpLink=""
Message="Either the user, Luc-PC\\Luc, does not have access to the Adventure Works DW database, or the database does not exist."
Source="Microsoft SQL Server 2005 Analysis Services"
ErrorCode=-1055391743
StackTrace:
at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.XmlaClientProvider.Microsoft.AnalysisServices.AdomdClient.IDiscoverProvider.Discover(String requestType, IDictionary restrictions, DataTable table)
at Microsoft.AnalysisServices.AdomdClient.ObjectMetadataCache.Discover(AdomdConnection connection, String requestType, ListDictionary restrictions, DataTable destinationTable, Boolean doCreate)
at Microsoft.AnalysisServices.AdomdClient.ObjectMetadataCache.PopulateSelf()
at Microsoft.AnalysisServices.AdomdClient.ObjectMetadataCache.Microsoft.AnalysisServices.AdomdClient.IObjectCache.Populate()
at Microsoft.AnalysisServices.AdomdClient.CacheBasedNotFilteredCollection.PopulateCollection()
at Microsoft.AnalysisServices.AdomdClient.CacheBasedNotFilteredCollection.get_Count()
at Microsoft.AnalysisServices.AdomdClient.CubesEnumerator.MoveNext()
at Microsoft.AnalysisServices.AdomdClient.CubeCollection.Enumerator.MoveNext()
at blah blah...
在过去的 4 个多小时里,我一直在寻找解决方案,但没有任何成功。提前感谢您的帮助。
卢克