Article ID: 327587 - Last Review: September 27, 2005 - Revision: 1.4 PRB: "Failed to Get Cryptographic Context" Error Message When You Use the Commerce Server 2002 CryptoAPIThis article was previously published under Q327587 SYMPTOMS
Commerce Server 2002 supports asymmetric encryption and one-way hashing to permit you to encrypt profile properties. When you use this encryption (by using the CryptoAPI), depending on your configuration, you may receive the following error message when you try to gain access to the profile system:
Failed to get Cryptographic context.
CAUSE
This problem occurs because the ASPNET account does not have the correct permissions to gain access to the MachineKeys folder.
RESOLUTION
To avoid this problem, change the permissions on the C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys folder. Give the ASPNET user the following permissions on this folder, subfolder, and files:
MORE INFORMATION
If the ASPNET account has been replaced by a new local account or a domain account, you must give change the permissions for this new account on the MachineKeys folder.
| Article Translations
|
Back to the top
