Problems logging when running as a Service
Previous
Top
Next
When testing the ODBC logging from the Service Manager, the program is running as the current user (probably "Administrator").
When the Service logs to an ODBC database, it is running as the "Local System" user by default.
If your test messages work but the service does not, try changing the Service logon to "Administrator" instead of "Local System".
This can be changed with the Services applet under Control Panel.
You may also want to check the box that allows the program to interact with the desktop.