• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue plesk make domain machineKey error

KUOANWEI

New Pleskian
啟用Plesk使MSSQL的網站,但無法訪問 下面的aspx頁面。
可有人知道該怎麼辦

The authentication of the Viewstate MAC failed. If this application is loaded by a Web server array or cluster, make sure the <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate can not be used in a cluster.

Description: An unhandled exception occurred during the execution of the current Web request. Review the stack trace for more information on errors and where they occur in your code.

Exception Details: System.Web.HttpException: The validation of the Viewstate MAC failed. If this application is loaded by a Web server array or cluster, make sure the <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate can not be used in a cluster.

Source Error:

The raw code that generates this unhandled exception can only be shown when compiling in debug mode. To start, follow one of the following steps, and then ask the URL:

1. Add the "Debug = true" directive to the top of the code that generated the error. E.g:

<% @ Page Language = "C #" Debug = "true"%>

or:

2. Add the following sections to your application's configuration file:

<Configuration>
<System.web>
<Compilation debug = "true" />
</system.web>
</ Configuration>

Note: The second trick results in compiling all the files in the specified application in debug mode. The first trick will only result in compiling the specific file in debug mode.

IMPORTANT: Running the application in debug mode can overuse memory / performance. Before actually deploying, you should first verify that the application has stopped debugging.

Stack trace:


[ViewStateException: Invalid Viewstate.
Client IP: 61.216.114.50
Port: 49892
Referer: http://61.216.114.50/plesk-site-preview/www.test1.com.tw/61.216.114.50/
Path: /index.aspx
User-Agent: Mozilla / 5.0 (Windows NT 10.0; Win64; x64) AppleWebKit / 537.36 (KHTML, like Gecko) Chrome / 53.0.2785.143 Safari / 537.36
ViewState: exUPrL4C7LffR5TwV51nuNW53 / + fRN3iOtPGU8Q7n3451 + aNrAzWC8HUT / K62oKHrEga0s7yowlTIft + oZVVklCFoPPaN + mysErU71WweaM =]

[HttpException (0x80004005): Authentication for Viewstate MAC failed. If this application is loaded by a Web server array or cluster, make sure the <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate can not be used in a cluster. ]
System.Web.UI.ViewStateException.ThrowError (Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +198
System.Web.UI.ObjectStateFormatter.Deserialize (String inputString, Purpose purpose) +432
System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter2.Deserialize (String serializedState, Purpose purpose) +8
System.Web.UI.Util.DeserializeWithAssert (IStateFormatter2 formatter, String serializedState, Purpose purpose) +40
System.Web.UI.HiddenFieldPageStatePersister.Load () +248
System.Web.UI.Page.LoadPageStateFromPersistenceMedium () +88
System.Web.UI.Page.LoadAllState () +36
System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6704
System.Web.UI.Page.ProcessRequest (Boolean includeStagesBeforeAsyncPoint, boolean includeStagesAfterAsyncPoint) +245
System.Web.UI.Page.ProcessRequest () +72
System.Web.UI.Page.ProcessRequestWithNoAssert (HttpContext context) +21
System.Web.UI.Page.ProcessRequest (HttpContext context) +58
ASP.index_aspx.ProcessRequest (HttpContext context) +37
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute () +341
System.Web.HttpApplication.ExecuteStep (IExecutionStep step, Boolean & completedSynchronously) +69
 

Attachments

  • 1476810308718.jpg
    1476810308718.jpg
    682.8 KB · Views: 3
hey there you can fix this error err_spdy_protocol_error by checking solution from the given website it will help you to understand more about this error so check it out here.
 
Back
Top