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.
Description: An
error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Sections must only appear once per config file. See the help topic <location> for exceptions.
Source Error:
Line 78:
Line 79: </pages>
Line 80: <pages enableViewStateMac="false"/> Line 81:
Line 82:
lamees_ali
Member
11 Points
23 Posts
unknown Error
Mar 02, 2012 02:06 AM|LINK
I get unknown Error when I upload my page to host
to see error
<div> <div class="comment-right-col">please visit my site to see my new error
http://yemenideas.net/Default_r.aspx
in login tool
write zak
pass zak
to go to link
http://yemenideas.net/GenericErrorPage.htm?aspxerrorpath=/Default_r.aspx
</div> </div> </div>vsdev
Contributor
2230 Points
453 Posts
Re: unknown Error
Mar 02, 2012 02:13 AM|LINK
Try disabling the customerror option in the web.config. Set it to Off and you can see what error you are getting.
More help :http://msdn.microsoft.com/en-us/library/h0hfz6fc.aspx
Blog: dotnetthoughts
Download Capture It Plus
lamees_ali
Member
11 Points
23 Posts
Re: unknown Error
Mar 02, 2012 02:27 AM|LINK
Thanks alot for ur replay
I Change it ,other error came although I 'm sure from my conniction string
I run my page local on database on server it work good
vsdev
Contributor
2230 Points
453 Posts
Re: unknown Error
Mar 02, 2012 02:32 AM|LINK
Make sure you are setting it back to on after fixing the error. Please mark it is answer if it is helpful :)
Blog: dotnetthoughts
Download Capture It Plus
lamees_ali
Member
11 Points
23 Posts
Re: unknown Error
Mar 02, 2012 02:37 AM|LINK
I get new Error
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.
sujithkumar
Contributor
3012 Points
557 Posts
Re: unknown Error
Mar 02, 2012 02:41 AM|LINK
hi,
refer these links...
http://weblogs.asp.net/albertpascual/archive/2008/08/11/fixing-the-validation-of-viewstate-mac-failed-error-issue.aspx
http://www.shnake.com/blog/?p=604
http://forums.asp.net/t/1764447.aspx/1
http://forums.asp.net/t/1355367.aspx/1
http://social.msdn.microsoft.com/Forums/en/vstswebtest/thread/0f143e24-65e7-4f44-8d64-a8f920f410af
lamees_ali
Member
11 Points
23 Posts
Re: unknown Error
Mar 02, 2012 03:07 AM|LINK
Thanks but i get new error
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Sections must only appear once per config file. See the help topic <location> for exceptions.
Source Error:
Line 78: Line 79: </pages> Line 80: <pages enableViewStateMac="false"/> Line 81: Line 82:Source File: D:\hshome\c355134\yemenideas.net\web.config Line: 80
Version Information: Microsoft .NET Framework Version:2.0.50727.3625; ASP.NET Version:2.0.50727.3634
sujithkumar
Contributor
3012 Points
557 Posts
Re: unknown Error
Mar 02, 2012 04:18 AM|LINK
hi,
you should specify<pages></pages>(<pages enableViewStateMac="false"/>) collection only once in web.config file
you have specified multiple times....
please check...