Solved

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

Posted on 2010-09-13
2
1,092 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
2 Comments
 
LVL 26

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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

Suggested Solutions

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
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.

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now