dbTalk Databases Forums  

Scheduled Job to run SSIS Package on SQL Server 2005

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


Discuss Scheduled Job to run SSIS Package on SQL Server 2005 in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Van T. Dinh
 
Posts: n/a

Default Scheduled Job to run SSIS Package on SQL Server 2005 - 12-07-2009 , 09:28 PM






Windows 2003 (Standard x64) SP2 named "W2003XXX". SSIS Server is therefore
named "W2003XXX".
SQL Server 2005 (Standard x64) Build 9.00.1399.06 named instance
"W2003XXX\SQL2005YYY". Waiting for I.T. Support Group to install SP3.

In SQL Server Business Intelligent Visual Studio, I created a fairly simple
SSIS Project/Package "CannedSpecs" deleting records from JET Tables and then
append records from SQL Server Tables to the now-empty JET Tables.

The SSIS package CannedSpecs.dtsx worked fine in Visual Studio after setting
the Project property "Run64Runtime" to False. If this Property is set to
True, I get errors:

Error: 0xC0202009 at CannedSpecs, Connection manager "Connection 2":
An OLE DB error has occurred. Error code: 0x80040154.

An OLE DB record is available. Source: "Microsoft OLE DB Service
Components"
Hresult: 0x80040154 Description: "Class not registered".


I then saved the SSIS package on both the SSIS Server (as File System SSIS
Package) and also as SQL Server SSIS Package.

If I use DTExecUI, all 3 options (File/SSIS Package Store/ SQL Server)
succeeded.

If I use DTExec, all 3 options (File/SSIS Package Store/ SQL Server) failed
with the following commands:

DTExec /FILE "Full-path to CannedSpecs.dtsx"
DTExec /DTS "\File System\CannedSpecs" /SERVER W2003XXX
DTEXEC /SQL CannedSpecs /SERVER W2003\SQL2005YYY

If I create a SQL Server Agent scheduled job using both types "SQL Server
Integration Package" and "Operating System (CmdExec)", each with the 3
options as above, everyone of the 6 possible combinations failed.

All failures described above have errors similar to posted errors above
indicating that they all were run as if Run64Runtime = True.

Questions:

1. Is there anyway I can specify Run64Runtime = False in using DTExec or in
SQL Server Agent Job step?

2. Even if the general solution is not possible, is there anyway I can
create a SQL Server Agent Scheduled Job that can run the SSIS package using
1 of the 3 modes above?

Many thanks for any advices/suggestions offered.

--
Van T. Dinh

Reply With Quote
  #2  
Old   
Van T. Dinh
 
Posts: n/a

Default Re: Scheduled Job to run SSIS Package on SQL Server 2005 - 12-09-2009 , 07:44 PM






SQL Server has been updated to SP3 (Build 9.00.4035) but the results of the
repeated tests are exactly the same as previous post.

Any idea?

Thanks & cheers
--
Van T. Dinh



"Van T. Dinh" <VanThien.Dinh (AT) discussions (DOT) microsoft.com> wrote

Quote:
Windows 2003 (Standard x64) SP2 named "W2003XXX". SSIS Server is therefore
named "W2003XXX".
SQL Server 2005 (Standard x64) Build 9.00.1399.06 named instance
"W2003XXX\SQL2005YYY". Waiting for I.T. Support Group to install SP3.

In SQL Server Business Intelligent Visual Studio, I created a fairly
simple SSIS Project/Package "CannedSpecs" deleting records from JET Tables
and then append records from SQL Server Tables to the now-empty JET
Tables.

The SSIS package CannedSpecs.dtsx worked fine in Visual Studio after
setting the Project property "Run64Runtime" to False. If this Property is
set to True, I get errors:

Error: 0xC0202009 at CannedSpecs, Connection manager "Connection 2":
An OLE DB error has occurred. Error code: 0x80040154.

An OLE DB record is available. Source: "Microsoft OLE DB Service
Components"
Hresult: 0x80040154 Description: "Class not registered".


I then saved the SSIS package on both the SSIS Server (as File System SSIS
Package) and also as SQL Server SSIS Package.

If I use DTExecUI, all 3 options (File/SSIS Package Store/ SQL Server)
succeeded.

If I use DTExec, all 3 options (File/SSIS Package Store/ SQL Server)
failed with the following commands:

DTExec /FILE "Full-path to CannedSpecs.dtsx"
DTExec /DTS "\File System\CannedSpecs" /SERVER W2003XXX
DTEXEC /SQL CannedSpecs /SERVER W2003\SQL2005YYY

If I create a SQL Server Agent scheduled job using both types "SQL Server
Integration Package" and "Operating System (CmdExec)", each with the 3
options as above, everyone of the 6 possible combinations failed.

All failures described above have errors similar to posted errors above
indicating that they all were run as if Run64Runtime = True.

Questions:

1. Is there anyway I can specify Run64Runtime = False in using DTExec or
in SQL Server Agent Job step?

2. Even if the general solution is not possible, is there anyway I can
create a SQL Server Agent Scheduled Job that can run the SSIS package
using 1 of the 3 modes above?

Many thanks for any advices/suggestions offered.

--
Van T. Dinh




Reply With Quote
  #3  
Old   
Van T. Dinh
 
Posts: n/a

Default Re: Scheduled Job to run SSIS Package on SQL Server 2005 - 12-09-2009 , 10:44 PM



For anyone who has similar problems, the solution is found in MSDN article:

Integration Services Considerations on 64-bit Computers
http://msdn.microsoft.com/en-us/libr...6(SQL.90).aspx

--
Van T. Dinh



"Van T. Dinh" <VanThien.Dinh (AT) discussions (DOT) microsoft.com> wrote

Quote:
SQL Server has been updated to SP3 (Build 9.00.4035) but the results of
the repeated tests are exactly the same as previous post.

Any idea?

Thanks & cheers
--
Van T. Dinh



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.