Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Environment:

  • Windows 7 Ultimate
  • SQL Server 2005 Express
  • 2 users on the computer

I tried making the 2nd user a user in SQL Server (THINKPAD\2ndUser) and adding him to the database ("2ndUser"). Then, I logged in as 2ndUser and started Visual Studio 2008. When I tried to connect to the database, I got the following error message:

The database '<bleep>' does not exist or you do not have permission to see it.
share|improve this question

1 Answer 1

up vote 0 down vote accepted

You need to add the login in two places. The instance and the database. This is done in the security folder for the instance and then the security folder for the database.

share|improve this answer
    
I already did that. –  Zian Choy May 21 '10 at 7:28
    
@Zian Choy - What does your event log say? The errors are logged there and are usually quite a bit more detailed. –  MDMarra May 21 '10 at 13:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.