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.
link|improve this question

78% accept rate
feedback

1 Answer

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.

link|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
feedback

Your Answer

 
or
required, but never shown

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