xcel error at web server

G

Guest

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.
 
A

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
 

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

Top