List Info

Thread: C-Sharp (C#) Group: CAPICOM throwing FileLoadException




C-Sharp (C#) Group: CAPICOM throwing FileLoadException
country flaguser name
United States
2007-05-22 14:48:16
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);
  }
}


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharpgooglegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribegooglegroups.com
For more options, visit this group at http://g
roups.google.com/group/C_Sharp?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )