views:

79

answers:

2

In my application there is a functionality to show an excel sheet.Due to some reason we need to uninstall Microsoft Office. Now the above functionality is not working and I am getting following error.

COM object with CLSID {00024500-0000-0000-C000-000000000046} is either not valid or not registered.

Any Ideas how do I resolve this without re-installing Microsoft Office?

+2  A: 

Given that you've installed Office the COM object you need will be unregistered.

The only way is to either reinstall Office or install the Office Tools Runtime

ChrisF
my application is on vs2003 so I need office tools runtime compatible to this version.
Dee
A: 

You're going to have to rewrite your code that processes Excel spreadsheets without using Office automation then. There's plenty of library suggestions here

http://stackoverflow.com/questions/151005/create-excel-xls-and-xlsx-file-from-c

That question is for creation but most (if not all!) of these will read too.

Rup