dbTalk Databases Forums  

Problem importing data from Excel file with a job

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


Discuss Problem importing data from Excel file with a job in the microsoft.public.sqlserver.dts forum.



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

Default Problem importing data from Excel file with a job - 03-10-2009 , 09:25 AM






Hi,

I try to import data fron an excel file into a table in Sql 2005 Database
I create an SSIS and export the SSIS on the server
When I execute the SSIS everything works fine
Soon as I create a job to exectue the SSIS
I received this eroor message

da is a domaine administrator

Executed as user: FN\da. Microsoft (R) SQL Server Execute Package Utility
Version 9.00.4035.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All
rights reserved. Argument "Excel" for option "connection" is not valid.
The command line parameters are invalid. The step failed.


The connection string for the excel file is :

Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=I:\3RDPARTY\AnnuaireTelephonique.xls;Extend ed Properties="EXCEL
8.0;HDR=YES";

I also change the map drive I for
\\ServerName\3RDPARTY\AnnuaireTelephonique.xls
Still does not work. I got the same error message

Do you have any idea!

Thanks in advance.


Reply With Quote
  #2  
Old   
Todd C
 
Posts: n/a

Default RE: Problem importing data from Excel file with a job - 03-12-2009 , 01:21 PM






Does your server have the correct drivers (Jet, etc) to read an Excel file?
--
Todd C

[If this response was helpful, please indicate by clicking the appropriate
answer at the bottom]


"GC" wrote:

Quote:
Hi,

I try to import data fron an excel file into a table in Sql 2005 Database
I create an SSIS and export the SSIS on the server
When I execute the SSIS everything works fine
Soon as I create a job to exectue the SSIS
I received this eroor message

da is a domaine administrator

Executed as user: FN\da. Microsoft (R) SQL Server Execute Package Utility
Version 9.00.4035.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All
rights reserved. Argument "Excel" for option "connection" is not valid.
The command line parameters are invalid. The step failed.


The connection string for the excel file is :

Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=I:\3RDPARTY\AnnuaireTelephonique.xls;Extend ed Properties="EXCEL
8.0;HDR=YES";

I also change the map drive I for
\\ServerName\3RDPARTY\AnnuaireTelephonique.xls
Still does not work. I got the same error message

Do you have any idea!

Thanks in advance.


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.