Mono Support Get machinekey error when installing upon accepting license and clicking next 

Viewed 12306 time(s), 4 post(s), 2/3/2012 6:23:21 PM - by jackinthegreen
2/3/2012 6:23:22 PM
25 Reputation 3 Total posts

Webpage error detailsUser Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; .NET4.0E)
Timestamp: Fri, 3 Feb 2012 18:16:37 UTC
Message: Sys.WebForms.PageRequestManagerServerErrorException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
Line: 869
Char: 13
Code: 0
URI: http://server/ScriptResource.axd?d=5LeB7yJu02NZpxVfm7hN32TB_aD5YpZNKTROXsuCP-Vdh78Ohnlnx8ME362MxkeSi8AV2XAmGJfyeLbFUhhOMO5kumGryI1Fc84id_0r7FiENfwYsO8tgidvk1V2CnFuqA1e282PMOWcJ-5N12otADOdLvEsa55SJ_NbJncXqIvC630w0&t=ffffffff940d030f

1
2/3/2012 6:28:44 PM
25 Reputation 3 Total posts

Update: a validation key is in the root web.config and appears correctly formed and placed

2
2/3/2012 6:56:55 PM
25 Reputation 3 Total posts

does it have something to do with this tag in web.config? <httpErrors existingResponse="PassThrough" />

I commented that out since it was causing a 500 http error, which made the wizard work.. up to a point.

Itr appears thta that tag causes issues with the custom error mod in IIS 7.5.

3
2/3/2012 11:01:10 PM
7207 Reputation 956 Total posts

This should not be related with your initial viewstate error. The purpose of the existingResponse attribute is to leave the errors sent by the application untouched. MonoX does not use custom error pages from IIS.
There could be many reasons for the original error, and I must admit that I don't remember this being reported, especially so early in the installation process. One of the better explanations can be found here: http://blogs.msdn.com/b/tom/archive/2008/03/14/validation-of-viewstate-mac-failed-error.aspx However, I don't think it covers everything. Which version of MonoX are you using? Did you download it from this site? Can this server be accessed remotely so we could take a look?

4
This is a demo site for MonoX. Please visit Mono Software for more info.