ID1024: The configuration property value is not valid

Posted on 2/14/2014 @ 11:51 AM in #Vanilla .NET by | Feedback | 2516 views

Ever seen this error?

ID1024: The configuration property value is not valid

There are 3 reasons for this error,

First, the certificate is actually missing.
Second, the certificate is present, but the account that the above code is running under, does not have access to the private keys. There is some ridiculous advice on the internets suggesting you grant access to all private keys. Wow, just wow! Don’t do that.
The Third and perhaps the most sneaky reason is, when you get the cert from MMC, there is an additional character that you don’t see, in visual studio, or notepad, or notepad++. You can see it on DOSPROMPT. Nuts huh?

Detecting this, and removing this is so tricky, that I put a video to show how sneaky this error can be. Have fun.

Sound off but keep it civil:

Older comments..