MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

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

Viewed 6469 time(s), 4 post(s) 2/3/2012 6:23:21 PMby jackinthegreen
jackinthegreen

jackinthegreen

2/3/2012 6:23:22 PM
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
This content has not been rated yet. 
25 Reputation 3 Total posts
jackinthegreen

jackinthegreen

2/3/2012 6:28:44 PM
Update: a validation key is in the root web.config and appears correctly formed and placed
This content has not been rated yet. 
25 Reputation 3 Total posts
jackinthegreen

jackinthegreen

2/3/2012 6:56:55 PM
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.
This content has not been rated yet. 
25 Reputation 3 Total posts
denis

denis

2/3/2012 11:01:10 PM
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?
This content has not been rated yet. 
7207 Reputation 956 Total posts