Common problem with SharePoint 2010: System.Security.Cryptography.CryptographicException - Keyset does not exist



Hi All,

A very general issue when working Sharepoint 2010 ​along with visual studio 2010 is getting this unhandled security exception. Though this error prompt will not affect much but still its anoying.



Uninstalling Visual Studio will not resolve this issue.
To configure the server to no longer show a dialog when an unhandled exception occurs, use the registry editor to delete the following registry keys:


  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger


On a 64-bit operating system also delete the following registry keys:


  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger

  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\DbgManagedDebugger


Hope you will get rid of this message after doing thid configuration.

Thanks and Regards

Mohit

Comments

Popular posts from this blog

Hide Ribbon on SharePoint 2013 using CSS

Get Comment Count in SharePoint

Configure external site as content sources in sharepoint search