Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


jscript runtime error

Posted on 2011-10-14
Medium Priority
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
ID: 36973043
>>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.


Accepted Solution

gopaltayde earned 2000 total points
ID: 36973053
if security is not important then set the <pages enableEventValidation="false"/> ie "false" instead of "True".

Author Comment

ID: 36979759
gopaltayde - this definitely worked.  What are the risks of running EnableEventValidation at this setting?
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

LVL 83

Expert Comment

ID: 36981626
Cross site scripting attacks are possible with this setting.

Author Comment

ID: 36982072
So my resolution without using this setting is what?

Author Comment

ID: 36992716
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

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

Author Closing Comment

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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…

578 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