mercurymik
Programmer
I figure I should start my own thread on this one. I have a SQL Server 2000 on a Microsoft Server 2003 box. And I have Oracle 9i on a Microsoft 2000 Clustered Server. I am trying to transfer data from a SQL server table to an Oracle table.
I have installed an Oracle 9i client on the server and configured an actual Oracle ODBC (not MS ODBC for Oracle). I also have a SQL Server ODBC.
I have created a DTS package and defined a "Transform Data Task" that takes data from the SQL Server and appends it to an Oracle Table. That is all this package does.
I can run this package manually from the SQL Server or my PC (also has Oracle Client)and it works fine. When I schedule the package it fails. I have had to define the the full path to the DTSRun.exe in other scheduled packages, and I did the same for this one.
Here is the error:
DTSRun OnFinish: DTSStep_DTSDataPumpTask_1
DTSRun: Package execution complete.
DTSRun: Loading...
DTSRun: Executing...
DTSRun OnStart: DTSStep_DTSDataPumpTask_1
DTSRun OnError: DTSStep_DTSDataPumpTask_1, Error = -2147467259 (80004005)
Error string: [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
Error source: Microsoft OLE DB Provider for ODBC Drivers
Help file:
Help context: 0
Error Detail Records:
Error: -2147467259 (80004005); Provider Error: 0 (0)
Error string: [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
Error source: Microsoft OLE DB Provider for ODBC Drivers
Help file:
Help context: 0
DTSRun OnFinish: DTSStep_DTSDataPumpTask_1
DTSRun: Package execution complete.
A search on Microsoft's sight on the 80004005 error brings up a lot of generic, can't find the ODBC results. A search for SQLAllocHandle on SQL_HANDLE_ENV failed, brings up some Blog bulletins.
Any ideas? Thanks.
I have installed an Oracle 9i client on the server and configured an actual Oracle ODBC (not MS ODBC for Oracle). I also have a SQL Server ODBC.
I have created a DTS package and defined a "Transform Data Task" that takes data from the SQL Server and appends it to an Oracle Table. That is all this package does.
I can run this package manually from the SQL Server or my PC (also has Oracle Client)and it works fine. When I schedule the package it fails. I have had to define the the full path to the DTSRun.exe in other scheduled packages, and I did the same for this one.
Here is the error:
DTSRun OnFinish: DTSStep_DTSDataPumpTask_1
DTSRun: Package execution complete.
DTSRun: Loading...
DTSRun: Executing...
DTSRun OnStart: DTSStep_DTSDataPumpTask_1
DTSRun OnError: DTSStep_DTSDataPumpTask_1, Error = -2147467259 (80004005)
Error string: [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
Error source: Microsoft OLE DB Provider for ODBC Drivers
Help file:
Help context: 0
Error Detail Records:
Error: -2147467259 (80004005); Provider Error: 0 (0)
Error string: [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
Error source: Microsoft OLE DB Provider for ODBC Drivers
Help file:
Help context: 0
DTSRun OnFinish: DTSStep_DTSDataPumpTask_1
DTSRun: Package execution complete.
A search on Microsoft's sight on the 80004005 error brings up a lot of generic, can't find the ODBC results. A search for SQLAllocHandle on SQL_HANDLE_ENV failed, brings up some Blog bulletins.
Any ideas? Thanks.