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...Upgrading DNN P...Upgrading DNN P...Enter Key Not Working for Search Crawler Input After Upgrade to 6.0.2Enter Key Not Working for Search Crawler Input After Upgrade to 6.0.2
Previous
 
Next
New Post
7/3/2012 11:04 AM
 

I’ve recently upgraded a dnn installation from 5.6.2 to 6.0.2 and have run into an issue with one of the settings under SearchCrawler Input Settings.

The search crawler is included on every page in the site in a standard header area.  The “Enter on Error” switch was checked to ON under the 5.6.2 version, allowing the user to hit the Enter Key to start a search (after entering text into the search box).

When I upgraded to version 6.0.2 we started getting errors like this: “Event Validation Error: Control that submitted the post back is not registered with the Client Script Manager”. I understand that this is because this newer version of DNN has EVENTVALIDATION turned on. The entire error is shown below.

I have looked at the SearchCrawler Input Settings on several pages and found the “Search On Enter” checked – even though this was checked we still were getting the event validation error.  It’s expected that the client side markup for the search crawler input control to include javascript to allow use of the Enter Key under EVENTVALIDATION

As a test, I UNCHECKED the “Search On Enter” box for several instances of the control (on different pages) and found that the search went through a-ok. It seems that having the “Search On Enter” unchecked should disable the Enter Key.

If you could investigate and help us resolve this issue, we’d appreciate it.

AssemblyVersion: 6.0.2

PortalID: 0

PortalName:***********************************

UserID: 15

UserName: *************

ActiveTabID: 175

ActiveTabName: Profile

RawURL: /Our-People/Profile/id/53/Matthew-Anderson.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://********/Our-People/Profile/id/53/Matthew-Anderson.aspx

UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; MS-RTC LM 8; .NET4.0C; .NET4.0E)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: d844104b-f427-472c-8447-efdc3d93cf85

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.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: **********

 

 
New Post
7/27/2012 6:52 AM
 


enableEventValidation="false" set enableEventValidation as false in web.config file
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Enter Key Not Working for Search Crawler Input After Upgrade to 6.0.2Enter Key Not Working for Search Crawler Input After Upgrade to 6.0.2


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