your machine has "FIPS compliance checking" enabled, which disallows certain crypto features: c# - Problem with FIPS Validated Cryptographic Algorithms - Stack Overflow you'll need to disable it