dbTalk Databases Forums  

Problem Calling DTS from ASP

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Problem Calling DTS from ASP in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chad
 
Posts: n/a

Default Problem Calling DTS from ASP - 11-18-2003 , 02:17 PM






I am trying to call a DTS package from an ASP page. I didn't want to
go through the permissions nightmare so I created a DLL and installed
it under COM+. I am calling it from an ASP page and getting
the following message:

Package FHLSubs failed

Error in Object Execution
Number: -2147417848
Source: SQLDTS_ExecDTS
Description: Automation error The object invoked has disconnected from
its clients.

Now, I can create a VB EXE using basically the same code and it works
fine. But when I invoke it from the ASP page, I get the
diconnect error.

I've traced through the code and it is getting past the CreateObject
line and Execute statement...but it is then disconnecting. Has anyone
seen this, or gotten this to work? Any help would be
greatly appreciated. Thanks!

CS

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Problem Calling DTS from ASP - 11-18-2003 , 03:02 PM






In article <87feb722.0311181217.6b34aed (AT) posting (DOT) google.com>, Chad
<chadscc (AT) hotmail (DOT) com> writes
Quote:
I am trying to call a DTS package from an ASP page. I didn't want to
go through the permissions nightmare so I created a DLL and installed
it under COM+. I am calling it from an ASP page and getting
the following message:

Package FHLSubs failed

Error in Object Execution
Number: -2147417848
Source: SQLDTS_ExecDTS
Description: Automation error The object invoked has disconnected from
its clients.

Now, I can create a VB EXE using basically the same code and it works
fine. But when I invoke it from the ASP page, I get the
diconnect error.

I've traced through the code and it is getting past the CreateObject
line and Execute statement...but it is then disconnecting. Has anyone
seen this, or gotten this to work? Any help would be
greatly appreciated. Thanks!

CS
What have you done since your last post?

What is the code that errors? Please indicate the line that errors. What
is the source of the error you give above?



--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.