• 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.

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.

  • 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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