Unable to validate data - MVC Site

677 views Asked by At

I have this MVC website that has been working for about 3 weeks. Suddenly I started getting

HTTP Error 503. The service is unavailable

whenever connecting to the website. My host sent me the dump file and it said

Event code: 3012 Event message: An error occurred processing a web or script resource request. The resource identifier failed to decrypt.

Exception type: HttpException Exception message: Unable to validate data. at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo, Boolean useLegacyMode, IVType ivType, Boolean signData) at System.Web.UI.Page.DecryptString(String s, Purpose purpose) at System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContextBase context, VirtualFileReader fileReader, Action`2 logAction, Boolean validatePath)

After some research I added

machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="3DES" decryption="3DES"

to the web.config file based off my research online but still no luck. Any help would be greatly appreciated.

0

There are 0 answers