SQL Server 連接數據庫報錯 (ObjectExplorer)


報錯信息

    無法訪問數據庫 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 服務。

 

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM