4

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?

Dee
  • 1,273
  • 4
  • 20
  • 36

2 Answers2

4

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

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

ChrisF
  • 131,190
  • 30
  • 250
  • 321
  • my application is on vs2003 so I need office tools runtime compatible to this version. – Dee Jul 26 '10 at 07:51
0

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

Create Excel (.XLS and .XLSX) file from C#

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

Community
  • 1
  • 1
Rup
  • 32,673
  • 9
  • 86
  • 107