• 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: 1111
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: 20559
57
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