When starting a Communications Agent, the service immediately stops and the following error is in the application event log:
SPIComService (or SPIComService451): An internal application error has occurred. Error Number: 1024 System.Security.Cryptography.CryptographicException: Keyset does not exist.
An internal application error has occurred. Error Number: 1024 System.ComponentModel.Win32Exception: Access is denied Error StackTrace: at SPILicenseLib4.CertificateCreator.CreateSelfSignCertificate()
There are a couple of potential causes for this issue. Please try the following:
- Stop any running SureSync jobs and close any open user interface elements such as the Desktop or Status panels.
- Launch the Services MMC and stop the Software Pursuits 8 Communications Agent and the Software Pursuits SureSync 8 Scheduler Service.
- Launch the Certificates MCC by going to a Run dialog and entering MMC
- Go to the File menu and select "Add/Remove Snap-In..."
- Select Certificates and click "Add>"
- In the "This snap-in will always manage certificates for" dialog, select "Computer Account" and click "Next>"
- On the next panel, accept the defaults and click "Finish"
- Click "OK on the "Add or Remove Snap-ins" dialog,
- Expand Certificates (Local Computer) | Personal and click on the Certificates folder.
- Delete any SureSyncSSL certificates
- Attempt to restart the Communications Agent service. If the service starts, you should be able to start the Scheduler service and your Jobs..
If the issue continues, check the following directories and ensure that the built-in SYSTEM account has Full Control from each directory.
- Attempt to restart the Communications Agent service. If the service starts, you should be able to start the Scheduler service and your Jobs.
Please note if you're running an old version of SureSync on XP/2003, the folder location is C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto.