Re: CryptAcquireContext _sometimes_ fails with NTE_PROVIDER_DLL_FA
From: Stephan Keil (Stephan.Keil_at_gmx.de)
Date: 11/24/05
- Next message: Valery Pryamikov: "Re: Public exponenet e in Private Key Blob"
- Previous message: gf: "RE: Once again Vista logon (ICredentialProvider)"
- Maybe in reply to: lelteto: "Re: CryptAcquireContext _sometimes_ fails with NTE_PROVIDER_DLL_FA"
- Next in thread: Alun Jones: "Re: CryptAcquireContext _sometimes_ fails with NTE_PROVIDER_DLL_FA"
- Reply: Alun Jones: "Re: CryptAcquireContext _sometimes_ fails with NTE_PROVIDER_DLL_FA"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 24 Nov 2005 21:58:26 +0100
> Are you saying that just the Windows API function LoadLibrary("rsaenh.dll")
> fails in your target application but succeeds in other (simpler) applications
> (on your Windows Server 2003 system)?
Exactly. And, it also succeeds if I connect a remote debugger to the
application.
> That sounds quite strange...
Yes, indeed :-o
Currently I have no idea how to further elaborate on that problem.
I checked with the SysInternals tools filemon (file accesses), regmon
(registry accesses) and processexplorer (loaded dlls and handles)
and compared the accesses of a succeeding run (with debugger or
simple application) and a failing run. I see no anomalities.
Where I could need a hint is
- As it works in debugger: what does the debugger do with the
debugged process? (e.g. does it change the security context?
or some other things of the process environment?)
- Why does it work in a simpler application? I checked e.g. (with
processexplorer) that the favourite base address of the DLL
and all its (static) dependencies are still available right
before the LoadLibary call!
And I am worried about the Microsoft article, because it raises
the probability that the problem is inside the operating
system (although the hot fix didn't help).
- Stephan
- Next message: Valery Pryamikov: "Re: Public exponenet e in Private Key Blob"
- Previous message: gf: "RE: Once again Vista logon (ICredentialProvider)"
- Maybe in reply to: lelteto: "Re: CryptAcquireContext _sometimes_ fails with NTE_PROVIDER_DLL_FA"
- Next in thread: Alun Jones: "Re: CryptAcquireContext _sometimes_ fails with NTE_PROVIDER_DLL_FA"
- Reply: Alun Jones: "Re: CryptAcquireContext _sometimes_ fails with NTE_PROVIDER_DLL_FA"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|