Turns out there’s a setting in the IIS Application Pool configuration (Application Pools > Advanced Settings) to load the user profile for the application pool identity user. When set to false, the key containers aren’t accessible.
So just set Load User Profile
option as True
More Related Contents:
- What exactly happens when I set LoadUserProfile of IIS pool?
- Generate a self-signed certificate on the fly
- Associate a private key with the X509Certificate2 class in .net
- CryptographicException was unhandled: System cannot find the specified file
- Debugging failing HTTPS WebRequest
- Is it safe to test the X509Certificate.Thumbprint property when you know an invalid certificate is safe?
- Different text editor in .net development environment [closed]
- Remove element of a regular array
- C# DateTime.Now precision
- Unrecognized escape sequence for path string containing backslashes
- Finding all positions of substring in a larger string in C#
- .NET HashTable Vs Dictionary – Can the Dictionary be as fast?
- How do I convert an enum to a list in C#? [duplicate]
- How do I get a human-readable file size in bytes abbreviation using .NET?
- Check for device change (add/remove) events
- How the StringBuilder class is implemented? Does it internally create new string objects each time we append?
- How can I discover the “path” of an embedded resource?
- Write to Windows Application Event Log without event source registration
- How do I create a C# app that decides itself whether to show as a console or windowed app?
- Caching in WCF?
- String Interpolation With Variable Content in C#
- Best way to programmatically configure network adapters in .NET
- Get a list of all UNC shared folders on a local network server
- What’s Wrong with an ArrayList?
- Is there a reason why a base class decorated with XmlInclude would still throw a type unknown exception when serialized?
- Passing Interface in a WCF Service?
- Getting names of local variables (and parameters) at run-time through lambda expressions
- Using var outside of a method
- Open X509 Certificates Selection Using USB Token in C# Hosted on IIS
- How to check if an FTP directory exists