"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