Cryptographic service provider error

  • Thread starter Thread starter kanthawar
  • Start date Start date
K

kanthawar

I get the following message on my test server...
Cryptographic service provider (CSP) could not be found
for this algorithm.
Description: An unhandled exception occurred during the
execution of the current web request. Please review the
stack trace for more information about the error and where
it originated in the code.

Exception Details:
System.Security.Cryptography.CryptographicException:
Cryptographic service provider (CSP) could not be found
for this algorithm.

Source Error:

An unhandled exception was generated during the execution
of the current web request. Information regarding the
origin and location of the exception can be identified
using the exception stack trace below.

Stack Trace:


[CryptographicException: Cryptographic service provider
(CSP) could not be found for this algorithm.]

System.Security.Cryptography.DESCryptoServiceProvider..ctor
() +239
System.Web.Security.FormsAuthentication.Initialize()
+242
System.Web.Security.FormsAuthenticationModule.OnEnter
(Object source, EventArgs eventArgs) +146
System.Web.SyncEventExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep
step, Boolean& completedSynchronously) +87


Does anybody has any idea??????????
 
One argument to the CryptAcquireContext() method is the
CSP algorithm that you are using. For example
PROV_RSA_FULL. These providers are defined variables in
the Crypto API headers. If you specify a CSP that
doesn't exist you will get this error.

Note that no providers are shipped with the French
version of Windows.
 
Back
Top