Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Connecting/Importing from a remote csv file

Author  Topic 

mitchelt
Starting Member

16 Posts

Posted - 2006-10-23 : 14:00:02
Connecting/Importing from a remote csv file using UNC connection.

Hi,

I created a DTS package with a connection similar to this example:
*fake IP

FILE: \\10.15.1.201\c$\websites\localuser\sitename\foldername\filename.csv

The package is on our SQL Server Box and the file is on a different Box...our web server.

If I run the DTS package manually it works fine, the records are imported.

When I schedule the package to run automatically it fails on step one which is the connection.

Any clues as to why this is happening?

Thanks!

Mitch

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2006-10-23 : 14:04:22
Yes. The account for SQL Server does not have authorization or permission to access the file.


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

mitchelt
Starting Member

16 Posts

Posted - 2006-11-07 : 10:15:43
Peter,

Sorry for the delayed response...thanks for the info.

I decided that I did not want to mess with the security settings so I just setup the DTS to FTP IN the file, import it then delete the file from the local and remote computer.

Mitch
Go to Top of Page
   

- Advertisement -