4 Replies Latest reply: Aug 13, 2008 2:04 AM by Mikadi
Mikadi Level 1 Level 1 (0 points)
Safari does not open some web pages and gives the following message: Server Error in '/' Application.

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 unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: 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.

Source Error:


[No relevant source lines]

Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\20ecd79a\24bc62bc\AppWeb_jyooscp.10.cs Line: 0

Stack Trace:


[HttpException (0x80004005): Unable to validate data.]
System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +2646292
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +214

[ViewStateException: Invalid viewstate.
Client IP: 81.151.101.167
Port: 49230
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 1054; en-us) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1
ViewState: /m7SkrwpKBvQ9HPOnNwjn5BSV6uaIbAPdRaZeIOxsqD7KypKcrw6AojEM76eAki8on68hhZCXW2NDMi qiadNghyooeDEKtaNGhG6vyKHwTVcxcur3ksjESG9DEhhij9sg3LdfMxm6a+zWsZ7KF9103Oeg/CjiE/E8V+iOHWiyqFo6BP3jdBvg7YCUeh9q7 GcFKomBYFDEVMC8RT62kzYpImLUhYEtKeleUP2EzjqVWzJjt1K2AB0W6EZbzrE25lHcwHx50Qg6AcfTH TJ5Ycms1Xo4g2So9UI7BLtyVJdK5DqTInT09ppfIznsBrFG1nd8Kfi7OsmRfwKhNsiTayJRrdo5S+SG3 8TiHgMhqc/8l2dZcpsJV4m8ws19bPGv8U7+Msf0imc9liMAbkfSm7v4LHhe22S5IzfxeQRzpen1SFABI dIiyyFJRn6sDHsKeHX3ZgTk1+W3vGGDXTq2lM9/vHCjKRUoOYk0KCT9ZvF4geZkfYBdMp3ivc9V3H5NA ua3O85ZAoW1leW6wl0kHgrc6CrlIWIfWwUBZEHvBNruvkh4Vyo6JTmBeI7xItM0meZ4tVy/PztwK+M3O 0bDWHiN2bp58ayFl4SjEQxZqs4OLez6Yx9hr/6Idm2sdJ4KavwznShQfmsooadJusIIdcXl8o9tKqO5I CBtkha+DICkHqqSqEYqlW/FFwC1SApkcs/HILpXKK/yk8hSk/4xOy77APi58/p6FOi0gUdJxyRH9x80NFxxG7B/yL fqTUY26BKEXC6sTtkZTaXdx3No7w6vxxvuQyXKsg5RN5LI0GpX1Mf5g/iDw1bQtk...]

[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.]
System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +116
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +251
System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(St ring serializedState) +4
System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37
System.Web.UI.HiddenFieldPageStatePersister.Load() +220
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +83
System.Web.UI.Page.LoadAllState() +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6978
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.addreminder_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\20ecd79a\24bc62bc\AppWeb_jyooscp.10.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.E xecute() +303
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

Can anybody help

iMac 20, Mac OS X (10.5.3)
  • 1. Re: Safari does not open web page
    QuickTimeKirk Level 8 Level 8 (48,120 points)
    Please post the URL to the page in question so we can see more (or less).
  • 2. Re: Safari does not open web page
    Mikadi Level 1 Level 1 (0 points)
  • 3. Re: Safari does not open web page
    QuickTimeKirk Level 8 Level 8 (48,120 points)
    Calendar item does not belong to current user

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Exception: Calendar item does not belong to current user

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [Exception: Calendar item does not belong to current user]
    Interflora.Web.UI.UserControls.Reminders.ReminderView.BindData() in C:\Projects\Interflora\MyReminders\Interflora\Interflora.Web.UI\UserControls\Re minders\ReminderView.ascx.cs:44
    Interflora.Web.UI.UserControls.Reminders.ReminderView.Page_Load(Object sender, EventArgs e) in C:\Projects\Interflora\MyReminders\Interflora\Interflora.Web.UI\UserControls\Re minders\ReminderView.ascx.cs:32
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +47
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
    Above is what appears on my Mac and Safari.
    These are "server" error messages and not a problem with Safari.
    Try viewing the page using a different browser and search their support pages for a better answers.
  • 4. Re: Safari does not open web page
    Mikadi Level 1 Level 1 (0 points)
    Thanks for your help.