Help with installing application built with Clickonce Technology


When attempting to run a project installed with Clickonce technology, I receive the following error in the details section or the error message.

+ strong name signature not valid for this assembly stdole.dll

How do I avoid this error?


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jacques Bourgeois (James Burger)PresidentCommented:
Your application is digitally signed, so all the dlls that it uses must also be signed. stdole.dll is not a .NET dll and is thus not signed.

There are ways to sign the interop between the application and the dll that would make it work, but the simplest approach to solving your problem is simply not to sign your application. This was a prerequisite for the first versions of ClickOnce, but you do not have to sign your application in recent versions.

To remove the signature, go to the Signing tab of the project's Properties (last option in the Project menu) and uncheck the Sign the assembly checkbox.

For the framework, a signed application and an unsigned one are not the same and it will probably not let you upgrade the older version with the new one. You will thus have to uninstall the applications on the computers on which it has been installed before you will be able to install a new version that is unsigned.

ClickOnce applications can be uninstalled through the Control Panel, the same way you uninstall a commercial program.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vcharlesAuthor Commented:

I removed the DLL and the application seems to install ok.


It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.