dbTalk Databases Forums  

ActiveX component cannot create object: 'Excel.Application'

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


Discuss ActiveX component cannot create object: 'Excel.Application' in the microsoft.public.sqlserver.dts forum.



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

Default ActiveX component cannot create object: 'Excel.Application' - 07-15-2003 , 05:03 PM






I have a DTS package in which I am trying to open an Excel
application and dumping data from database. When I execute
the DTS package by itself it runs without a problem. But
when I am calling this DTS package using a Stored
Procedure and I get the Following error "ActiveX component
can't create object: 'Excel.Application'" . The detail
error is below. I would really appreciate if anyone could
help me on this Problem


DTSRun: Loading...
DTSRun: Executing...
DTSRun OnStart: DTSStep_DTSActiveScriptTask_1
DTSRun OnError: DTSStep_DTSActiveScriptTask_1, Error = -
2147220482 (800403FE)
Error string: Error Code: 0
Error Source= Microsoft VBScript runtime error
Error Description: ActiveX component can't create
object: 'Excel.Application'
Error on Line 7
Error source: Microsoft Data Transformation Services
(DTS) Package
Help file: sqldts80.hlp
Help context: 4500
Error Detail Records:
Error: -2147220482 (800403FE); Provider Error: 0 (0)
Error string: Error Code: 0
Error Source= Microsoft VBScript runtime error
Error Description: ActiveX component can't create
object: 'Excel.Application'
Error on Line 7
Error source: Microsoft Data Transformation Services
(DTS) Package
Help file: sqldts80.hlp
Help context: 4500
DTSRun OnFinish: DTSStep_DTSActiveScriptTask_1
DTSRun: Package execution complete.

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

Default Re: ActiveX component cannot create object: 'Excel.Application' - 07-16-2003 , 02:56 AM






My guess is that you are testing the package on your machine running through
EM. This means DTS executes on your machine which has Excel installed. If
using sp_OA or anything else through T-SQL or a scheduled job it runs on the
server, so make sure you have installed Excel on the server.


--
Darren Green
http://www.sqldts.com

"Sree" <sree.rajamani (AT) cosawebtech (DOT) com> wrote

Quote:
I have a DTS package in which I am trying to open an Excel
application and dumping data from database. When I execute
the DTS package by itself it runs without a problem. But
when I am calling this DTS package using a Stored
Procedure and I get the Following error "ActiveX component
can't create object: 'Excel.Application'" . The detail
error is below. I would really appreciate if anyone could
help me on this Problem


DTSRun: Loading...
DTSRun: Executing...
DTSRun OnStart: DTSStep_DTSActiveScriptTask_1
DTSRun OnError: DTSStep_DTSActiveScriptTask_1, Error = -
2147220482 (800403FE)
Error string: Error Code: 0
Error Source= Microsoft VBScript runtime error
Error Description: ActiveX component can't create
object: 'Excel.Application'
Error on Line 7
Error source: Microsoft Data Transformation Services
(DTS) Package
Help file: sqldts80.hlp
Help context: 4500
Error Detail Records:
Error: -2147220482 (800403FE); Provider Error: 0 (0)
Error string: Error Code: 0
Error Source= Microsoft VBScript runtime error
Error Description: ActiveX component can't create
object: 'Excel.Application'
Error on Line 7
Error source: Microsoft Data Transformation Services
(DTS) Package
Help file: sqldts80.hlp
Help context: 4500
DTSRun OnFinish: DTSStep_DTSActiveScriptTask_1
DTSRun: Package execution complete.



Reply With Quote
  #3  
Old   
Samir PAndit
 
Posts: n/a

Default Re: ActiveX component cannot create object: 'Excel.Application' - 07-16-2003 , 03:52 PM



My questions i most people won't install Excel
on there database servers .
is there a way we can put excel dll and
register it instead of instaling the whole excel thing.

Quote:
-----Original Message-----
My guess is that you are testing the package on your
machine running through
EM. This means DTS executes on your machine which has
Excel installed. If
using sp_OA or anything else through T-SQL or a scheduled
job it runs on the
server, so make sure you have installed Excel on the
server.


--
Darren Green
http://www.sqldts.com

"Sree" <sree.rajamani (AT) cosawebtech (DOT) com> wrote in message
news:0a7901c34b1c$de832510$3501280a (AT) phx (DOT) gbl...
I have a DTS package in which I am trying to open an
Excel
application and dumping data from database. When I
execute
the DTS package by itself it runs without a problem. But
when I am calling this DTS package using a Stored
Procedure and I get the Following error "ActiveX
component
can't create object: 'Excel.Application'" . The detail
error is below. I would really appreciate if anyone
could
help me on this Problem


DTSRun: Loading...
DTSRun: Executing...
DTSRun OnStart: DTSStep_DTSActiveScriptTask_1
DTSRun OnError: DTSStep_DTSActiveScriptTask_1, Error
= -
2147220482 (800403FE)
Error string: Error Code: 0
Error Source= Microsoft VBScript runtime error
Error Description: ActiveX component can't create
object: 'Excel.Application'
Error on Line 7
Error source: Microsoft Data Transformation Services
(DTS) Package
Help file: sqldts80.hlp
Help context: 4500
Error Detail Records:
Error: -2147220482 (800403FE); Provider Error: 0 (0)
Error string: Error Code: 0
Error Source= Microsoft VBScript runtime error
Error Description: ActiveX component can't create
object: 'Excel.Application'
Error on Line 7
Error source: Microsoft Data Transformation Services
(DTS) Package
Help file: sqldts80.hlp
Help context: 4500
DTSRun OnFinish: DTSStep_DTSActiveScriptTask_1
DTSRun: Package execution complete.


.


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

Default Re: ActiveX component cannot create object: 'Excel.Application' - 07-17-2003 , 01:24 AM



I do not believe there is such a thing as an Excel runtime unfortunately.

--

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



"Samir PAndit" <samirpandit (AT) yahoo (DOT) com> wrote

Quote:
My questions i most people won't install Excel
on there database servers .
is there a way we can put excel dll and
register it instead of instaling the whole excel thing.

-----Original Message-----
My guess is that you are testing the package on your
machine running through
EM. This means DTS executes on your machine which has
Excel installed. If
using sp_OA or anything else through T-SQL or a scheduled
job it runs on the
server, so make sure you have installed Excel on the
server.


--
Darren Green
http://www.sqldts.com

"Sree" <sree.rajamani (AT) cosawebtech (DOT) com> wrote in message
news:0a7901c34b1c$de832510$3501280a (AT) phx (DOT) gbl...
I have a DTS package in which I am trying to open an
Excel
application and dumping data from database. When I
execute
the DTS package by itself it runs without a problem. But
when I am calling this DTS package using a Stored
Procedure and I get the Following error "ActiveX
component
can't create object: 'Excel.Application'" . The detail
error is below. I would really appreciate if anyone
could
help me on this Problem


DTSRun: Loading...
DTSRun: Executing...
DTSRun OnStart: DTSStep_DTSActiveScriptTask_1
DTSRun OnError: DTSStep_DTSActiveScriptTask_1, Error
= -
2147220482 (800403FE)
Error string: Error Code: 0
Error Source= Microsoft VBScript runtime error
Error Description: ActiveX component can't create
object: 'Excel.Application'
Error on Line 7
Error source: Microsoft Data Transformation Services
(DTS) Package
Help file: sqldts80.hlp
Help context: 4500
Error Detail Records:
Error: -2147220482 (800403FE); Provider Error: 0 (0)
Error string: Error Code: 0
Error Source= Microsoft VBScript runtime error
Error Description: ActiveX component can't create
object: 'Excel.Application'
Error on Line 7
Error source: Microsoft Data Transformation Services
(DTS) Package
Help file: sqldts80.hlp
Help context: 4500
DTSRun OnFinish: DTSStep_DTSActiveScriptTask_1
DTSRun: Package execution complete.


.




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.