Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2010-09-13
2
Medium Priority
?
1,160 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 2000 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

704 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