Can't create ActiveX component

M

Michele Perrotta

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
 
M

Mark Rae [MVP]

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.aspx?scid=kb;EN-US;q257757#kb2
http://support.microsoft.com/default.aspx/kb/288367

Use this instead: http://www.aspose.com/Products/Aspose.Cells/Default.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top