Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 24th, 2006, 12:17 PM
Registered User
 
Join Date: May 2006
Location: , , .
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.
  #2 (permalink)  
Old May 29th, 2006, 05:39 PM
Friend of Wrox
 
Join Date: Dec 2005
Location: , AZ, .
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
  #3 (permalink)  
Old October 25th, 2006, 09:28 AM
Registered User
 
Join Date: Oct 2006
Location: , , .
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...

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 04:13 PM.


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