Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rick 36 posts 150 karma points
    Dec 02, 2011 @ 17:49
    Rick
    0

    Error inserting forms after host IP change

    Hello Everyone,

    After changing the internal-facing IP of the host machine, I'm no longer able to insert existing or new Contour forms into any RTE using the Insert Macro method.  I'm getting the following error:

    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.

    ...with the following stack trace...

    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.]
    System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument) +11339864
    System.Web.UI.WebControls.DropDownList.LoadPostData(String postDataKey, NameValueCollection postCollection) +80
    System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +543
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2653

    I've tried adding ' EnableEventValidation="false" ' to the template that contains the RTE where the form gets inserted as well as <pages EnableEventValidation="false" /> in the web.config with no change to the behavior of inserting the form via the macro.

    Has anyone else seen this issue?

    Thanks in advance,

    Rick

     

  • Rick 36 posts 150 karma points
    Dec 05, 2011 @ 17:00
    Rick
    0

    Revisted the web.config file and tried adding the enableEventValidation value to the pages section and its working now.

    <pages validateRequest="false" enableEventValidation="false">

    Ugh...

Please Sign in or register to post replies

Write your reply to:

Draft