This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[Microsoft] [ODBC SQL Server Driver][SQL Server] cannot open database "bms" requested by the login.

 
naved momin
Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when I was deploying my app in one of the laptop my code throws an SQL Exception saying
this is the first time i m getting this exception can any one provide me help regarding the same?
thanks
when I tried to connect to a tempdb under system database it connected successfully but not connecting to any other database which I am creating
what is the problem ? do i need to install MSSQL 2005 again ?
 
Wendy Gibbons
Bartender
Posts: 1110
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so can you see the database using any other means?
 
Rob Spoor
Sheriff
Pie
Posts: 20495
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you providing the right username and password? Because the message clearly says "login failed".
 
Koen Aerts
Ranch Hand
Posts: 344
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using ODBC; did you set up a Data Source that the app can use to connect to the DB?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic