dbTalk Databases Forums  

Can execute local package but can't schedule it

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


Discuss Can execute local package but can't schedule it in the microsoft.public.sqlserver.dts forum.



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

Default Can execute local package but can't schedule it - 03-05-2004 , 07:36 AM






I created a Local Package that drops then creates a table in SQL server, makes a connection to an Oracle database, then brings the data over. When I right click and click on Execute to execute the packge, it works fine. But when I try to schedule it, I get the following error:

Create Table [JERNBERG].[dbo].[CUM_SO_HEADERS] Step DTSRun OnFinish: Create Table [JERNBERG].[dbo].[CUM_SO_HEADERS] Step DTSRun OnStart: Copy Data from CUM_SO_HEADERS to [JERNBERG].[dbo].[CUM_SO_HEADERS] Step DTSRun OnError: Copy Data from CUM_SO_HEADERS to [JERNBERG].[dbo].[CUM_SO_HEADERS] Step, 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: Copy Data from CUM_SO_HEADERS to [JERNBERG].[dbo].[CUM_SO_HEADERS] Step D... Process Exit Code 1. The step failed.

I would appreciate any assistance. Thanks.

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Can execute local package but can't schedule it - 03-05-2004 , 08:21 AM






in 99% of cases where this happens it can usually be tracked down to this
article.

http://support.microsoft.com/?kbid=269074



--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Michael" <mmesco(takeoutparensandstuff)@jernberg.com> wrote

Quote:
I created a Local Package that drops then creates a table in SQL server,
makes a connection to an Oracle database, then brings the data over. When I
right click and click on Execute to execute the packge, it works fine. But
when I try to schedule it, I get the following error:
Quote:
Create Table [JERNBERG].[dbo].[CUM_SO_HEADERS] Step DTSRun OnFinish:
Create Table [JERNBERG].[dbo].[CUM_SO_HEADERS] Step DTSRun OnStart: Copy
Data from CUM_SO_HEADERS to [JERNBERG].[dbo].[CUM_SO_HEADERS] Step DTSRun
OnError: Copy Data from CUM_SO_HEADERS to [JERNBERG].[dbo].[CUM_SO_HEADERS]
Step, 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: Copy Data from CUM_SO_HEADERS to
[JERNBERG].[dbo].[CUM_SO_HEADERS] Step D... Process Exit Code 1. The
step failed.
Quote:
I would appreciate any assistance. Thanks.



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.