dbTalk Databases Forums  

DTS fail with access denied to open file

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


Discuss DTS fail with access denied to open file in the microsoft.public.sqlserver.dts forum.



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

Default DTS fail with access denied to open file - 12-04-2003 , 09:33 AM






Any ideas on the following error message, DTS package
owner is myself and I am a local Admin. Job ruuning is
under my domain account.

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. Process Exit Code 1. The step failed.

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

Default Re: DTS fail with access denied to open file - 12-04-2003 , 09:52 AM






Are you a member of the sysadmin role on the SQL Server?
If you are then it is executing under the SQL Server Agent service account
If not then it is executing under the proxy account. Do they have
permissions onto the file ?
Is the file local ? Are you using mapped drives? If yes then what about
using UNC?



--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Tracy Yang" <tracylyang (AT) hotmail (DOT) com> wrote

Quote:
Any ideas on the following error message, DTS package
owner is myself and I am a local Admin. Job ruuning is
under my domain account.

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. Process Exit Code 1. The step failed.



Reply With Quote
  #3  
Old   
Tracy Yang
 
Posts: n/a

Default Re: DTS fail with access denied to open file - 12-04-2003 , 10:24 AM



Yes, I am a local admin on OS and sysadmin role on SQL
server, the file is local and full control to Everyone.

Quote:
-----Original Message-----
Are you a member of the sysadmin role on the SQL Server?
If you are then it is executing under the SQL Server
Agent service account
If not then it is executing under the proxy account. Do
they have
permissions onto the file ?
Is the file local ? Are you using mapped drives? If yes
then what about
using UNC?



--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Tracy Yang" <tracylyang (AT) hotmail (DOT) com> wrote in message
news:005701c3ba7c$002c7350$a101280a (AT) phx (DOT) gbl...
Any ideas on the following error message, DTS package
owner is myself and I am a local Admin. Job ruuning is
under my domain account.

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. Process Exit Code 1. The step
failed.


.


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

Default Re: DTS fail with access denied to open file - 12-04-2003 , 12:49 PM



OK so the job will be executing under the account that SQL Server Agent
starts under. Can you log in as that person to the box itself and run the
package ?

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Tracy Yang" <tracylyang (AT) hotmail (DOT) com> wrote

Quote:
Yes, I am a local admin on OS and sysadmin role on SQL
server, the file is local and full control to Everyone.

-----Original Message-----
Are you a member of the sysadmin role on the SQL Server?
If you are then it is executing under the SQL Server
Agent service account
If not then it is executing under the proxy account. Do
they have
permissions onto the file ?
Is the file local ? Are you using mapped drives? If yes
then what about
using UNC?



--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Tracy Yang" <tracylyang (AT) hotmail (DOT) com> wrote in message
news:005701c3ba7c$002c7350$a101280a (AT) phx (DOT) gbl...
Any ideas on the following error message, DTS package
owner is myself and I am a local Admin. Job ruuning is
under my domain account.

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. Process Exit Code 1. The step
failed.


.




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.