Quick Navigation

Exception: System.Security.Cryptography.CryptographicException

Article ID: A1003
Last Review: November 3, 2004
Revision: 1.1

On This Page
Product it applies to
Symptoms
Cause
Resolution
Reference

NOTE: Fix for this problem has been included in DynamicPDF Generator v3.0.2 for .NET and DynamicPDF Merger v3.0.2 for .NET. Feel free to download the latest version from the web site. If you continue using the older versions and get the error, please follow the steps below.

PRODUCT IT APPLIES TO
  • DynamicPDF Generator v3.0.0 for .NET & DynamicPDF Generator v3.0.1 for .NET
  • DynamicPDF Merger v3.0.0 for .NET & DynamicPDF Merger v3.0.1 for .NET
SYMPTOMS
  • Exception: System.Security.Cryptography.CryptographicException: CryptoAPI cryptographic service provider (CSP) for this implementation could not be acquired.


  • OR

  • Exception: System.Security.Cryptography.CryptographicException: An Internal error has occured
CAUSE

Windows Server 2000 & Windows Server 2003

  • Insufficient File Permissions on the MachineKeys folder
RESOLUTION
To resolve this issue, follow the steps below:

Windows Server 2000

  1. Navigate to: C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys folder and right click on MachineKeys and select Properties.




  2. From the tabs on the top, select Security.




  3. If ASPNET account (displayed as ASP.NET) is not added under the name, add it using the Add button.
  4. Give Modify, Read & Execute, List Folder Contents, Read and Write Permissions to ASP.NET.

Note: Changes to the "userName" attribute of the machine.config's "processModel" node will affect which user account needs the permissions listed above. If it is changed from "machine" the specified user account will need to be used in step 3 above in place of the "ASPNET" account.

Windows Server 2003

  1. Navigate to: C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys folder and right click on MachineKeys and select Properties.




  2. From the tabs on the top, select Security.




  3. If SERVICE or NETWORK SERVICE is not listed under Group or user names, add either one using the Add button.
  4. Give Modify, Read & Execute, List Folder Contents, Read and Write Permissions to SERVICE or NETWORK SERVICE
REFERENCE
Latest News

TechEd Orlando 2008

Come by and visit ceTe Software at Booth #1324 at TechEd 2008, June 2-6.

DynamicPDF v5 for .NET Beta

ceTe Software is pleased to announce the Beta release of DynamicPDF v5.0 for .NET. Please click here to download.

Customer Quotes

I have a preference in using your product rather than Crystal specifically due to the look of your product over the look of Crystal Reports and especially due to the customer service we have received. Phenomenal is an understatement.

-- C. Dahlkvist, Distributed Applications Manager, Berger Transfer & Storage

Site Map   |   Contact Us   |   Legal Stuff © 2008 ceTe Software