Home All Groups Group Topic Archive Search About

xcel error at web server

Author
15 Feb 2005 12:29 PM
Dudi Nissan
Hello,
I am writing c# web application with Excel 2000.
I have Excel 2000 install at my workstation, but not at the web server.
My code is:

Excel.Application EXL;           
EXL = new Excel.Application(); --> This row return the following error at
the web server:
COM object with CLSID {00024500-0000-0000-C000-000000000046} is either not
valid or not registered.

We don't want to install Excel at the web server. What should be done?

Thank you.
Author
15 Feb 2005 3:44 PM
Alvin Bruney [MVP]
> We don't want to install Excel at the web server. What should be done?
So how exactly do you expect it to work if the component is not on the
server?

One other approach is to use the Microsoft Office Web Components and embed
the CLSID in the aspx/html page. That will expose an excel object client
side and it won't need to be installed on the server but you can only
manipulate it from the client-side code. The Microsoft Office Web Components
contains an excel object by the way that provides an Excel look and feel.
The clients that run the page will need to download and install the
Microsoft Office Web Components as well.

--
Regards,
Alvin Bruney [Microsoft MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://www.lulu.com/owc
----------------------------------------------------------


Show quoteHide quote
"Dudi Nissan" <DudiNis***@discussions.microsoft.com> wrote in message
news:A445CFAA-76B1-49D6-A625-3A4DC9B69581@microsoft.com...
> Hello,
> I am writing c# web application with Excel 2000.
> I have Excel 2000 install at my workstation, but not at the web server.
> My code is:
>
> Excel.Application EXL;
> EXL = new Excel.Application(); --> This row return the following error at
> the web server:
> COM object with CLSID {00024500-0000-0000-C000-000000000046} is either not
> valid or not registered.
>
> We don't want to install Excel at the web server. What should be done?
>
> Thank you.

Bookmark and Share