Problems checking SQL Server 2000
|
Logged in as: Guest
|
|
Users viewing this topic:
none
|
|
Login | |
|
RE: Problems checking SQL Server 2000 - 25.Jul.2005 9:34:00 AM
|
|
|
Doug Ferguson
Posts: 8
Joined: 17.Jul.2005
From: Eugene
Status: offline
|
I have had the same kind of luck on our SQL 2000 Servers. No matter which DB I try or which user account I try to use I get this error:
quote: Queuing check... The check is being loaded by the engine...
Result: Failed Explanation: ERROR: Opening connection to database, ADO error: IDispatch error #3149 Login failed for user 'gfinsm'.
NOTE: This is a dry run test to help set up the proper parameters for the monitoring check. No email/sms/network notifications are sent out when the "Monitor Now..." option is used.
When this monitoring check will fail the following groups will be notified:
Email Notifications ------------------------------------------ <No groups/users configured to be notified>
SMS Notifications ------------------------------------------ <No groups/users configured to be notified>
Network Notifications ------------------------------------------ <No groups/users configured to be notified>
Has anyone got the SQL Server 2000 monitoring check to work? If you did, can you share what the secret is?
Thanks - [ July 25, 2005, 03:35 PM: Message edited by: Fergy ]
|
|
|
|
RE: Problems checking SQL Server 2000 - 25.Jul.2005 6:19:00 PM
|
|
|
blaster88
Posts: 16
Joined: 12.Jun.2005
From: McLean, VA
Status: offline
|
I am monitoring dozens of SQL2k dbs with the ADO availability check - you are using the Generic ADO type when you create it?
|
|
|
|
RE: Problems checking SQL Server 2000 - 25.Jul.2005 11:12:00 PM
|
|
|
MaZo
Posts: 11
Joined: 24.Jul.2005
Status: offline
|
quote: Originally posted by AvAdmin: I am monitoring dozens of SQL2k dbs with the ADO availability check - you are using the Generic ADO type when you create it?
What connection string are you using? And why is it inheriting from the parent folder while I use the 'sa' user to connect to the db?
|
|
|
|
RE: Problems checking SQL Server 2000 - 26.Jul.2005 1:55:00 AM
|
|
|
blaster88
Posts: 16
Joined: 12.Jun.2005
From: McLean, VA
Status: offline
|
I think the reason it is using the folder credentials is your string - you specify "Data Source."
Try something like this:
Provider=sqloledb;Server=[Server name or ip];Initial Catalog=master;User Id=sa;Password=[password];
|
|
|
|
RE: Problems checking SQL Server 2000 - 26.Jul.2005 3:21:00 AM
|
|
|
amusc
Posts: 130
Joined: 19.Nov.2002
From: Malta
Status: offline
|
The login failure is being caused by the database check trying to make use of folder credentials. When the folder has alternate credentials specified, then the MS SQL/ADO check will try to use those credentials.
In many cases, the folder would have credentials to log on to machines and not those of SQL Server itself, causing the logon to fail.
To workaround this issue, put the MS SQL/ADO checks in a separate folder which does not use alternate username and password.
In this way, the username and password defined in the connection string can be used.
|
|
|
|
RE: Problems checking SQL Server 2000 - 26.Jul.2005 5:20:00 AM
|
|
|
Calin Ghibu
Posts: 1194
Joined: 15.Dec.2002
Status: offline
|
Yes this issue has been confirmed by the development team and will be addressed.
In order to re-create your situation it would be helpful if you could indicate what type of logon you use to the SQL Server : NT Authentication mode or mixed mode ?
Thanks and regards, [ July 27, 2005, 04:21 AM: Message edited by: Calin Ghibu ]
|
|
|
|
RE: Problems checking SQL Server 2000 - 27.Jul.2005 8:33:00 PM
|
|
|
Calin Ghibu
Posts: 1194
Joined: 15.Dec.2002
Status: offline
|
Hi,
The issue occurs only when you specify alternate credentials on the folder containing the check. The issue is that the check details wrongly specify that it does not use the folder credentials. This will be fixed.
In case alternate credentials are provided, the engine will try to conenct with Windows authentication to the sql server, using those credentials, and will not parse the connection string to determine the authentication type to be used.
This problem will be fixed and the authentication types will be made more clear to the user.
Did you manage to get get your check working?
The workaround would be to either use another folder which does not have alternate credentials, or to make the necessary changes to the connection string so that windows authentication is used.
Since you are running in mixed mode, I think the latter option is best because you only need to change the connection string for the check, provided that you use an user member of the Administrators group as alternate credentials on the folder containing the check, as the Adminnistrators group have by default perissions on the sql server. An example of connection string whihch uses windows authentication would be :
Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=yourdatabase;Data Source=sqlserver;
Let us know how it went.
Thanks and regards, Calin [ July 28, 2005, 02:35 AM: Message edited by: Calin Ghibu ]
|
|
|
|
RE: Problems checking SQL Server 2000 - 28.Jul.2005 9:14:00 PM
|
|
|
MaZo
Posts: 11
Joined: 24.Jul.2005
Status: offline
|
Yes, I managed to get the check working by putting it in a seperate folder (and use the sa credentials).
Thanks for helping!
Edit:
Your second method doesn't work for me: quote: Queuing check... The check is being loaded by the engine...
Result: Failed Explanation: ERROR: Opening connection to database, ADO error: Unspecified error Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
Adding the 'Trusted_Connection=true' parameter didn't solve this problem. [ July 29, 2005, 03:29 AM: Message edited by: MaZo ]
|
|
|
|
RE: Problems checking SQL Server 2000 - 28.Jul.2005 11:37:00 PM
|
|
|
Calin Ghibu
Posts: 1194
Joined: 15.Dec.2002
Status: offline
|
hi,
The second option works in your initial setup: when the check was in the folder which had credentials. The connection string I gave as an example is for windows authentication, the engin will use the windows credentials provided in order to connect to the SQL server. This solution is good in case , due to licensing or other reasons, you do not want to have your SQL check in a targetless , no credentials folder.
Best regards, Calin
|
|
|
|
RE: Problems checking SQL Server 2000 - 29.Jul.2005 3:03:00 AM
|
|
|
MaZo
Posts: 11
Joined: 24.Jul.2005
Status: offline
|
Hi,
I tested your solution in my initial setup (the parent folder was using the domain admin account to login). Unfortunately it didn't work.
|
|
|
|
RE: Problems checking SQL Server 2000 - 29.Jul.2005 3:55:00 AM
|
|
|
Calin Ghibu
Posts: 1194
Joined: 15.Dec.2002
Status: offline
|
hmm,
You still got the logon failure error?
Normally, by default, domain admin is member of the local admins group on the SQL machine (provided it is in the domain)who have rights to connect to the database.
Can you check the logons available on the SQL Server?
Best Regards, Calin
|
|
|
|
RE: Problems checking SQL Server 2000 - 29.Jul.2005 10:47:00 AM
|
|
|
MaZo
Posts: 11
Joined: 24.Jul.2005
Status: offline
|
Yep, still got the error. I also checked the SQL logins right after the error, but the DOMAIN\Domain Admins group has enough rights.
|
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|