0

Hi,

Unsung VB.net, I am trying to create an excel file in my web server (windows 2000 server). But I end up with the following error:

System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID {00024500-0000-0000-C000-000000000046} is either not valid or not registered.

MS Office is not installed in my server. Even I do not want to install MS Office in my server.

If any one can help me.

Thanks
Tapan Kumar Pattanayak

3
Contributors
2
Replies
4
Views
12 Years
Discussion Span
Last Post by hu_yang
0

Umm, ok. If you look at that error it tells you flat out... how do you expect to call on a CLSID (registry object) that you don't want to install in the server?

Inorder to create the XLS file (which is an object) you will need to object registered in the system registry in order for InteropServices to invoke methods from it.

Sorry dude, but you will have to install Excel at the minimum to have this work, at least to my knowledge anyway.

Reading from an excel file without excel installed is on thing, but creating one through method calls to it...is another.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.