Solved

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

Posted on 2010-09-13
2
1,121 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 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

734 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