dbTalk Databases Forums  

Error when executing DTS package via ASP.NET in Webserver

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


Discuss Error when executing DTS package via ASP.NET in Webserver in the microsoft.public.sqlserver.dts forum.



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

Default Error when executing DTS package via ASP.NET in Webserver - 09-11-2003 , 04:27 AM






hai,

I have DTS package, It work in Localhost.
But when executing via ASP.NET from Webserver, I
have the following error.

Exception Details: System.Exception: Cannot create ActiveX
component.

my code is

Dim objPack
Const DTSSQLStgFlag_Default = 0
objPack = Createobject("DTS.Package")

Thanks in Advance.

with regards,
Prakash.

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Error when executing DTS package via ASP.NET in Webserver - 09-11-2003 , 04:41 AM






It looks like you have not got the DTS dlls registered on the PC that says
"Execute"

Redistributing DTS with your program
(http://www.sqldts.com/default.aspx?225)

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Prakash" <dharmaprakash (AT) prudencetech (DOT) com> wrote

Quote:
hai,

I have DTS package, It work in Localhost.
But when executing via ASP.NET from Webserver, I
have the following error.

Exception Details: System.Exception: Cannot create ActiveX
component.

my code is

Dim objPack
Const DTSSQLStgFlag_Default = 0
objPack = Createobject("DTS.Package")

Thanks in Advance.

with regards,
Prakash.



Reply With Quote
  #3  
Old   
Prakash
 
Posts: n/a

Default Re: Error when executing DTS package via ASP.NET in Webserver - 09-11-2003 , 05:01 AM



what should i do for execute the DTS pacakge?
If I should distribute, how can i do it?
I have ftp username and pwd.

Please Explain me....

Thanks in advance.,

With regards,
Prakash.
Quote:
-----Original Message-----
It looks like you have not got the DTS dlls registered on
the PC that says
"Execute"

Redistributing DTS with your program
(http://www.sqldts.com/default.aspx?225)

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Prakash" <dharmaprakash (AT) prudencetech (DOT) com> wrote in
message
news:065901c37846$f84ff7a0$a501280a (AT) phx (DOT) gbl...
hai,

I have DTS package, It work in Localhost.
But when executing via ASP.NET from Webserver, I
have the following error.

Exception Details: System.Exception: Cannot create
ActiveX
component.

my code is

Dim objPack
Const DTSSQLStgFlag_Default = 0
objPack = Createobject("DTS.Package")

Thanks in Advance.

with regards,
Prakash.


.


Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Error when executing DTS package via ASP.NET in Webserver - 09-11-2003 , 05:10 AM



There is no problem using DTS from ASP it is simply that DTS is client side
so if you execute it on any box then they need to have the DLLs registered.
They also require permissions to do whatever it is the package does.

Execute a package from Active Server Pages (ASP)
(http://www.sqldts.com/default.aspx?207)

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Prakash" <dharmaprakash (AT) prudencetech (DOT) com> wrote

Quote:
what should i do for execute the DTS pacakge?
If I should distribute, how can i do it?
I have ftp username and pwd.

Please Explain me....

Thanks in advance.,

With regards,
Prakash.
-----Original Message-----
It looks like you have not got the DTS dlls registered on
the PC that says
"Execute"

Redistributing DTS with your program
(http://www.sqldts.com/default.aspx?225)

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Prakash" <dharmaprakash (AT) prudencetech (DOT) com> wrote in
message
news:065901c37846$f84ff7a0$a501280a (AT) phx (DOT) gbl...
hai,

I have DTS package, It work in Localhost.
But when executing via ASP.NET from Webserver, I
have the following error.

Exception Details: System.Exception: Cannot create
ActiveX
component.

my code is

Dim objPack
Const DTSSQLStgFlag_Default = 0
objPack = Createobject("DTS.Package")

Thanks in Advance.

with regards,
Prakash.


.




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.