An unhandled exception ('System.Security.Cryptography.CryptographicException') occurred in OWSTIMER.EXE
OwsTimer 서비스를 재시작하면 다음과 같은 오류 메시지 창이 뜨거나,
An unhandled exception ('System.Security.Cryptography.CryptographicException') occurred in OWSTIMER.EXE [...].
The Just-In-Time debugger was launched without necessary security permissions. To debug this process, the Just-In-Time debugger must be run as an Administrator. Would you like to debug this process?
이벤트 로그에는 이런 식으로 WER 항목이 생성되는 경우가 있다면,
Log Name: Application
Source: Windows Error Reporting
Date: 2014-01-10 오후 9:34:53
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: testpc.testad.com
Description:
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: owstimer.exe
P2: 14.0.6028.1000
P3: 4daff496
P4: mscorlib
P5: 2.0.0.0
P6: 520b0e49
P7: 4e3b
P8: 6
P9: UDTA330IDOBH2ROZ2AYVLCELAG5AGTLS
P10:
Attached files:
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_owstimer.exe_cb6ad4b3edfa8ab48cda343a923778a381aca_00000000_0e47803b
Analysis symbol:
Rechecking for solution: 0
Report Id: 8c3c905b-79b0-11e3-9425-00155d805a06
Report Status: 4100
Hashed bucket:
Log Name: System
Source: Application Popup
Date: 2014-01-10 오후 9:34:55
Event ID: 26
Task Category: None
Level: Information
Keywords:
User: SYSTEM
Computer: testpc.testad.com
Description:
Application popup: Visual Studio Just-In-Time Debugger : An unhandled exception ('System.Security.Cryptography.CryptographicException') occurred in OWSTIMER.EXE [6936]. Just-In-Time debugging this exception failed with the following error: The process ID is invalid.
Check the documentation index for 'Just-in-time debugging, errors' for more information.
원래 발생하는 에러라고 합니다.
Common problem with SharePoint 2010: System.Security.Cryptography.CryptographicException - Keyset does not exist
; http://blogs.technet.com/b/stefan_gossner/archive/2010/05/10/common-problem-with-sharepoint-2010-system-security-cryptography-cryptographicexception-keyset-does-not-exist.aspx
단지, 위의 글에 설명된 것처럼 디버거가 뜨는 것이 귀찮을 수 있는데요. 이는 다음의 레지스트리 키에서,
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug
(64비트인 경우: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug)
등록된 "Debugger" 값을 삭제하면 됩니다. 그럼, "SharePoint 2010 Timer" 서비스를 재시작하면 오류도 발생하지 않고 이벤트 로그에도 남지 않습니다.
[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]