dbTalk Databases Forums  

DTS Error... while reading file from mapped drive

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


Discuss DTS Error... while reading file from mapped drive in the microsoft.public.sqlserver.dts forum.



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

Default DTS Error... while reading file from mapped drive - 10-12-2004 , 02:21 PM






In a DTS package I am using TextFile as data source. I have specified the
source file as M:\XXX\xxx.dat. Where M is the mapped network drive. The same
package will not run when I schedule it. It says "Error opening datafile:
Access is denied".

Is it not possible to run successfully the scheduled DTS package when we
have a source file like this?

I am running SQL Server 2000.

Please advice.

Anil



Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: DTS Error... while reading file from mapped drive - 10-12-2004 , 06:49 PM






In message <eL$veDJsEHA.1232 (AT) TK2MSFTNGP11 (DOT) phx.gbl>, Anil
<AnilGowda76 (AT) hotmail (DOT) com> writes
Quote:
In a DTS package I am using TextFile as data source. I have specified the
source file as M:\XXX\xxx.dat. Where M is the mapped network drive. The same
package will not run when I schedule it. It says "Error opening datafile:
Access is denied".

Is it not possible to run successfully the scheduled DTS package when we
have a source file like this?

Mapped drives are specific to a users profile, so they are not really a
good thing to be using through a service. Change the path to use a UNC
path instead, e.g.

\\ServerName\ShareName\XXX\xxx.dat

You may also be having security problems as well, which applies to
either method. See-

INF: How to Run a DTS Package as a Scheduled Job
(http://support.microsoft.com/kb/q269074/)

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



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.