Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

How call flat file from another server using dtsx ? Expand / Collapse
Author
Message
Posted Tuesday, January 15, 2013 2:09 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, January 15, 2013 2:29 AM
Points: 2, Visits: 5
I have a problem to call file from another server with dtsx, any one know this?

Jasa SEO dan Konsultan SEO Indonesia
Post #1407095
Posted Tuesday, January 15, 2013 2:17 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Friday, April 12, 2013 3:51 AM
Points: 5,075, Visits: 4,831
What are you trying to do?

Import flat files from Server1 into a database on Server2?

If so ensure that you have setup the correct file shares, use UNC paths in your SSIS package and ensure that the nessesary security has been applied to the share so that the SQL Agent or the proxy account used to run the SSIS package has access.




Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger

Post #1407099
Posted Tuesday, January 15, 2013 2:20 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, January 15, 2013 2:29 AM
Points: 2, Visits: 5
yes but this transfer is using ssis and processed to database directly.

Jasa SEO dan Konsultan SEO Indonesia
Post #1407100
Posted Tuesday, January 15, 2013 2:23 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Friday, April 12, 2013 3:51 AM
Points: 5,075, Visits: 4,831
As detailed, create a file share on Server1, ensure that the nessesary permissions are set on the file share, then use a UNC path to access the server like the below in your flat file connection manager.

\\Server1\ShareName\FlatFile.txt


If you have multple flat files to import use a for each loop, passing in the file name as a variable and using an expression to the flat file connection manager so that the path changes dynamically with each file read from the share.




Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger

Post #1407106
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse