I have a problem with the sensor MS SQL v2. I create the sensor to test it in action on my PC to test the sensor . On the computer installed Microsoft SQL SERVER 2012 Express. When i run the sensor then I displayed the following error: Can not log in using the specified credentials! . I check all configuration options but always i have this problem with the sensor. As SQL query i use default sql file:Demo serveruptime.sql. As Instance name i used: SQLEXPRESS, because that's it true instance name. i very need your help. thanks) P.S. sorry about my English)
Microsoft SQL SERVER v2. Can not log in using the specified credentials!
Votes:
0
Best Answer
Votes:
0
Hi Vladimir,
Please log onto the machine where the probe is installed and manually start the SQLv2.exe file in the directory
C:\Program Files (x86)\PRTG Network Monitor\Sensor System
Fill in the credentials and the query and see if it works. Please do also test an administrative database user to preclude access write issues.
Best regards, Felix
9 Replies
Votes:
4
whats the rest of the error say? I have been having issues with the sql sensors using the context of the probe service instead of the windows creds set in the settings.
Votes:
2
Hi Vladimir,
Did you enter the credentials in the Device Settings > Credentials for Database Management Systems settings? If so, the tip to change the security context of the probe service might help.
Best regards, Felix
Created on Jun 2, 2016 5:06:53 AM by
Felix Saure [Paessler Support]
Last change on Aug 1, 2016 7:30:03 AM by
Luciano Lingnau [Paessler]
Votes:
0
error message is only : Can not log in using the specified credentials!
Felix, i didn't enter the credendtials in the
Device Settings -> Credentials for Database Management Systems , but now i do it and result is the same((
Votes:
0
Hi Vladimir,
Please log onto the machine where the probe is installed and manually start the SQLv2.exe file in the directory
C:\Program Files (x86)\PRTG Network Monitor\Sensor System
Fill in the credentials and the query and see if it works. Please do also test an administrative database user to preclude access write issues.
Best regards, Felix
Votes:
0
What is the resolution for this issue? I tryied to use the SQLv2.exe getting the same results. Can not log in using the specified credentials. Reviewing the SQL log, I encountered with this error: Login failed for user Domain\User. Reason: Attempting to use an NT account name with SQL Server Authentication. I used the proper fields to fill account information in the SQLv2 app My SQL version is 2016 Datacenter. My PRTG is trial version.
Votes:
1
Hi there,
Did you enable the Use Kerberos setting after starting the SQLv2.exe? This will be required so that the Windows authentication gets enabled.
Best regards, Felix
Created on Dec 13, 2017 2:08:24 PM by
Felix Saure [Paessler Support]
Last change on Dec 13, 2017 2:08:39 PM by
Felix Saure [Paessler Support]
Votes:
0
Hello, I've the same issue.
Using SQLv2.exe it works, when I activate the Use Kerberos setting. But my sensor has still the same error :
Cannot open database "SRV-xxxx\xxxxTEST" requested by the login. The login failed. Login failed for user 'CxxxxS\adimxx'.(Connectionstring: Data Source=SRV-SQLTEST,1437;Initial Catalog=SRV-SQLTEST\NESTTEST;Integrated Security=True;Password=;Connect Timeout=60)
Votes:
0
Same when I try with a local SQL-Account, so OK from SQLv2.exe but the sensor says :
Cannot open database "SRV-SQLTEST\NESTTEST" requested by the login. The login failed. Login failed for user 'AdminERP'.(Connectionstring: Data Source=SRV-SQLTEST,1437;Initial Catalog=SRV-SQLTEST\NESTTEST;User ID=AdminERP;Password=;Connect Timeout=60)
Votes:
0
I understood what I did wrong.
In the GUI SQLv2,you're allowed to enter anything under the server name, so I entered it with the hostname\instancename form.
I did the same in the sensor, with errors. When I entered only the hostname, it works now !
Add comment