on 01-10-2014 9:23 AM
Here is the situation
Issue: Data Server connection in error status after restoring the database.
SQL Server 2008 R2
Data Services - > Data Server -> Server URL used : jdbc:jtds:sqlserver://localhost:1433/DBNAME
Here are the series of steps
2. Dropped DBNAME database in SQL management Studio and restored the DBNAME with a bkp file
3. No changes were done to Data Services - > Data Server
4. After restoring the DBNAME database Data server connections dependent on DBNAME are showing in "Error" status.
Error
I checked the log files and could see below error
Unable to get a connection from the pool
[EXCEPTION]
java.sql.SQLException: Cannot open database "DBNAME" requested by the login. The login failed.
Please help to resolve the issue.
Hi Rajesh,
Couple of things you can check from the Database server end..
1. Assuming its a SQL server, check if the authentication is windows auth or SQL Server login.
2. Check if the user you are trying to connect with has login access to server and to the database. It is possible that when you have restored the backup, the user is still associated with the database but has lost the login rights....In a reverse context, it is possible that the users for the DB have not been backed up, the user has login rights but no access to database.
3. Try to login into the databse (SQL Server interface/client may be) with the credentials you have provided in MII Data server.
Regards
Tufale Ashai.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try providing new user ID and password which would work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
The error is indicating authentication problem.
Check for the user(given in the data server in MII) in the database.
Also try to recreate the dataserver.
Regards,
Rohit Negi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.