by James posted on 2005/05/02 |
|
I am attempting to use your library in an ASP.NET web application and I am geting an exception message "Couldn't acquire crypto service provider context." when creating a RC4CryptoServiceProvider.
Here is the stack trace for your code:
[CryptographicException: Couldn't acquire crypto service provider context.]
Org.Mentalis.Security.Cryptography.CAPIProvider.CreateInternalHandle(Int32& handle, String container) +466
Org.Mentalis.Security.Cryptography.RC4CryptoServiceProvider..ctor() +73
I am able to use the SymmetricCryptography example without problem so I'm guessing it is a security or permissions issue.
What do I need to do to fix it? |