in

QuestMaster.NET

A Quest for the Perfect Program, and a Quest for Life

Life, Universe And Everything According To Dirk

We apologize for the inconvenience

Cryptographic failure while signing assembly: Unknown error (8013141c)

I started experiencing a Cryptographic failure while signing assembly: Unknown error (8013141c) after moving my Visual Studio 2005 solutions to Visual Studio 2008.  The reason: I'm using strongly named assemblies, and I was running Visual Studio 2005 as Administrator.  Visual Studio 2008 does not require me to run as Administrator, so I use it with my normal user account.

Now unfortunately, this normal user account doesn't have the appropriate permissions needed to access the folder that contains the cryptographic key containers.  Here's how to fix this (on Windows Vista):

  1. Open C:\ProgramData\Microsoft\Crypto\RSA in Windows Explorer  (ProgramData is a hidden folder)
  2. Right-click on MachineKeys and click Properties
  3. Click on the Security tab
  4. Click on the Advanced button
  5. Click on Edit (you'll have to elevate or provide administrator credentials here)
  6. Click on Add
  7. Enter Debugger Users in the Enter to object name to select field
  8. Click Check Names
  9. Click OK
  10. Allow Full Control
  11. Click OK
  12. A couple of error messages appear, click to close them
  13. Click OK
  14. You're good to go

You should probably investigate whether you can get away with less than Full Control, though.

Published Dez 15 2007, 01:01 by Dirk
Filed under:

Comments

No Comments
Copyright Dirk Rombauts
Powered by Community Server (Non-Commercial Edition), by Telligent Systems