我一直在開發直接與SSAS 2005 OLAP多維數據集進行通信的應用程序。請注意,我還安裝了SQL Server 2008,所以有一天我做了Windows Update並決定在我的更新中包含SQL Server 2008 SP1。這樣做後,我的應用程序不再可以訪問我的SSAS 2005多維數據集。安裝SQL Server 2008 SP1後無法連接到SQL Server 2005 Analysis Services多維數據集
我能夠在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個小時以上的解決方案,並沒有任何成功。預先感謝您的幫助。
Luc
[部署adventureworks立方體失敗的可能重複:'用戶沒有權限在'GARY-PC'中創建一個新的對象或對象不存在](http://stackoverflow.com/questions/10333567/deployment-of-adventureworks-cube-fails-user-does-not-have-permission-to-creat) – amphetamachine 2015-02-09 21:59:29