Solved

Upgrade to SQL Server 2008 having trouble with SSIS connections

Posted on 2010-09-14
23
1,063 Views
Last Modified: 2013-11-10
I am getting this error in oneof my SSIS packages that was built in VS 2005 and I have upgraded to 2008 and now having trouble with some packages...

[Connection manager "Excel Connection Manager 2"] Error: SSIS Error Code DTS_E_OLEDB_EXCEL_NOT_SUPPORTED: The Excel Connection Manager is not supported in the 64-bit version of SSIS, as no OLE DB provider is available.

Any ideas?
0
Comment
Question by:johnnyaction
  • 11
  • 9
  • 2
  • +1
23 Comments
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 33672677
Since 64 bit Excel drivers are not available, you need to execute your procedure in 32 bit mode to get it work.
Detailed info below

http://sqlserver.posterous.com/excel-connections-in-ssis-64-b
0
 
LVL 1

Author Comment

by:johnnyaction
ID: 33673066
ok I seemed to get by that but now Im getting an access denied on my C:\ for one of my file system tasks? Could that be related? FYI...I am only getting the error when I run the sql job that calls the packages via steps. I can run it in BIDS
0
 
LVL 1

Author Comment

by:johnnyaction
ID: 33673412
I was reading about a checkbox on the job step portion of a sql job where you can select to run in 32 bit mode? I cant seem to find it though? Any ideas?
0
 
LVL 30

Expert Comment

by:Reza Rad
ID: 33673544
Is this problem only exists when you run ssis package as job?
or you get it when you run it from BIDS either?
0
 
LVL 1

Author Comment

by:johnnyaction
ID: 33673560
I can run the packages individually but not from a sql job?
0
 
LVL 30

Expert Comment

by:Reza Rad
ID: 33673596
did you deployed packages on same machine which you tested package on it with BIDS? or this is different machine which runs job under it?
0
 
LVL 1

Author Comment

by:johnnyaction
ID: 33673627
I upgraded to a new sql server 2008 box. I took all the jobs that were running under the old sql 05 server and I am now trying to run them on the new 08 box. I copied all the dtsx packages from the old server to the new and I copied all the jobs that call these dtsx packages and I am trying to run them from a sql job. Any thoughts?
0
 
LVL 30

Expert Comment

by:Reza Rad
ID: 33673919
if your new sql server 2008 box is 64 bit, try executing packages with DTEXEC 32 bit version.
you can find 32 bit DTEXEC here:

<drive>:\Program Files(x86)\Microsoft SQL Server\100\DTS\Binn

0
 
LVL 30

Expert Comment

by:Reza Rad
ID: 33673928
0
 
LVL 1

Author Comment

by:johnnyaction
ID: 33674748
I put this in the command line of my jobs step

/FILE "E:\Microsoft SQL Server\SSIS\Data Warehouse SSIS\Data Warehouse SSIS\Generate Net Position List.dtsx"  /X86  /CHECKPOINTING OFF /REPORTING E

Still will not work. I added the /x86 I saw in an article this was what I should do. Still doesnt work though
0
 
LVL 1

Author Comment

by:johnnyaction
ID: 33674753
And I have made everything 64bit=False
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 30

Accepted Solution

by:
Reza Rad earned 500 total points
ID: 33675375
To run a package in 32-bit mode from a 64-bit version of SQL Server Agent, select Use 32 bit runtime on the Execution options tab of the New Job Step dialog box.
0
 
LVL 1

Author Comment

by:johnnyaction
ID: 33675441
I have tried to find where that option is in my job step but I cannot find it. See attached
EE.docx
0
 
LVL 30

Expert Comment

by:Reza Rad
ID: 33675525
amazing,
my configuration is different.
look at attachment!

1.jpg
0
 
LVL 1

Author Comment

by:johnnyaction
ID: 33675581
Do I have to install a 32 bit environment somehow? I have seen some articles where they tell me to check that checkbox but I dont know how to make it appear?
0
 
LVL 30

Expert Comment

by:Reza Rad
ID: 33675607
is your sql server agent under 2008?
0
 
LVL 1

Author Comment

by:johnnyaction
ID: 33675743
I am assuming so. Its a SQL Server 2008 R2 installation. I did not have any service packs installed so Im installing SP1 now.
0
 
LVL 30

Expert Comment

by:Reza Rad
ID: 33675765
a workaround for this :
use the Operating System type of job step, and refer to the 32-bit version of DTExec specifically in the command line that you use, and manually specify arguments to DTExec
32-bit DTExec is here:
<drive>:\Program Files(x86)\Microsoft SQL Server\100\DTS\Binn

reference:
http://toddmcdermid.blogspot.com/2009/10/quick-reference-ssis-in-32-and-64-bits.html



0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 33679174
Try this from command prompt:

"C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\dtexec.exe" /f "E:\Microsoft SQL Server\SSIS\Data Warehouse SSIS\Data Warehouse SSIS\Generate Net Position List.dtsx" /X86
0
 
LVL 1

Author Comment

by:johnnyaction
ID: 33695412
Ive tried all suggestions but I am still having issues. Anything else you could recommend?
0
 
LVL 30

Expert Comment

by:Reza Rad
ID: 33695605
what is your ssis package consists?
do you used execute process task?
do you used execute package task?
do you used script task?

in any of above tasks you need to do changes to run under 32 bit. you need to read this great article of Todd carefully line by line:

http://toddmcdermid.blogspot.com/2009/10/quick-reference-ssis-in-32-and-64-bits.html


0
 
LVL 3

Expert Comment

by:novaspoonman
ID: 33695809
Reza is correct. This is definitely a 32/64-bit issue. There is no 64-bit provider for Excel.

Did you happen to install a 64-bit version of BIDS with a 32-bit version of SQL Server and SSIS? That would explain why the 32-bit runtime checkbox is missing.

0
 
LVL 1

Author Closing Comment

by:johnnyaction
ID: 33824946
thanks
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PL/SQL query 14 46
Sql query 34 19
How many Lat/Long for a single UK Postcode 5 12
sql query Help 12 17
Introduced in Microsoft SQL Server 2005, the Copy Database Wizard (http://msdn.microsoft.com/en-us/library/ms188664.aspx) is useful in copying databases and associated objects between SQL instances; therefore, it is a good migration and upgrade tool…
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

705 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

17 Experts available now in Live!

Get 1:1 Help Now