Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, April 25, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Data & Imports Forums - SSIS/DTS
Forum to discuss using SQL SSIS or DTS to perform SalesLogix imports. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SSIS/DTS | New ThreadView:  Search:  
 Author  Thread: FTP in on SQL DTS
Ian Fitzpatrick
Posts: 146
 
FTP in on SQL DTSYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Feb 08 10:38 AM
I have a SQL (2000) DTS that was recently moved from one server to another and now the DTS doesn't work.

Here are the details on the DTS:
1. It clears out a table in my staging table
2. It executes a batch file to copy a CSV file from an FTP server
3. Then the DTS connects to the CSV file and imports the file into the Staging table.
4. Various SQL translations are preformed to the data from the CSV file.

It appears to be successful in the logs, but the FTPin.bat script isn't getting fired so the data that is getting imported is yesterday's data.

Here is the command that I'm using to run the FTP file
EXEC master..xp_cmdshell 'F:\SLXDATA\ConcurDumps\ftpin.bat'

Also, I can log onto the server, click on ftpin.bat and then execute the DTS by hand and everything works fine, so I think the problem is in the scheduling.

The DTS is being run by a SQL user that should have the appropriate rights, but I would like to check on that, what should I look for? Any other ideas what could be causing this?
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: FTP in on SQL DTSYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Feb 08 3:54 AM
Check which user is running the SQL Agent service. For the (scheduled) file copy operation to work, you may need to have a domain user running the service and not just a local system account.

Phil
[Reply][Quote]
Ian Fitzpatrick
Posts: 146
 
Re: FTP in on SQL DTSYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Feb 09 9:29 PM
Thank you Phil! I know this was a while back but you had the solution.
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: FTP in on SQL DTSYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Feb 09 9:36 PM
Great!
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 4/25/2024 10:10:19 AM