dbTalk Databases Forums  

DTS Scheduled Package Fails but runs manually

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


Discuss DTS Scheduled Package Fails but runs manually in the microsoft.public.sqlserver.dts forum.



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

Default DTS Scheduled Package Fails but runs manually - 04-15-2005 , 10:39 AM






I have a tab deliminted task that imports data into a SQL Table that runs
succesfully if executed. But when I shedule this task if fails. The text
file is on a server in a remote location. I have mapped a local drive to
this path and when I run the scheduled job it gives me the following
information.

DTSRun: Loading... DTSRun: Executing... DTSRun OnStart:
DTSStep_DTSDataPumpTask_1 DTSRun OnError: DTSStep_DTSDataPumpTask_1, Error
= -2147217887 (80040E21) Error string: Error opening datafile: The
system cannot find the path specified. Error source: Microsoft Data
Transformation Services Flat File Rowset Provider Help file:
DTSFFile.hlp Help context: 0 Error Detail Records: Error: 3
(3); Provider Error: 3 (3) Error string: Error opening datafile: The
system cannot find the path specified. 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. Process
Exit Code 1. The step failed.

Any ideas why it runs manually and not through a schedule?

TIA

Reply With Quote
  #2  
Old   
Francesco Anti
 
Posts: n/a

Default Re: DTS Scheduled Package Fails but runs manually - 04-15-2005 , 10:48 AM






The scheduled package runs under SQL Server Agent account. Usually it is
"local system", who has no right to access remote folders.
Make sure SQL server Agent service runs under a proper account (? a domain
administrator, for example ).

Francesco Anti

"Lontae Jones" <LontaeJones (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have a tab deliminted task that imports data into a SQL Table that runs
succesfully if executed. But when I shedule this task if fails. The text
file is on a server in a remote location. I have mapped a local drive to
this path and when I run the scheduled job it gives me the following
information.

DTSRun: Loading... DTSRun: Executing... DTSRun OnStart:
DTSStep_DTSDataPumpTask_1 DTSRun OnError: DTSStep_DTSDataPumpTask_1,
Error
= -2147217887 (80040E21) Error string: Error opening datafile: The
system cannot find the path specified. Error source: Microsoft
Data
Transformation Services Flat File Rowset Provider Help file:
DTSFFile.hlp Help context: 0 Error Detail Records: Error:
3
(3); Provider Error: 3 (3) Error string: Error opening datafile:
The
system cannot find the path specified. 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. Process
Exit Code 1. The step failed.

Any ideas why it runs manually and not through a schedule?

TIA



Reply With Quote
  #3  
Old   
Lontae Jones
 
Posts: n/a

Default Re: DTS Scheduled Package Fails but runs manually - 04-15-2005 , 11:31 AM



Its a Domain account but cant find the path but if I execute the package
myself it runs successfully. Same error.

"Francesco Anti" wrote:

Quote:
The scheduled package runs under SQL Server Agent account. Usually it is
"local system", who has no right to access remote folders.
Make sure SQL server Agent service runs under a proper account (? a domain
administrator, for example ).

Francesco Anti

"Lontae Jones" <LontaeJones (AT) discussions (DOT) microsoft.com> wrote in message
news:3752DE49-2A8D-4D66-8D30-6F70DC2BE29D (AT) microsoft (DOT) com...
I have a tab deliminted task that imports data into a SQL Table that runs
succesfully if executed. But when I shedule this task if fails. The text
file is on a server in a remote location. I have mapped a local drive to
this path and when I run the scheduled job it gives me the following
information.

DTSRun: Loading... DTSRun: Executing... DTSRun OnStart:
DTSStep_DTSDataPumpTask_1 DTSRun OnError: DTSStep_DTSDataPumpTask_1,
Error
= -2147217887 (80040E21) Error string: Error opening datafile: The
system cannot find the path specified. Error source: Microsoft
Data
Transformation Services Flat File Rowset Provider Help file:
DTSFFile.hlp Help context: 0 Error Detail Records: Error:
3
(3); Provider Error: 3 (3) Error string: Error opening datafile:
The
system cannot find the path specified. 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. Process
Exit Code 1. The step failed.

Any ideas why it runs manually and not through a schedule?

TIA




Reply With Quote
  #4  
Old   
Francesco Anti
 
Posts: n/a

Default Re: DTS Scheduled Package Fails but runs manually - 04-15-2005 , 12:05 PM



Probably SQL server agent can't retrieve the mapping you have done...try to
refer to the remote folder using \\remoteserver\folder

Francesco Anti

"Lontae Jones" <LontaeJones (AT) discussions (DOT) microsoft.com> wrote

Quote:
Its a Domain account but cant find the path but if I execute the package
myself it runs successfully. Same error.

"Francesco Anti" wrote:

The scheduled package runs under SQL Server Agent account. Usually it is
"local system", who has no right to access remote folders.
Make sure SQL server Agent service runs under a proper account (? a
domain
administrator, for example ).

Francesco Anti

"Lontae Jones" <LontaeJones (AT) discussions (DOT) microsoft.com> wrote in message
news:3752DE49-2A8D-4D66-8D30-6F70DC2BE29D (AT) microsoft (DOT) com...
I have a tab deliminted task that imports data into a SQL Table that
runs
succesfully if executed. But when I shedule this task if fails. The
text
file is on a server in a remote location. I have mapped a local drive
to
this path and when I run the scheduled job it gives me the following
information.

DTSRun: Loading... DTSRun: Executing... DTSRun OnStart:
DTSStep_DTSDataPumpTask_1 DTSRun OnError: DTSStep_DTSDataPumpTask_1,
Error
= -2147217887 (80040E21) Error string: Error opening datafile:
The
system cannot find the path specified. Error source: Microsoft
Data
Transformation Services Flat File Rowset Provider Help file:
DTSFFile.hlp Help context: 0 Error Detail Records:
Error:
3
(3); Provider Error: 3 (3) Error string: Error opening datafile:
The
system cannot find the path specified. 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.
Process
Exit Code 1. The step failed.

Any ideas why it runs manually and not through a schedule?

TIA






Reply With Quote
  #5  
Old   
Lontae Jones
 
Posts: n/a

Default Re: DTS Scheduled Package Fails but runs manually - 04-18-2005 , 10:04 AM



I tried an UNC path but it couldnt find the path.

I am getting the same error. Any Ideas?

DTSRun: Loading... DTSRun: Executing... DTSRun OnStart:
DTSStep_DTSDataPumpTask_1 DTSRun OnError: DTSStep_DTSDataPumpTask_1, Error
= -2147217887 (80040E21) Error string: Error opening datafile: The
system cannot find the path specified. Error source: Microsoft Data
Transformation Services Flat File Rowset Provider Help file:
DTSFFile.hlp Help context: 0 Error Detail Records: Error: 3
(3); Provider Error: 3 (3) Error string: Error opening datafile: The
system cannot find the path specified. 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. Process
Exit Code 1. The step failed.

"Francesco Anti" wrote:

Quote:
Probably SQL server agent can't retrieve the mapping you have done...try to
refer to the remote folder using \\remoteserver\folder

Francesco Anti

"Lontae Jones" <LontaeJones (AT) discussions (DOT) microsoft.com> wrote in message
news:75904819-F819-4778-9465-8C04E83C78C8 (AT) microsoft (DOT) com...
Its a Domain account but cant find the path but if I execute the package
myself it runs successfully. Same error.

"Francesco Anti" wrote:

The scheduled package runs under SQL Server Agent account. Usually it is
"local system", who has no right to access remote folders.
Make sure SQL server Agent service runs under a proper account (? a
domain
administrator, for example ).

Francesco Anti

"Lontae Jones" <LontaeJones (AT) discussions (DOT) microsoft.com> wrote in message
news:3752DE49-2A8D-4D66-8D30-6F70DC2BE29D (AT) microsoft (DOT) com...
I have a tab deliminted task that imports data into a SQL Table that
runs
succesfully if executed. But when I shedule this task if fails. The
text
file is on a server in a remote location. I have mapped a local drive
to
this path and when I run the scheduled job it gives me the following
information.

DTSRun: Loading... DTSRun: Executing... DTSRun OnStart:
DTSStep_DTSDataPumpTask_1 DTSRun OnError: DTSStep_DTSDataPumpTask_1,
Error
= -2147217887 (80040E21) Error string: Error opening datafile:
The
system cannot find the path specified. Error source: Microsoft
Data
Transformation Services Flat File Rowset Provider Help file:
DTSFFile.hlp Help context: 0 Error Detail Records:
Error:
3
(3); Provider Error: 3 (3) Error string: Error opening datafile:
The
system cannot find the path specified. 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.
Process
Exit Code 1. The step failed.

Any ideas why it runs manually and not through a schedule?

TIA







Reply With Quote
  #6  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS Scheduled Package Fails but runs manually - 04-18-2005 , 01:59 PM



If the account under which the job runs is the local system account then it cannot see off its own HDD no matter how hard you try

http://support.microsoft.com/?kbid=269074

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"Lontae Jones" <LontaeJones (AT) discussions (DOT) microsoft.com> wrote

Quote:
I tried an UNC path but it couldnt find the path.

I am getting the same error. Any Ideas?

DTSRun: Loading... DTSRun: Executing... DTSRun OnStart:
DTSStep_DTSDataPumpTask_1 DTSRun OnError: DTSStep_DTSDataPumpTask_1, Error
= -2147217887 (80040E21) Error string: Error opening datafile: The
system cannot find the path specified. Error source: Microsoft Data
Transformation Services Flat File Rowset Provider Help file:
DTSFFile.hlp Help context: 0 Error Detail Records: Error: 3
(3); Provider Error: 3 (3) Error string: Error opening datafile: The
system cannot find the path specified. 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. Process
Exit Code 1. The step failed.

"Francesco Anti" wrote:

Probably SQL server agent can't retrieve the mapping you have done...try to
refer to the remote folder using \\remoteserver\folder

Francesco Anti

"Lontae Jones" <LontaeJones (AT) discussions (DOT) microsoft.com> wrote in message
news:75904819-F819-4778-9465-8C04E83C78C8 (AT) microsoft (DOT) com...
Its a Domain account but cant find the path but if I execute the package
myself it runs successfully. Same error.

"Francesco Anti" wrote:

The scheduled package runs under SQL Server Agent account. Usually it is
"local system", who has no right to access remote folders.
Make sure SQL server Agent service runs under a proper account (? a
domain
administrator, for example ).

Francesco Anti

"Lontae Jones" <LontaeJones (AT) discussions (DOT) microsoft.com> wrote in message
news:3752DE49-2A8D-4D66-8D30-6F70DC2BE29D (AT) microsoft (DOT) com...
I have a tab deliminted task that imports data into a SQL Table that
runs
succesfully if executed. But when I shedule this task if fails. The
text
file is on a server in a remote location. I have mapped a local drive
to
this path and when I run the scheduled job it gives me the following
information.

DTSRun: Loading... DTSRun: Executing... DTSRun OnStart:
DTSStep_DTSDataPumpTask_1 DTSRun OnError: DTSStep_DTSDataPumpTask_1,
Error
= -2147217887 (80040E21) Error string: Error opening datafile:
The
system cannot find the path specified. Error source: Microsoft
Data
Transformation Services Flat File Rowset Provider Help file:
DTSFFile.hlp Help context: 0 Error Detail Records:
Error:
3
(3); Provider Error: 3 (3) Error string: Error opening datafile:
The
system cannot find the path specified. 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.
Process
Exit Code 1. The step failed.

Any ideas why it runs manually and not through a schedule?

TIA









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.