jscript runtime error

Posted on 2011-10-14
Last Modified: 2012-05-12
I recently started getting this error.  The application was running fine, the only change we made as by changing the domain of the server used internally in out company.  This error occurs after the page has already launched and the user changes some parameters that causes a new query.

Would that error have to do with the server domain change we made?


Any help would be appreciated.

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
Question by:rckrch
    LVL 38

    Expert Comment

    by:Tom Beck
    >>Would that error have to do with the server domain change we made?

    It could if the web server in the new domain is using a newer version of the .NET Framework.
    LVL 7

    Accepted Solution

    if security is not important then set the <pages enableEventValidation="false"/> ie "false" instead of "True".

    Author Comment

    gopaltayde - this definitely worked.  What are the risks of running EnableEventValidation at this setting?
    LVL 83

    Expert Comment

    Cross site scripting attacks are possible with this setting.

    Author Comment

    So my resolution without using this setting is what?

    Author Comment

    I've requested that this question be closed as follows:

    Accepted answer: 0 points for rckrch's comment http:/Q_27397865.html#36979759

    for the following reason:

    Answered the question and worked.

    Author Comment

    I clicked the wrong answer.  This is my reply to the correct answer.

    Author Closing Comment

    This is the source of the problem and the action recommended did correct the behavior.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Join & Write a Comment

    Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
    How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now