SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


run ssis package in 32 bit mode using bat file


run ssis package in 32 bit mode using bat file

Author
Message
Lord Slaagh
Lord Slaagh
SSCarpal Tunnel
SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)

Group: General Forum Members
Points: 4505 Visits: 561
Hello,

I have created several topics that I posted on SSC regarding SSIS 2012 that were never answered. I have had great success with this web site over the past ten years, so I am not sure why my posts are being ignored. Am I on the correct forum?

Here is my issue...

I have a bat file that kicks off a master package, which kicks off about 300 child packages. My bat file is working correctly, however there seems to be issues executing packages in 64 bit mode.

So my question is...

Is there a way to specify in the bat file to execute packages in 32 bit mode and not 64 bit? Any help would be greatly appreciated.

bat file:
"C:\Program Files\Microsoft SQL Server\110\DTS\Binn\DTExec.exe" /f "E:\MasterPackage.dtsx"





Everyone has a plan until they get punched in the mouth
. --Iron Mike Tyson
JeremyE
JeremyE
SSChampion
SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)

Group: General Forum Members
Points: 12763 Visits: 4169
You will need to install either the client tools or SQL Server Data Tools on the server that runs the packages. This will install the 32 bit DTExec.exe.

http://msdn.microsoft.com/en-us/library/hh231187(v=sql.110).aspx

Then it's as simple as pointing to "C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\DTExec.exe" in your batch file.
daniness
daniness
UDP Broadcaster
UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)

Group: General Forum Members
Points: 1493 Visits: 448

Hi All,

I have a similar situation as the original poster's. I'm running a master SSIS package from a bat file, and per the last poster, I believe my bat file is pointing to the correct 32 bit Dtexec.exe, as this is the content of the .bat file:

REM Runs DTSX package via the command line

pushd D:\SFAS\SSIS\SESDatamart\bin
"C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\dtexec.exe" /f "D:\SFAS\SSIS\SESDatamart\packages\MASTER EXTRACT.dtsx" /set "\package.variables[User:: PriorYears].Properties[Value]";3 /set "\package.variables[User::MonthIncrement].Properties[Value]";2
popd

REM Capture error code and send to UC4
exit /b %errorlevel%



My master package was developed with the Project property of Run64BitRuntime as False, and when I've been trying to deploy and get it to run on our Dev server which is running a 64 bit OS, I'm receiving random app crashes on dtexec. Can anyone please advise how to correct this issue? Thanks in advance for sharing your expertise!


Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search