I have problem when i want to publish my program regarding with stdole.dll
My program using excel interop and deploy with ClickOnce, and when i install, it come error and when i open install log i found this error message
* Activation of N:\mySystem\Publish\myApp.application resulted in exception. Following failure messages were detected:
+ Strong name signature not valid for this assembly stdole.dll.
So like i usually do, i looking for the answer in google, and i the solution :
1. Open path “C:\Program Files (x86)\Microsoft Visual Studio 9.0\Visual Studio Tools for Office\PIA\Office11″ and ”C:\Program Files (x86)\Microsoft Visual Studio 9.0\Visual Studio Tools for Office\PIA\Office12″, there is file stdole.dll wich was 16kb large and not signed
2. Open the path “C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies”, there is file stdole.dll wich was 25kb large and signed
3. Replaced the unsigned dlls with the signed ones and did another publish
And the problem is gone.