By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,566 Members | 1,820 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,566 IT Pros & Developers. It's quick & easy.

CAPICOM throwing FileLoadException

P: n/a
I'm trying to do a foreach loop of each Certificate in a Certificates
collection. Note: This worked perfectly yesterday, and today it
started throwing a bunch of exceptions.

basically C# says that CAPICOM.CertificatesClass.GetEnumerator() is
throwing the exception, saying that "Unverifiable code failed policy
check. blah blah blah"

What is going on here?
heres the code:

foreach(Certificate currentCert in certs)
{
try
{
localMachineStore.Remove(currentCert);
}
catch (System.Exception e)
{
writeToLogFile(e.Message);
}
}

May 22 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.