12/14/2025 5:41:18 AM
|
| |
| 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!
Forum to discuss using SQL SSIS or DTS to perform SalesLogix imports. View the code of conduct for posting guidelines.
|
|
|
|
FTP in on SQL DTS
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? |
|
|
|
Re: FTP in on SQL DTS
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 |
|
|
|
Re: FTP in on SQL DTS
Posted: 02 Feb 09 9:29 PM
|
Thank you Phil! I know this was a while back but you had the solution. |
|
|
| |
|
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!
|
|
|
|
|
|
|
|