![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a DTS job that accesses a registered dll via the following code method in an ActiveX script task: set AxCDownloadManager1 = CreateObject("DSTHTTPDL.DownloadManager.1") It works great in development (SQL Server 2000 on Windows 2000). I have scheduled the DTS to run in a job. Both the DTS package and the job execute fine. In production (SQL Server 2000 on Windows 2000), the DTS package runs but when I try to execute the job, it comes right back with a success status when it should take minutes to run. The first thing my code does is create the object above. I know it's not getting past this because I can check for return values, and I'm just not getting anything back. For some reason, I believe it's not getting a handle to it. I'm thinking it could be a user rights issue, but are not for certain. The job runs under 'sa' account. It is setup identical to how we are running it in development. We have checked the registry on both boxes to ensure the appropriate class id's, program id's, etc are in place. Any thoughts, suggestions would be greatly appreciated!! Patrick |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Thanks for the info! I set the logging on and unfortunately since it returns a 'success' status I'm not getting any additional info in the log files. The owner of the job is 'sa'. Is this the id I should be logging onto the actual server with to test it out? This is a SQL Server id which is not registered on the Windows side. Should I be using another id? How can I find the appropriate SQL Server agent service id? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
We tried it with no luck. The job still does not execute completely. It returns back 'success' so there is nothing to look for in the log files. We're going to look into adding more checks and balances in the code to see if we can get anything back from the CreateObject line. We have tried adjusting from user to server authentication and vice versa. We have tried assigning various owners to the job. What I don't get is that it works great on our development server but not on the production server. I'll keep you posted if I find anything. Thanks again! *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
I believe I performed what you are suggesting. I copied the actual "command" line text (i.e DTSRun /~Z0x7A6A5263B86BA964897F5789914295E89BAA7BF2BFE5A1 07E0220536E1499ED3F58 5FBCFE9B42FABB877A6BE0B2619FE5246C694FE8FBD8B7A456 5CB27CBDB10E77A05E3A58 15C2716C4ED86FB8202EEE99CD944781E298F6 ) that is generated in the job and executed it via a command prompt on the actual server and it worked great. This was outside the SQL Server Agent. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#9
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |