|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
xcel error at web serverHello,
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. > 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. -- Show quoteHide quoteRegards, 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 ---------------------------------------------------------- "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.
Other interesting topics
How to assign value to Excel 2000 worksheet cell
Simple: Excel Jet 4.0 Link vb 2005 RE: For vs. For Each Windows service & Web service Interprocess Communication ENTER and forms How does IIS or Framework set the Content-Length header ? .net and mysql join Method for finding dotnet version Excel process doesn't shut down Record my webcam |
|||||||||||||||||||||||