安装SQL Server 2008 SP1后无法连接到SQL Server 2005 Analysis Services多维数据集

时间:2010-04-06 19:12:13

标签: sql-server ssas olap-cube

我一直在开发一个直接与SSAS 2005 OLAP多维数据集对话的应用程序。请注意,我也安装了SQL Server 2008,所以有一天我做了一个Windows Update,并决定在我的更新中包含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个多小时的解决方案并且没有取得任何成功。提前感谢您的帮助。

吕克

1 个答案:

答案 0 :(得分:0)

我通过在多维数据集上授予自己管理员权限来解决问题。对或错,它有效,我能继续前进......