Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Can't create ActiveX component

Reply
Thread Tools

Can't create ActiveX component

 
 
Michele Perrotta
Guest
Posts: n/a
 
      10-29-2007
Hi, my asp.net application simply does this:
Dim xlApp As Object
...
Try

....
xlApp = CreateObject("Excel.Application")
and works fine on my workstation with Office XP.
When I deploy it on the customer server(with office 2000) it gives the
exception in the subject: any idea? A simple ASP page that makes the
same, on the server works fine too..
Thanks

 
Reply With Quote
 
 
 
 
Mark Rae [MVP]
Guest
Posts: n/a
 
      10-29-2007
"Michele Perrotta" <> wrote in message
news: oups.com...

> Hi, my asp.net application simply does this:
> Dim xlApp As Object
> ..
> Try
> ...
> xlApp = CreateObject("Excel.Application")
> and works fine on my workstation with Office XP.
> When I deploy it on the customer server(with office 2000) it gives the
> exception in the subject: any idea? A simple ASP page that makes the
> same, on the server works fine too..


Server-side Office automation is not recommended, or supported, by Microsoft
because it is risky, unsafe and not designed to be run in this environment:
http://support.microsoft.com/default...US;q257757#kb2
http://support.microsoft.com/default.aspx/kb/288367

Use this instead: http://www.aspose.com/Products/Aspos...s/Default.aspx


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How do I fix ... Cannot create ActiveX component ... problem Peter O'Reilly ASP .Net 6 08-25-2009 06:13 PM
ActiveX apologetic Larry Seltzer... "Sun paid for malicious ActiveX code, and Firefox is bad, bad bad baad. please use ActiveX, it's secure and nice!" (ok, the last part is irony on my part) fernando.cassia@gmail.com Java 0 04-16-2005 10:05 PM
Re: VB.NET/Excel Automation Issue-Cannot create ActiveX component. George ASP .Net 0 06-25-2004 08:14 PM
Re: Cannot Create ActiveX component Ken Cox [Microsoft MVP] ASP .Net 0 06-01-2004 10:59 PM
Outlook.Application???? Cannot create ActiveX component. W. Broersen ASP .Net 2 01-21-2004 02:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57