dbTalk Databases Forums  

DTS / Interbase / Firebrid - Schedule Issue

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS / Interbase / Firebrid - Schedule Issue in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Neil
 
Posts: n/a

Default DTS / Interbase / Firebrid - Schedule Issue - 04-23-2004 , 09:37 AM






Has anyone ever successfully scheduled a DTS package to
connect and extract data from an Interbase/Firebird
database?

My DTS package will run under SEM but fails when
scheduled. Most of the time this would be linked to
permissions in some way but I have very carefully setup a
test environment and used a login with sysadmin/local
administrator/domain rights. I have checked that SQL
Server Agent + Proxy + SEM all use the same login.

I get the following error:

Step Error Source: Microsoft OLE DB Provider for ODBC
Drivers
Step Error Description:[XTG Systems][InterBase6 ODBC
Driver], unavailable database
Step Error code: 80004005
Step Error Help File:
Step Error Help Context ID:0

Any input appreciated.

My setup is:

MS SQL Server 2000 with SP3
MDAC 2.8 RTM
Interbase v6 /Firebird 1.03 db Server
Firebird ODBC Driver
Connection via ODBC - tried System DSN and File DSN

Reply With Quote
  #2  
Old   
Ross McKay
 
Posts: n/a

Default Re: DTS / Interbase / Firebrid - Schedule Issue - 04-23-2004 , 10:37 AM






On Fri, 23 Apr 2004 07:37:41 -0700, "Neil" wrote:

Quote:
Has anyone ever successfully scheduled a DTS package to
connect and extract data from an Interbase/Firebird
database?
...
I get the following error:

Step Error Source: Microsoft OLE DB Provider for ODBC
Drivers
Step Error Description:[XTG Systems][InterBase6 ODBC
Driver], unavailable database
G'day Neil,

It is most likely because of your connection type. If you don't specify
a TCP/IP connection, then you are probably connecting via named pipes.
Change to using TCP/IP and you should be OK.

e.g. Database=servername:c:\databases\yourdatabase.gdb

cheers,
Ross.
--
"There is more to life than simply increasing its speed." - Mahatma Gandhi


Reply With Quote
  #3  
Old   
 
Posts: n/a

Default Re: DTS / Interbase / Firebrid - Schedule Issue - 04-26-2004 , 03:41 AM



Ross,

thanks - you were right. When I specified a TCP/IP
connection it executed successfully when scheduled.

What surprised me is that SQL Enterprise Manager
successfully ran the package when I hadn't specified the
type of connection. Presumably it 'assumed' a TCP/IP
connection whereas SQL Server Agent assumes a named pipe.

Thanks again.

Neil
Quote:
-----Original Message-----
On Fri, 23 Apr 2004 07:37:41 -0700, "Neil" wrote:

Has anyone ever successfully scheduled a DTS package to
connect and extract data from an Interbase/Firebird
database?
...
I get the following error:

Step Error Source: Microsoft OLE DB Provider for ODBC
Drivers
Step Error Description:[XTG Systems][InterBase6 ODBC
Driver], unavailable database

G'day Neil,

It is most likely because of your connection type. If you
don't specify
a TCP/IP connection, then you are probably connecting via
named pipes.
Change to using TCP/IP and you should be OK.

e.g. Database=servername:c:\databases\yourdatabase.gdb

cheers,
Ross.
--
"There is more to life than simply increasing its
speed." - Mahatma Gandhi
.


Reply With Quote
  #4  
Old   
Ross McKay
 
Posts: n/a

Default Re: DTS / Interbase / Firebrid - Schedule Issue - 04-26-2004 , 05:06 AM



On Mon, 26 Apr 2004 01:41:36 -0700, Neil wrote:

Quote:
What surprised me is that SQL Enterprise Manager
successfully ran the package when I hadn't specified the
type of connection. Presumably it 'assumed' a TCP/IP
connection whereas SQL Server Agent assumes a named pipe.
No, what the deal with named pipes is that you need an authenticated
security context that permits the creation of named pipes. When you are
using SQL EM, you are obviously logged in to Windows and must have
permission to open a named pipe to the server that Interbase is sitting
on. When you run your scheduled task, it is probably running as SYSTEM,
and has no permission to open a named pipe to the Interbase server.

This is always a fun trap

cheers,
Ross.
--
"There is more to life than simply increasing its speed." - Mahatma Gandhi


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.