ODBC SQL Script error

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
felicia.littlefield
Posts: 2
Joined: Thu Jun 09, 2005 1:34 pm

ODBC SQL Script error

Post by felicia.littlefield »

I have created a test using ODBC Query to allow me to backup a SQL Express 2005 database using a SQL sript. The backup is performed successfully. To verify this, I have restored the database using the backed up file. The problem is, the Hostmonitor test always stays Bad, returning error "Error 1: [Microsoft][ODBC SQL][SQL Server]Processed 7072 pages for database 'VIM_VCDB', file 'VIM_VCDB' on file 1"

The SQL script I am running is BACKUP Database VIM_VCDB TO DISK = '\\ohr.adn\shares\goofybackups\goofy.bak' WITH INIT
When I perform a Check connection only, it is successful.

The SQL logs report "BACKUP failed to complete the command BACKUP DATABASE VIM_VCDB. Check the backup application log for detailed messages."

I am on Hostmonitor version 7.78, using SQL Express 2005 connecting using the ODBC SQL Server Driver. SQL authentication and the SA account

Does anyone know how I can stop the error and allow the test to be OK
Thanks. Felicia
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Could you please try the following update
www.ks-soft.net/download/hm778c.zip

Regards
Alex
felicia.littlefield
Posts: 2
Joined: Thu Jun 09, 2005 1:34 pm

Post by felicia.littlefield »

That worked Thank You! May I asked what changed?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Usually ODBC queries return SQL_SUCCESS code. Your query returns SQL_SUCCESS_WITH_INFO code. HostMonitor "assumed" this is wrong.

Regards
Alex
Post Reply