RSACryptoServiceProvider CryptographicException System Cannot Find the File Specified under ASP.NET
- by Will Hughes
I have an application which is making use of the RSACryptoServiceProvider to decrypt some data using a known private key (stored in a variable).
When the IIS Application Pool is configured to use Network Service, everything runs fine.
However, when we configure the IIS Application Pool to run the code under a different Identity, we get the…