ورود

View Full Version : خطای cryptographic operation



mehrvarzan
شنبه 01 آبان 1395, 07:15 صبح
سلام
کارابران سایت بعد از لوگین مدتی که از سایت استفاده نکنند و بخوان سایت رو باز کنند به ارور زیر میخورن

Server Error in '/' Application.Error occurred during a cryptographic operation.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Security.Cryptography.CryptographicExceptio n: Error occurred during a cryptographic operation.

Source Error:



An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.



لطفا راهنمایی کنید.
من برای ورود از form auth استفاده میکنم

Moien Tajik
شنبه 01 آبان 1395, 15:15 عصر
https://forums.asp.net/t/1956219.aspx
http://stackoverflow.com/questions/25857577/error-occurred-during-a-cryptographic-operation-when-decrypting-forms-cookie
http://stackoverflow.com/a/28226265

mehrvarzan
شنبه 01 آبان 1395, 16:43 عصر
بله قبلا اینا رو دیدم
ولی متوجه نشدم چطور باید ماشین کی رو بزارم و کجا

Moien Tajik
شنبه 01 آبان 1395, 17:39 عصر
با استفاده از این (http://www.developerfusion.com/tools/generatemachinekey/) سایت میتونید MachineKey رو بسازید و اون رو در <system.web> داخل Web.Config قرارش بدید .