Solved

SISS: Running 32bit  dtexec from Stored Procedure

Posted on 2010-11-30
5
2,099 Views
Last Modified: 2012-08-14
Hi Experts,

We've just upgraded to SQL Server 2008 and have found that our SSIS packages that import Excel spreadsheets don't work due to the 64bit/32bit issue. I understand I have to run the 32bit version of dtexec to get it to work again, but I can't find how to actually do it.

I have a code snippit from a SP that will  show you how I'm currently calling dtexec and the SSIS package.

EXEC sp_xp_cmdshell_proxy_account 'IIS\xxx', 'password'
EXEC @pc= master..xp_cmdshell  'dtexec /f "F:\SSIS\package1.dtsx"'

Open in new window


Any help will be, as always, greatly appreciated.

Regs,
Numb
0
Comment
Question by:ComfortablyNumb
  • 4
5 Comments
 
LVL 18

Accepted Solution

by:
x-men earned 500 total points
ID: 34238100
as simple as: (make sure you get the full path right ;) )

EXEC @pc= master..xp_cmdshell  'c:\Program Files (x86)\...\dtexec /f "F:\SSIS\package1.dtsx"'
 
0
 

Author Comment

by:ComfortablyNumb
ID: 34238531
Hi x-men,

I tried that with :

'c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\dtexec /f "F:\SSIS\package1.dtsx"'

Open in new window


but get the following error when run:

'c:\Program' is not recognized as an internal or external command,
operable program or batch file.
NULL

I know I'm doing something dumb somewhere!

Numb

0
 

Author Comment

by:ComfortablyNumb
ID: 34238551
sorry didnt put in the full snippit:

EXEC @pc= master..xp_cmdshell  'c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\dtexec /f "F:\SSIS\ProductCore8.dtsx"'

Open in new window

0
 

Author Comment

by:ComfortablyNumb
ID: 34238619
For some reason the SP disnt like the spaces between folder names. Putting "" around them seems to have fixed  that...

'c:\"Program Files (x86)"\"Microsoft SQL Server"\100\DTS\Binn\dtexec /f "F:\SSIS\ProductCore8.dtsx"'

Open in new window

0
 

Author Closing Comment

by:ComfortablyNumb
ID: 34238628
Thansk for your help x-men. Ya got me sorted!
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now