CryptAcquireContext _sometimes_ fails with NTE_PROVIDER_DLL_FAIL
Stephan.Keil_at_gmx.de
Date: 11/21/05
- Previous message: Sami J. Lehtinen: "Re: User account management and information functions usage with trusted domains"
- Next in thread: Stephan Keil: "Re: CryptAcquireContext _sometimes_ fails with NTE_PROVIDER_DLL_FAIL"
- Maybe reply: Stephan Keil: "Re: CryptAcquireContext _sometimes_ fails with NTE_PROVIDER_DLL_FAIL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Previous message: Sami J. Lehtinen: "Re: User account management and information functions usage with trusted domains"
- Next in thread: Stephan Keil: "Re: CryptAcquireContext _sometimes_ fails with NTE_PROVIDER_DLL_FAIL"
- Maybe reply: Stephan Keil: "Re: CryptAcquireContext _sometimes_ fails with NTE_PROVIDER_DLL_FAIL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|