SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Does 24x7 3.3.0 support a OLEDB Provider?

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Does 24x7 3.3.0 support a OLEDB Provider?
Author Message
Sam Mills



Joined: 29 Sep 2000
Posts: 9

Post Does 24x7 3.3.0 support a OLEDB Provider? Reply with quote

Under Database Profiles I see that you can configure
a connection to a SQL Server 7.0 database via ODBC.
I don't see a way to configure SQLOLEDB as a
Provider. Is there a way? if so, how do you configure it.

This change was prompted by the fact that via ODBC, fatal
SQL errors are not passed back to the client (24x7), but
via OLEDB they are. We have tested this using Visual
Basic 6.0. The following SQL command returned an error
using OLEDB, but nothing using ODBC.

Select Convert(int, 999999999999999)

The error return using OLEDB is as follows.

Server: Msg 8115, Level 16, State 3, Line 1
Arithmetic overflow error converting numeric to data type int.

Nothing from ODBC.

Can you help me with this problem?
thanks,
Sam Mills

Thu Oct 03, 2002 3:53 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7955

Post Re: Does 24x7 3.3.0 support a OLEDB Provider? Reply with quote

OLEDB can be used with VBScript jobs in 24x7. You will not be able to use profiles
but you can still hard code connection parameters just as you do it in Visual Basic programs.
If you wish you can store connection parameters in INI or TEXT files and read them dynamically in
script jobs.

On the other hand why don't you use the native database connection
instead of an ODBC? Just create a profile under Microsoft SQL Server branch.

: Under Database Profiles I see that you can configure
: a connection to a SQL Server 7.0 database via ODBC.
: I don't see a way to configure SQLOLEDB as a
: Provider. Is there a way? if so, how do you configure it.

: This change was prompted by the fact that via ODBC, fatal
: SQL errors are not passed back to the client (24x7), but
: via OLEDB they are. We have tested this using Visual
: Basic 6.0. The following SQL command returned an error
: using OLEDB, but nothing using ODBC.

: Select Convert(int, 999999999999999)

: The error return using OLEDB is as follows.

: Server: Msg 8115, Level 16, State 3, Line 1
: Arithmetic overflow error converting numeric to data type int.

: Nothing from ODBC.

: Can you help me with this problem?
: thanks,
: Sam Mills

Thu Oct 03, 2002 4:03 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.