Home » Categories » Database » General Database Information |
I receive this error message: "The server principal A is not able to access the database B under the current security context (Microsoft SQL Server, Error:916)" |
Article Number: 42 | Rating: Unrated | Last Updated: Mon, Apr 30, 2012 at 11:57 PM
|
The error: The server principal A is not able to access the database B under the current security context (Microsoft SQL Server, Error:916) The issue: This issue occurs with SQL Server 2008 RC0 tools. Using SQL authentication, I could connect to database engine but I could not expand the ‘Databases’ node. It would result in the error above. The issue is with SQL Server Management Studio itself, not the database engine or any other aspect of SQL Server. I could connect to the SQL installation from another server running SQL Server 2008 RC0, using SQL authentication, and expand the ‘Databases’ node without any errors. But I couldn’t connect locally using SQL authentication. In a nutshell: Server A – While logged in locally on Server A, I could not connect and expand the ‘Databases’ node successfully using SQL authentication. Server B – I could connect to the SQL instance on Server A and expand the ‘Databases’ node using SQL authentication successfully. Based on my current understanding of the issue at hand, there are several work-a-rounds to correct this issue. Hopefully, one of them will work for you. Work around #1: 1.Within SQL Server Management Studio, view Object Explorer Details window by selecting View, Object Explorer Details in menu (or hitting F7) Work around #2: 1.Within SQL Server Management Studio, view Object Explorer Details window by selecting View, Object Explorer Details in menu (or hitting F7) Work around #3: 1.Check the database options for the "Auto Close” setting. If it is set to "True,” change it to "False” and test again. Further explanation: Collation for an offline database is returned as NULL by the engine, and SSMS currently interprets NULL values as a permissions issue. The error will occur even if Object Explorer Details view is not open. The same issue will occur if you try to enable a setting that you dont have permission to access on all databases, for example data space used. Other helpful links: |
Attachments
There are no attachments for this article.
|
Do you support MySQL WebAdmin Access?
Viewed 3052 times since Tue, May 1, 2012
Do you support Remote MSSQL connection?
Viewed 3642 times since Mon, Apr 30, 2012
Do you support Remote mySQL connection?
Viewed 3324 times since Mon, Apr 30, 2012
How often do you backup my website?
Viewed 4596 times since Tue, May 1, 2012
Do you support SQL Server Integration Service?
Viewed 2732 times since Tue, May 1, 2012
Do you support SQL Reporting Service (SSRS)?
Viewed 3889 times since Tue, May 1, 2012
How can I restore my MS SQL database?
Viewed 7021 times since Tue, May 1, 2012
How do I login to my SQL database remotely?
Viewed 6894 times since Mon, Apr 30, 2012
Can I set up additional logins for my MS SQL database?
Viewed 2854 times since Mon, Apr 30, 2012
How can I access my nightly database backup?
Viewed 2635 times since Tue, May 1, 2012
|