Some forms in my asp.net website cause "anti-forgery token could not be decrypted" exception. I tried some of the solutions but they did not work:
I dont't have duplicate
@Html.AntiForgeryToken()
in my form.I dont't use web farm but I tried adding
machineKey
. I usedAutoGenerate
but it has no effect.I added fixed machine key value with
IsolateApps
but it complains "Decryption key specified has invalid hex characters".I removed
IsolateApps
and application pool stopped.
What else I can do? Why this happens? Thanks.