News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
Couldn't acquire crypto service provider context.  
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?

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.