Strong Naming


I am trying to delete my key container at the command prompt using:

sn -d MyKeyContainerName

However, I get the error message: "unable to format error message 8013141C".

I think this is due to a corrupt crypto Service Provider.

Any suggestions would be much appreciated.


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.

Uday EthirajuluCTOCommented:
        First your keycontainer should be in the Strong Name CSP. Then only you can delete your container.


        Im creating the key

                sn -k keypair.snk

             The following command stores the key in keyPair.snk in the container MyContainer  in the strong name CSP.

                sn -i keyPair.snk MyContainer

        Now the keypair.snk is loaded to MyContainer, try to delete the container from strong name csp.

               sn -d MyContainer

 I hope this will helpful to you.

Refer the following link also:


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
IbsAuthor Commented:

I played around with the commands some more and I finally managed to deleted the Key Container.

Thanks for your help.

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

From novice to tech pro — start learning today.