Ask a Question related to ASP.NET Security, Design and Development.
-
Sven-Torben Janus #1
Cryptographic service provider (CSP) could not be found for this algorithm.
I'm running an ASP.NET webapplication on a Windows 2000 Server SP4 machine
with .Net Framework 1.0 installed.
The ASP.Net application uses impersonation (windows domain account). This is
needed for communication between two servers (some ldap stuff).
Furthermore the application uses FormsAuthentication. At some point the
FomrAuthentication.Decrypt method is called. At this point I get the
following error:
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.CryptographicExceptio n:
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.DESCryptoServiceProvi der..ctor() +239
System.Web.Security.FormsAuthentication.Initialize () +242
System.Web.Security.FormsAuthenticationModule.OnEn ter(Object source,
EventArgs eventArgs) +146
System.Web.SyncEventExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +87
The application runs fine on another Win2K SP4 machine and also on some
other WinXP machines.
I tried to install the Windows 2000 High Encryption Package. But that didn't
solve the problem.
The error doesn't occur when I turn impersonation off. But the application
needs impersonation so this is no solution.
So what to do ?
I searched msdn and the internet but I couldn't find anything that solves
the problem.
Any help is appreciatet.
Thanks in advance.
Sven-Torben
Sven-Torben Janus Guest
-
CryptoAPI cryptographic service provider (CSP) for this implementation could not be acquired during encryption
Hi, We are trying to encrypt and decrypt some fields using RSA algorithm.The class being used is RSACryptoServiceProvider.We have put a key in its... -
how to get the supported cryptographic algorithm on the current .n
how to get the supported cryptographic algorithm on the current .net platform? -
error installing patch because cryptographic service is not running
I'm attempting to install the latest patch - 823980 and I get an error in the install: "Setup could not verify the integrity of the file... -
Using Microsoft Cryptographic API in a .Net web service.
Hi, I used the Microsoft Cryptographic API in VB6, worked fine. It works well in a VB.Net window application as well. However, it does not work... -
Can't find a cryptographic service provider (CSP) in this algorythm...
Hi! I'm trying to use a System.Security.Criptography function, it works on my machine but when I publish the site, it gives me the following... -
Svein Terje Gaup #2
Re: Cryptographic service provider (CSP) could not be found for this algorithm.
Perhaps this will help:
[url]http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off&threadm=433601c37c63%24788f2740%24a5012 80a%40phx.gbl&rnum=7&prev=/groups%3Fq%3Dsite:msdn.microsoft.com%2B%2522Crypto graphic%2Bservice%2Bprovider%2B(CSP)%2Bcould%2Bnot %2Bbe%2Bfound%2Bfor%2Bthis%2Balgorithm%2522%26hl%3 Den%26lr%3D%26ie%3DUTF-8%26safe%3Doff%26selm%3D433601c37c63%2524788f2740% 2524a501280a%2540phx.gbl%26rnum%3D7[/url]
Sincerely
Svein Terje Gaup
"Sven-Torben Janus" <s-tjanus@gmx.de> wrote in message
news:chl94q$qp6$05$1@news.t-online.com...> I'm running an ASP.NET webapplication on a Windows 2000 Server SP4 machine
> with .Net Framework 1.0 installed.
>
> The ASP.Net application uses impersonation (windows domain account). This
> is
> needed for communication between two servers (some ldap stuff).
> Furthermore the application uses FormsAuthentication. At some point the
> FomrAuthentication.Decrypt method is called. At this point I get the
> following error:
>
>
> 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.CryptographicExceptio n:
> 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.DESCryptoServiceProvi der..ctor() +239
> System.Web.Security.FormsAuthentication.Initialize () +242
> System.Web.Security.FormsAuthenticationModule.OnEn ter(Object source,
> EventArgs eventArgs) +146
> System.Web.SyncEventExecutionStep.Execute() +60
> System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
> completedSynchronously) +87
>
>
>
>
> The application runs fine on another Win2K SP4 machine and also on some
> other WinXP machines.
> I tried to install the Windows 2000 High Encryption Package. But that
> didn't
> solve the problem.
> The error doesn't occur when I turn impersonation off. But the application
> needs impersonation so this is no solution.
>
> So what to do ?
> I searched msdn and the internet but I couldn't find anything that solves
> the problem.
>
> Any help is appreciatet.
>
> Thanks in advance.
>
> Sven-Torben
>
>
Svein Terje Gaup Guest



Reply With Quote

