Link to home
Start Free TrialLog in
Avatar of rckrch
rckrchFlag for United States of America

asked on

jscript runtime error

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?

Thanks

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.
Avatar of Tom Beck
Tom Beck
Flag of United States of America image

>>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.

http://siderite.blogspot.com/2008/08/invalid-postback-or-callback-argument.html
ASKER CERTIFIED SOLUTION
Avatar of gopaltayde
gopaltayde
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rckrch

ASKER

gopaltayde - this definitely worked.  What are the risks of running EnableEventValidation at this setting?
Cross site scripting attacks are possible with this setting.
Avatar of rckrch

ASKER

So my resolution without using this setting is what?
Avatar of rckrch

ASKER

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.
Avatar of rckrch

ASKER

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

ASKER

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