Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

User cannot access database over VPN - database not accessible - sql authentication SSMS

$
0
0

I haven't been able to find this scenario or a solution from searching.  Any help is greatly appreciated.

Using Sql Server Management Studio, I can connect to the database engine. 

Inside the office -- I can see the list of all the database instances.  When I try to expand any of the instances, I can connect to the database and see all the items I have access to, like Tables.

Outside the office over VPN -- I can see the instances, but I cannot connect to it.  I receive the usual error: 

The database [fill in the database name here] is not accessible. (ObjectExplorer)

If I look at the details of the error, it has this:

The database [instance name] 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)

If I disconnect from the database engine, then reconnect with other user credentials, I can access everything.

In summary:  the same user can access within the offce, but not over VPN;  I can use a different user and access both ways just fine.

I can see the server properties and configurations and the permissions for the user I'm trying to use.  CONNECT SQL and VIEW ANY DATABASE are effective.

What may be wrong here?



Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>