Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi guys ,
when importing the data from excel to geodb and exporting geodb to excel its working fine in windows 7,
but while doing same operations in windows XP,its getting error while exporting the data geodb to excel,
The error is mentioned in the subject.
Posted
Comments
[no name] 6-Sep-13 9:31am    
Okay and? Register the component and your problem will probably go away.

1 solution

You don't have the proper library installed on your XP system for either the geodb assembly or Excel. Note that if you linked to the Excel interop library, it is version specific. Therefore if you have Excel 2010 on your dev machine and you have Excel 2007 on XP, your app will fail to create the Excel objects. There is no redistributable runtime for Excel that you can bundle with your application so you have to manually install the same version on both systems. Alternately, if you are using the .xlsx file format, there are several libraries out there that will enable you to open the spreadsheet and manipulate it without using Excel at all. While it would take a rewrite of what you are doing, you eliminate the dependency on Excel.

More specifically, you can search the registry on your Windows 7 machine for that clsid to figure out which library is giving you the problem. Yo will find it in the HKLM_Class hive. Once you know which library it is, then you need to figure out how to address that on Windows XP.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900