Can't view database on SQL Server 2008 with domain user
- by abatishchev
I created a login for a domain user (domain admin) and added it to role serveradmin, but after logging in I still can't list databases getting next error:
The database MyDB is not
accessible. (ObjectExplorer)
Program Location:
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.DatabaseNavigableItem.get_CanGetChildren()
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItem.GetChildren(IGetChildrenRequest
request)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ExplorerHierarchyNode.BuildChildren(WaitHandle
quitEvent)
How can I fix that?