Can't create ActiveX component

  • Thread starter Thread starter Michele Perrotta
  • Start date Start date
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
 
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
 
Back
Top