Click here to Skip to main content
16,004,574 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,

I have created a window application which used for append the excel file content.
I used Microsoft.Office.Interop.Excel namespace for append Excel file. Now all things are working fine. I install this application in one of system which is not having MS office, now in that case it show error.
I install the Re-distribute package of Microsoft and that also not work.

Please give some idea or help regarding this.

Thanks.
Posted
Comments
walterhevedeich 26-Sep-11 3:37am    
After you have installed the redistributable, what error were you getting?
gaurav003 26-Sep-11 3:45am    
The error is "object refrence not set to the instance of an object" while creating workbook.

1 solution

Which re-distribute package you installed ?
You need a licensed Excel installed in the client system, otherwise the Interop may fail.
 
Share this answer
 
v2
Comments
gaurav003 27-Sep-11 1:53am    
I have downloaded from this link http://www.microsoft.com/download/en/details.aspx?id=18346
http://www.microsoft.com/download/en/details.aspx?id=3508

Please suggest what i can do for that.
Madhu Nair 27-Sep-11 7:11am    
The downloads are correct. You need to install Office/Excel in the client system or in other words you can't use the interop assemblies without having office installed.

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



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