Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
|
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 24th, 2006, 12:17 PM
Registered User
 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ETL hangs when scheduled

I have an ETL that uses ActiveX script to connect to SFTP and download files. The ActiveX script creates an object of type "CuteFTPPro.TEConnection". The ETL successfully runs when manually executed. But, the ETL fails when scheduled. Fails with the error "Cannot create object of type CuteFTPPro.TEConnection"

Code in the script which gives an error when scheduled:
Set objConnectionSite = CreateObject("CuteFTPPro.TEConnection")

Please help me fix this error.
 
Old May 29th, 2006, 05:39 PM
Friend of Wrox
 
Join Date: Dec 2005
Posts: 146
Thanks: 0
Thanked 1 Time in 1 Post
Default

I assume this is DTS on SQL 2000.

In any event, has CuteFtpPro been installed on the SQL Server?

When you run the package by hand you are running the package on the machine where you are logged in, not the server (unless physically at the server, or logged in through terminal server). So I bet that you have Cute installed on your workstation but not on your server.

David Lundell
Principal Consultant and Trainer
www.mutuallybeneficial.com
 
Old October 25th, 2006, 09:28 AM
Registered User
 
Join Date: Oct 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sounds to me that the COM object needs to be authenticated - within the snapin for com objects, you can select the account that the COm object runs with... I had the same problem. I ended up with a service account.

Better late than never...






Similar Threads
Thread Thread Starter Forum Replies Last Post
Incremental ETL KelMan BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 1 February 27th, 2006 09:01 PM
Server hangs on Me z323791 Classic ASP Basics 1 March 28th, 2005 07:19 PM
Why an ETL hangs when scheduled surileo SQL Server DTS 1 March 10th, 2005 02:56 AM
localhost - hangs Gardener Classic ASP Basics 2 July 14th, 2004 04:42 PM
My Program Hangs! zaimi Visual C++ 1 May 21st, 2004 06:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.