Invalid postback or callback argument

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
8/24/2014 1:31:58 PM
Gravatar
Total Posts 7

Invalid postback or callback argument

I embbeded   code of signup page of newsletter , And all fields are displaying like name, email subscribe button etc.

When I fill the form it show:  " server error has occurred while trying to process your request.      "

I login in admin panel and found followoing error in system log:

 

2014-08-24 13:20:46,859 ERROR 117.220.224.58 - en-US - /subscribe.aspx - mojoPortal.Web.Global -  Referrer(http://zssindia.com/subscribe.aspx) useragent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 
System.ArgumentException: 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.
   at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument)
   at System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument)
   at System.Web.UI.WebControls.HiddenField.LoadPostData(String postDataKey, NameValueCollection postCollection)
   at System.Web.UI.WebControls.HiddenField.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection)
   at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2014-08-24 13:20:55,859 INFO (null) - (null) - (null) - mojoPortal.Web.WebTaskManager - started WebTaskManager task 

 

does i have to flip or tweak any add key value in web config file ??

Thanks in advance.

 

9/3/2014 12:41:19 PM
Gravatar
Total Posts 7

Re: Invalid postback or callback argument

Guys, Any suggestion ?

9/3/2014 12:50:10 PM
Gravatar
Total Posts 18439

Re: Invalid postback or callback argument

I'm guessing you pasted an html <form element into the html which is not going to work, this article about building a paypal buy now button explains the problem and shows a solution but the solution does require a little custom development.

9/4/2014 1:52:51 AM
Gravatar
Total Posts 7

Re: Invalid postback or callback argument

Thanks Joe, I will try.

You must sign in to post in the forums. This thread is closed to new posts.