I keep getting the following error message when Host Monitor is running as a service:
[8/18/2005 11:20:18 AM] Sys Error: Cannot execute SQL query. ErrorCode = 4294967295: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
The odd thing is that if a particular member of my staff is logged onto the server where the service is running, and has Hostmonitor running in his interactive session it executes properly with the message:
[8/18/2005 11:16:36 AM] Sys SQL query executed (Action profile: "ODBC LOG")
We're running on Windows Server 2003, Host monitor version is 4.80
Thanks for any help
Cannot execute SQL Query.
Error appears when HostMonitor executes SQL Query action, right? So, why you have changed settings in the Advanced Logs section instead of changing settings for that action?[8/18/2005 11:16:36 AM] Sys SQL query executed (Action profile: "ODBC LOG")
....
but then made the changes in the Advanced Logs section
If you are using ODBC logging AND SQL Query action, you should change data source in the Options dialog AND in the alert profile.
Regards
Alex
We do not recommend to run service and application and the same time. If you need to configure HostMonitor on remote server using Terminal Service, we would recommend to create simple BAT file that will stop service, start HostMonitor in application mode and (after you change settings and terminate application) start service again.if a particular member of my staff is logged onto the server where the service is running, and has Hostmonitor running in his interactive session it executes properly with the message
Code: Select all
net stop hostmonservice
"c:\program files\hostmon\hostmon.exe"
net start hostmonservice
Alex