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 服务。

 

 

 

 

posted @ 2020-07-25 11:11  大稳·杨  阅读(7906)  评论(0编辑  收藏  举报