Solved

The server principal is not able to access the database under the current security context.

Posted on 2010-09-13
2
1,138 Views
Last Modified: 2012-05-10
When you get this message, what exactly does it mean?

The server principal is not able to access the database "LiteTrack" under the current security context.

Thanks
0
Comment
Question by:anushahanna
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Accepted Solution

by:
Chris Luttrell earned 500 total points
ID: 33664404
what are you doing?  this problem is usually seen when an account didn’t have enough rights to a database, often when a trigger or stored procedure was created with the EXECUTE AS clause.   Basically either the account/principal you logged in as or the one it is trying to EXECUTE AS has not been granted access to your LiteTrack database.  You can look up more info under ownership chaining:
http://technet.microsoft.com/en-us/library/ms188676.aspx
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33665484
Thanks CGLuttrell.

the link was fascinating.

the account did not have access to the database, you as mentioned.. thanks for the clue that helped save time.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have a large data set and a SSIS package. How can I load this file in multi threading?
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question