Subject: Cannot Load Keys - I think!
Date: 2014-07-17 13:59:59
From: Simon Eisner
Source: cannot-load-keys-think
----------------------------------------------------------------------

Hello,

I'm new to the whole ComponentPro thing, but here goes:  I've managed to get it running in Visual Studio, but I want to do a test where I deploy an SP and IdP - each to their own virtual machine.  When I do this, and try to browse to the VM, I get an error on the Global.asax.cs at the following line:

 X509Certificate2 cert = new X509Certificate2(fileName, password, X509KeyStorageFlags.MachineKeySet);

The error is:  "System.Security.Cryptography.CryptographicException: The system cannot find the file specified"

I've  checked to see if the keys.pfx file actually exists and it does.  Has anyone else run into this?

Thanks!

 

---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index