Last post Jan 20, 2009 01:54 AM by Nai-Dong Jin - MSFT
Jan 15, 2009 09:28 AM|aspforumRaj|LINK
we are using EXCEL com interop in the .NET 1.1 class library project. it is working fine, if .NET assembly is not strong named. but if we make that assembly strong named, it is giving compilation error like EXCEL should be strong named.
We signed EXCEL using tlbImp tool. But it is of no use. because it is generating dll rather than EXE. When we invoke this newly genarated dll, it is throwing run time error. it is giving object set to null reference error.
Any help will be appreciated.
Thanks in Advance
Jan 20, 2009 01:54 AM|Nai-Dong Jin - MSFT|LINK
Do you meet the following error:
"Referenced assembly Interop.Excel does not have a strong name"
It should be installed as part of Office, as an optional component. It can only be installed if you already have the .Net Framework installed on the machine when you install Office -- repairing Office would also be sufficient.
The specifics will vary depending on what version of Office you need to repair.