![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I apologize for the dual posting in microsoft.public.sqlserver, now... [ To continue ] I have a DTS package that imports a text file from a UNC path. Right clincking and executing under Enterprise Manager produces successul imports of data. However running the DTS package by invoking it from within a stored procedure causes the package to fail with the following results. DTSRun: Loading... DTSRun: Executing... DTSRun OnStart: DTSStep_DTSDataPumpTask_1 DTSRun OnError: DTSStep_DTSDataPumpTask_1, Error = -2147217887 (80040E21) Error string: Error opening datafile: Access is denied. Error source: Microsoft Data Transformation Services Flat File Rowset Provider Help file: DTSFFile.hlp Help context: 0 Error Detail Records: Error: 5 (5); Provider Error: 5 (5) Error string: Error opening datafile: Access is denied. Error source: Microsoft Data Transformation Services Flat File Rowset Provider Help file: DTSFFile.hlp Help context: 0 DTSRun OnFinish: DTSStep_DTSDataPumpTask_1 DTSRun: Package execution complete. Can someone please explain to me what the problem is here? I am invoking the DTS package in the following manner within the storded procedure. exec master..xp_cmdshell 'dtsrun /Sdsisql /NPryor_Import_Seminar_Data /E' ; --, NO_OUTPUT; Thanks, Andrew |
#3
| |||
| |||
|
|
I apologize for the dual posting in microsoft.public.sqlserver, now... [ To continue ] I have a DTS package that imports a text file from a UNC path. Right clincking and executing under Enterprise Manager produces successul imports of data. However running the DTS package by invoking it from within a stored procedure causes the package to fail with the following results. DTSRun: Loading... DTSRun: Executing... DTSRun OnStart: DTSStep_DTSDataPumpTask_1 DTSRun OnError: DTSStep_DTSDataPumpTask_1, Error = -2147217887 (80040E21) Error string: Error opening datafile: Access is denied. Error source: Microsoft Data Transformation Services Flat File Rowset Provider Help file: DTSFFile.hlp Help context: 0 Error Detail Records: Error: 5 (5); Provider Error: 5 (5) Error string: Error opening datafile: Access is denied. Error source: Microsoft Data Transformation Services Flat File Rowset Provider Help file: DTSFFile.hlp Help context: 0 DTSRun OnFinish: DTSStep_DTSDataPumpTask_1 DTSRun: Package execution complete. Can someone please explain to me what the problem is here? I am invoking the DTS package in the following manner within the storded procedure. exec master..xp_cmdshell 'dtsrun /Sdsisql /NPryor_Import_Seminar_Data /E' ; --, NO_OUTPUT; Thanks, Andrew |
#4
| |||
| |||
|
|
This is definately a permissions problem. Any idea about how to go about solving it? "Andrew" <afriedl (AT) data-source (DOT) com> wrote in message news:llTXa.63517$Mg1.43330 (AT) fe07 (DOT) atl2.webusenet.com... I apologize for the dual posting in microsoft.public.sqlserver, now... [ To continue ] I have a DTS package that imports a text file from a UNC path. Right clincking and executing under Enterprise Manager produces successul imports of data. However running the DTS package by invoking it from within a stored procedure causes the package to fail with the following results. DTSRun: Loading... DTSRun: Executing... DTSRun OnStart: DTSStep_DTSDataPumpTask_1 DTSRun OnError: DTSStep_DTSDataPumpTask_1, Error = -2147217887 (80040E21) Error string: Error opening datafile: Access is denied. Error source: Microsoft Data Transformation Services Flat File Rowset Provider Help file: DTSFFile.hlp Help context: 0 Error Detail Records: Error: 5 (5); Provider Error: 5 (5) Error string: Error opening datafile: Access is denied. Error source: Microsoft Data Transformation Services Flat File Rowset Provider Help file: DTSFFile.hlp Help context: 0 DTSRun OnFinish: DTSStep_DTSDataPumpTask_1 DTSRun: Package execution complete. Can someone please explain to me what the problem is here? I am invoking the DTS package in the following manner within the storded procedure. exec master..xp_cmdshell 'dtsrun /Sdsisql /NPryor_Import_Seminar_Data /E' ; --, NO_OUTPUT; Thanks, Andrew |
![]() |
| Thread Tools | |
| Display Modes | |
| |