![]() If anyone has a suggestion on how to debug this issue I would much appreciate it. I'm befuddled why this application will run fine on Server "A", but has invalid ViewState on Server "B". The successfull application sets ViewStateUserKey to SessionId, and the machineKey is similiar to the 3rd example below, with defined decryption and validation keys. This application is running successfully on a different server (also Windows Web Server 2008, IIS 7, framework v4). School of dragons by Jumpstart.Quest giver: Phlegma at Lookout Tasks: Unlock your viking's own farm and learn how to farm. I've tried using the default auto-generated machine keys and defined machine keys (examples below) and also tried removing the machineKey tag from the web.config, with no success. The error also disappears when I set "enableViewStateMAC" to false.Įverywhere I have searched for this error the advice is to look at the machineKey. ![]() When I comment this line out (ie, when I stop setting ViewStateUserKey) the error disappears. In this application we are setting the ViewStateUserKey to Session.SessionID in the code behind for every page except the login page. I get the "Validation of viewstate MAC failed" when posting back any page except the login page. The web site has only one binding, to http port 80. ![]() I am not running a web farm or web garden. The AppPool uses Framework 4, integrated pipeline, running under the identity of a domain user. I deployed an asp.net webforms website to a machine running Windows WebServer 2008 and IIS 7.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |