Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crypt.vcx Problem on win 2000
Message
 
 
To
18/07/2002 07:35:18
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00679918
Message ID:
00679935
Views:
23
Take a look at Microsoft Cryptography API May Not Work If the Default CSP Has Been Set Incorrectly mskb#Q313494.

>ALL,
>
>I am using crypt.vcx to provide database encryption/decryption. I have set the cprovidername to Microsoft Enhanced Cryptographic Provider v1.0 in the cryptapi object. This works fine on Windows NT , but on some WIN 2000 installations encryption/decryption did not work consistantly. I checked the registry to make sure Microsoft Enhanced Cryptographic Provider v1.0 was present. Finally set the ldisplaylowlevelerrors to true in cryptapi and got the following error:
>
>'Crypt Service Provider Failed to Acquire'
>
>Funny thing is that if the machine is rebooted first time the application runs everything is fine, but if I close the application and then run it again I get the above error.
>
>Any Ideas
>
>Thanks for yor help
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform