Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Handmade Character Soft Toys
anil1961
Updated:
Today at 2:11 PM
Bodim.lk out now !
Manoj Suranga Bandara
Updated:
Sunday at 3:05 AM
Power Lifting Lever Belt
SkullVamp
Updated:
Jun 13, 2026
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Jun 13, 2026
Colombo
Kaduwela - Two Storey House for Sale
dilrasan
Updated:
Jun 11, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
Machine key configuration error on Asp.net web hosting
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Fox92" data-source="post: 25042160" data-attributes="member: 548631"><p>DataBase and application connect successfully.sometimes can log into web application with providing details. get an error called "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. "</p><p></p><p>[CODE]</p><p>[ViewStateException: Invalid viewstate. </p><p> Client IP: 112.134.47.103</p><p> Port: 10091</p><p> Referer: https://testorigin.xyz.lk/StaffLogin.aspx</p><p> Path: /StaffLogin.aspx</p><p> User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36</p><p> ViewState: iBIlfxyvZMZ8tyv/kpglGOh38/vTCqm2tCzOHzBFaYzN6kqMia09f9KdDEEUV8hq73S5u0LWPcJybEBfB8rLlT6EsYGhKDjVtB8v/kwtEWk=]</p><p></p><p>[HttpException (0x80004005): 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.</p><p></p><p>See http://go.microsoft.com/fwlink/?LinkID=314055 for more information.]</p><p> System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +153</p><p> System.Web.UI.ObjectStateFormatter.Deserialize(String inputString, Purpose purpose) +896</p><p> System.Web.UI.Util.DeserializeWithAssert(IStateFormatter2 formatter, String serializedState, Purpose purpose) +61</p><p> System.Web.UI.HiddenFieldPageStatePersister.Load() +305</p><p> System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +367</p><p> System.Web.UI.Page.LoadAllState() +46</p><p> System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +9458</p><p> System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +345</p><p> System.Web.UI.Page.ProcessRequest() +75</p><p> System.Web.UI.Page.ProcessRequest(HttpContext context) +70</p><p> System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +790</p><p> System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195</p><p> System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="Fox92, post: 25042160, member: 548631"] DataBase and application connect successfully.sometimes can log into web application with providing details. get an error called "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. " [CODE] [ViewStateException: Invalid viewstate. Client IP: 112.134.47.103 Port: 10091 Referer: https://testorigin.xyz.lk/StaffLogin.aspx Path: /StaffLogin.aspx User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36 ViewState: iBIlfxyvZMZ8tyv/kpglGOh38/vTCqm2tCzOHzBFaYzN6kqMia09f9KdDEEUV8hq73S5u0LWPcJybEBfB8rLlT6EsYGhKDjVtB8v/kwtEWk=] [HttpException (0x80004005): 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. See http://go.microsoft.com/fwlink/?LinkID=314055 for more information.] System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +153 System.Web.UI.ObjectStateFormatter.Deserialize(String inputString, Purpose purpose) +896 System.Web.UI.Util.DeserializeWithAssert(IStateFormatter2 formatter, String serializedState, Purpose purpose) +61 System.Web.UI.HiddenFieldPageStatePersister.Load() +305 System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +367 System.Web.UI.Page.LoadAllState() +46 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +9458 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +345 System.Web.UI.Page.ProcessRequest() +75 System.Web.UI.Page.ProcessRequest(HttpContext context) +70 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +790 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88 [/CODE] [/QUOTE]
Insert quotes…
Verification
Dawasata paya keeyak thibeda?
Post reply
Top
Bottom