CryptographicException error in OWSTIMER.EXE
Applies To: Ontolica Search for SP2010
If you encounter the Visual Studio Just-In-Time Debugger?error “An unhandled exception (‘System.Security.Cryptography.CryptographicException’ )?occurred?in OWSTIMER.EXE ” and the following message is logged in the Event Viewer:
An unhandled exception occurred and the process was terminated.
Application ID: DefaultDomain
Process ID: 6148
Message: Keyset does not exist
at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr)
at System.Security.Cryptography.SafeProvHandle._FreeCSP(IntPtr pProvCtx)
at System.Runtime.InteropServices.SafeHandle.Dispose(Boolean disposing)
then this might be raised when SharePoint 2010 and Visual Studio 2010 are both installed on the same machine. It may appear every 24 hours.
Does it occur because?the OWSTimer service has a regular process recycle and when the old process is shut down?an exception is raised. The exception doesn’t? interfere with the normal process shutdown and recycle and is only ever seen if you have a JIT debugger installed on the machine.
Can you?choose to?ignore these exceptions and close the window, or leave it there. Can you debug the indicated? the process, because it will already have been closed by the time you click the button and start your debugger.
To prevent this pop up message one can disable JIT debugging on the affected machine, but, please keep in mind that, this operation will deactivate?JIT debugging for all applications on the machine. 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:
On a 64-bit operating system also delete the following registry keys:
More details are available here:
Need more help with this?
SUBMIT YOUR SUPPORT & SERVICE TICKET HERE ..