報錯信息
無法訪問數據庫 ReportServer。 (ObjectExplorer)
具體錯誤信息:
程序位置:
在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.DatabaseNavigableItem.get_CanGetChildren()
在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItem.RequestChildren(IGetChildrenRequest request)
在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ExplorerHierarchyNode.BuildChildren(WaitHandle quitEvent)
錯誤現象
可以連接數據庫服務器,但是無法打開具體的數據庫,打開數據庫報錯,報錯信息如上。
錯誤原因
該用戶沒有操作該數據庫的權限。
解決方案
給數據庫加上對應的權限就行了。
具體步驟:
最后記得重啟sqlserver 服務。