myBlog

Strong name signature not valid for this assembly stdole.dll

on April 22, 2013

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.

Original source http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/1212ed53-eb57-4bf2-8b02-7ce29e0ee427/

3. Opened the path “C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies” where i found the stdole.dll wich was 25kb large and signed
4. I replaced the unsigned dlls with the signed ones and did another publish and it worked.
About these ads

One response to “Strong name signature not valid for this assembly stdole.dll

  1. Ricky says:

    Thank you very much for this. Solved my problem after upgrading to VS2013 from 2010. Released a new build and it caused the whole thing to fail, affecting the work of quite a few people.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: