Groups | Blog | Home
all groups > sql server dts > july 2007 >

sql server dts : ssis


farshad
7/30/2007 5:52:05 AM
I would like to run a ssis package and pass the filename as the parameter to
the package.
This is what I have worked out so far but notice the error message:

xp_cmdshell 'dtexec.exe /f
"d:\sysappl\CEM\SSIS\Imports\Trades\CounterPartyExposureEquitiesImport.dtsx\EqRonnieHK.csv"'

p.s. If I run the package manually, it runs without error.

Error:
Description: Failed to open package file
"d:\sysappl\CEM\SSIS\Imports\Trades\CounterPartyExposureEquitiesImport.dtsx\EqRonnieHK.csv"
due to error 0x80070003 "The system cannot find the path specified.". This
happens when loading a package and the file cannot be opened or loaded
correctly into the XML document. This can be the result of either providing
an incorrect file name was specified when calling LoadPackage or the XML file
was specified and has an incorrect format.



Thanks

Todd C
7/30/2007 12:36:08 PM
Sounds like the server context that you are executing under does not have the
D:\ drive mapped the same. Try using FQDN mapping as in
\\MyServer\MyShare\foler\filename.

HTH
--
Todd C

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


[quoted text, click to view]
AddThis Social Bookmark Button