Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error in DNN 5.6.3 Invalid postback or callback argument. Error in DNN 5.6.3 Invalid postback or callback argument.
Previous
 
Next
New Post
10/26/2011 10:41 PM
 
Getting the error

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

This happens here and there and not all the time in DotNetNuke 5.6.3.

My log shows:

ActiveTabID: 37
ActiveTabName: Home
RawURL: /Home/tabid/37/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://beta.viavalues.com/Home/tabid/37/Default.aspx
UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; MAAU)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: c55ec5d4-1865-4856-9bd9-7ca861ed6d08
InnerException: 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.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.ClientScriptManager.ValidateEvent
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: 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. ---> 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.TextBox.LoadPostData(String postDataKey, NameValueCollection postCollection) at System.Web.UI.WebControls.TextBox.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) --- End of inner exception stack trace ---


This did not happen bfore 5.6.3

Any ideas? Setting it to false seems bad for security.

TIA,
JIm

Thank you,
James Campbell
MCP,MCSA,MCSE,Sec +
http://jamesecampbell.blogspot.com
 
New Post
10/30/2011 9:26 PM
 
I'm seeing this in the "search" on a page when not logged in to a site, if you hit the enter key instead of clicking on the search image in the search skin object.

Is that where you are experiencing it as well?

I ended up disabling the validation in the web.config for now, see this Wiki entry for more info
http://www.dotnetnuke.com/Resources/W...

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
10/30/2011 10:24 PM
 
Hi Chris,

I see this in many places throughout the site, moreso in a custom page with Dynamic Login(Datasprings) in which I also have to have the DNN login control in the page too. But it seems to happen everywhere. I know I turn off validation, but it is there for a reason.


Also when I click your link, it is as if there isn't any post there. 

With things like this going on daily, I am concerned in disabling event validation:

http://www.crn.com.au/News/277082,asp...


http://msdn.microsoft.com/en-us/libra...

per Microsoft:

Security Note

This feature reduces the risk of unauthorized or malicious postback requests and callbacks. It is strongly recommended that you do not disable event validation.


So yes, I can get around the error for now, but would love to figure out what is causing it. Guess I could run it through the debugger, but other things I have read, said one of the biggest issues with ASP.NET is a lot of programmers disable this.

Thanks,

Jim


Thank you,
James Campbell
MCP,MCSA,MCSE,Sec +
http://jamesecampbell.blogspot.com
 
New Post
11/2/2011 3:56 PM
 
James,

I've been having the same issues as well.  Only when I use a DataSprings module.

Have you found any solution?  I hate to try and modify my config or write extra code just so that I can use the DS modules.  Kind of defeats the purpose of buying them.

Thanks,
Craig
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error in DNN 5.6.3 Invalid postback or callback argument. Error in DNN 5.6.3 Invalid postback or callback argument.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out