I 've been working on dnn these days, but I don't know why.
Dotnetnuke: system. Security. cryptography. cryptographicexception: Bad Data
In this case, I checked some information on the Internet, some of which said that the string type was directly returned during encryption, and some were cookies.
Later, I thought it would be wrong if I re-opened a browser, so I can be sure that it is a cookie problem.
So what is the cause of this error?
This is because we are trying to open two dnn projects. For example, you have enabled localhost/dnn1 for your implementation, and then you have enabled another localhost/dnn2, when localhost/dnn2 is enabled, the content in the cookie of localhost/dnn1 tries to verify the information in localhost/dnn2. However, the two passwords are different, leading to errors, now I know the solution is to delete the cookie, close the browser, and re-open it.