Re: Cryptographic service provider (CSP) could not be found for this algorithm.

From: Svein Terje Gaup (stgaup_at_broadpark.no.spam)
Date: 09/15/04

  • Next message: Pavel Lebedinsky: "Re: XP SP2, SSPI, Bad Impersonation level Error"
    Date: Wed, 15 Sep 2004 22:14:28 +0200
    
    

    Perhaps this will help:
    http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off&threadm=433601c37c63%24788f2740%24a501280a%40phx.gbl&rnum=7&prev=/groups%3Fq%3Dsite:msdn.microsoft.com%2B%2522Cryptographic%2Bservice%2Bprovider%2B(CSP)%2Bcould%2Bnot%2Bbe%2Bfound%2Bfor%2Bthis%2Balgorithm%2522%26hl%3Den%26lr%3D%26ie%3DUTF-8%26safe%3Doff%26selm%3D433601c37c63%2524788f2740%2524a501280a%2540phx.gbl%26rnum%3D7

    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.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
    >
    >
    >
    >
    > 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
    >
    >


  • Next message: Pavel Lebedinsky: "Re: XP SP2, SSPI, Bad Impersonation level Error"

    Relevant Pages


    Loading