CryptAcquireContext _sometimes_ fails with NTE_PROVIDER_DLL_FAIL

Stephan.Keil_at_gmx.de
Date: 11/21/05

  • Next message: Sami J. Lehtinen: "Re: INTERACTIVE group missing after SSPI auth"
    Date: 21 Nov 2005 09:37:54 -0800
    
    

    Hi,

    in a program I call
       CryptAcquireContext(&hdl, NULL, MS_ENHANCED_PROV, PROV_RSA_FULL, 0)
    which always succeeds on some machines (esp. WinXP), but fails on
    others (Win2003 Server, but also other WinXP) with
    NTE_PROVIDER_DLL_FAIL (0x8009001D).
    I tried to remote debug the software on those machines but when using
    the remote debugger the call succeeds :-o.

    I tried to track the problem with FileMon from SysInternals, which
    shows me that in both cases the rsaenh.dll is looked up and found in
    c:\windows\system32. At some time the access pattern changes but this
    doesn't make sense to me (I can provide more details if necessary).

    Any hint what's going wrong here?

    Thx & Regards, Stephan


  • Next message: Sami J. Lehtinen: "Re: INTERACTIVE group missing after SSPI auth"

    Relevant Pages

    • Re: Word 2004 + Macintel + Some Adobe OpenType Fonts = Crash on save
      ... This is a serious problem for us, and we have provided notes on detailed and exhaustive efforts to try and pin down this problem - including completely re-initialising a couple of our computers, backgrading OS and Office versions, changing fonts, using font managers etc. etc. etc. ... the trick with ny macintosh is to freeze old machines OS and software once they work well ... and don't update OS or APPS unmless security issues arise like WinXP ... I run WinXP via parallels desktop on this Imtel mac too ...
      (microsoft.public.mac.office.word)
    • Correlation of key to license number
      ... I have two different machines with WinXP Pro. ... two valid licenses and CDs for them, but I don't know which one goes ... with which installation. ...
      (microsoft.public.windowsxp.setup_deployment)
    • Re: Did you do a direct UPGRADE from WIN98SE? Did it work for you?
      ... > For some of my machines, I need to set up a dual boot, but for one ... I have no excuse to dual boot and it's a little ... Microsoft WinXP Upgrade Advisor to see if you have any incompatible ...
      (microsoft.public.windowsxp.newusers)
    • Re: shared printer WinXP Workgroup
      ... WinXP Pro. ... One of the WinXP Home machines has a shared USB printer, ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Upgrading from Beta
      ... ought I to treat those machines any ... I normally try an upgrade from media; it usually succeeds, ... that's a lot less trouble than a fresh install. ... real Fedora 10 and continue receiving stable updates on that branch. ...
      (Fedora)