Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6072443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:09:39+00:00 2026-05-23T10:09:39+00:00

uncaught exception: [Exception… ‘Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Validation of viewstate MAC failed. If this application is

  • 0

uncaught exception: [Exception…
“‘Sys.WebForms.PageRequestManagerServerErrorException:
Sys.WebForms.PageRequestManagerServerErrorException:
Validation of viewstate MAC failed. If
this application is hosted by a Web
Farm or cluster, ensure that
configuration specifies
the same validationKey and validation
algorithm. AutoGenerate cannot be used
in a cluster.’ when calling method:
[nsIDOMEventListener::handleEvent]”
nsresult: “0x8057001c
(NS_ERROR_XPC_JS_THREW_JS_OBJECT)”
location: “JS frame ::
chrome://firebug/content/spy.js ::
callPageHandler :: line 744” data: no]

Thing is, I don’t even have a machineKey tag. I commented it out and I still get this error.

This is my entire web.config file:

<?xml version="1.0"?>

<configuration>
  <configSections>
    <sectionGroup name="UrlRewriter">
      <section name="PlainRules" type="System.Configuration.NameValueSectionHandler"/>
      <section name="RegExRules" type="System.Configuration.NameValueSectionHandler"/>
    </sectionGroup>
  </configSections>

  <UrlRewriter>
    <PlainRules configSource="UrlRewriter.plain.config" />
    <RegExRules configSource="UrlRewriter.regex.config" />
  </UrlRewriter>

  <connectionStrings configSource="db.config"/>

  <system.net>
    <mailSettings>
      <smtp configSource="mail.config"/>
    </mailSettings>
  </system.net>

  <system.web>
    <!--<machineKey validationKey=""
                decryptionKey="" validation="SHA1" />-->

    <compilation debug="true" targetFramework="4.0" />
    <globalization culture="en-US" uiCulture="en" requestEncoding="UTF-8" responseEncoding="UTF-8" fileEncoding="UTF-8" />
    <trace enabled="false"/>
    <!--<customErrors defaultRedirect="~/error" mode="RemoteOnly"/>-->
    <httpRuntime maxRequestLength="4000" executionTimeout="1000"/>

    <authentication mode="Forms">
      <forms defaultUrl="~/" loginUrl="~/login" timeout="43200" protection="All"  cookieless="UseCookies" />
    </authentication>

    <membership defaultProvider="AspNetSqlMembershipProvider" hashAlgorithmType="SHA1">
      <providers>
        <clear/>
        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" applicationName="damnation" connectionStringName="membership"
             enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" passwordFormat="Hashed"
             maxInvalidPasswordAttempts="20" minRequiredPasswordLength="4" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="5"
        />
      </providers>
    </membership>

    <roleManager defaultProvider="AspNetSqlRoleProvider" enabled="true">
      <providers>
        <clear/>
        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="membership" applicationName="damnation"/>
      </providers>
    </roleManager>

    <profile defaultProvider="AspNetSqlProfileProvider" enabled="true" inherits="Damnation.Website.Shared.Membership.SharedMembershipProfile">
      <providers>
        <clear/>
        <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="membership" applicationName="damnation"/>
      </providers>
    </profile>

    <httpModules>
      <add name="UrlRewriter" type="Damnation.Website.Shared.UrlRewriting.UrlRewriterModule"/>
    </httpModules>
  </system.web>

  <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>

    <modules runAllManagedModulesForAllRequests="true">
      <add name="UrlRewriter" type="Damnation.Website.Shared.UrlRewriting.UrlRewriterModule"/>
    </modules>
  </system.webServer>
</configuration>

What could be the issue here?
I should also mention that I tried with and without the rewriter (small module I wrote myself), so that’s not the issue either here…

Update: this issue is caught by firebug when I try to login with membership, which causes a postback in an updatepanel.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:09:40+00:00Added an answer on May 23, 2026 at 10:09 am

    If you don’t have a machineKey in your config, its using the one from machine.config.

    Is this site setup on a web farm? If so you should generate a machineKey and put it in all the web.config file installations for your site.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an uncaught exception: Syntax error, unrecognized expression: ) in a jQuery application.
I've got this error: Fatal error: Uncaught exception 'MySQLiQuery_Exception' with message 'Illegal mix of
so i am getting an uncaught exception and im not sure why. this is
This is my error: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSArrayI addObject:]:
so I encountered this error from Zend Framework: Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception' with
I encounter this problem Fatal error: Uncaught exception 'PDFlibException' with message 'Couldn't find encoding
I am getting this error: *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason:
Anyone know why I am getting this error? Terminating app due to uncaught exception
uncaught handler:thread main exiting due to uncaught exception android.app.SuperNotCalledException:Activity did not call through to
For an uncaught exception, Python by default prints a stack trace, the exception itself,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.