Copied to clipboard

Flag this post as spam?

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


  • Mark 255 posts 612 karma points
    Nov 18, 2010 @ 23:21
    Mark
    0

    Upgrade issues

    I have upgraded from version 1.0 to the latest version (1.1.4). What I did was extract the "UmbracoContour_1.1.4_update.zip" file to the web root.

    Now, when trying to fill out an already existing form I get the following error (see below). I have tried saving the form within Umbraco, but I get a popup in the bottom right hand corner with a big red X with the message "Failed to save form". Do I need to recreate the form and update the form on the page it is used? Please advise.

    Server Error in '/' Application.

    Unable to find control id '158b2c5e_8f40_4bd8_8387_e889dd17588d' referenced by the 'ControlToValidate' property of 'mandatory'.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: Unable to find control id '158b2c5e_8f40_4bd8_8387_e889dd17588d' referenced by the 'ControlToValidate' property of 'mandatory'.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [HttpException (0x80004005): Unable to find control id '158b2c5e_8f40_4bd8_8387_e889dd17588d' referenced by the 'ControlToValidate' property of 'mandatory'.]
    System.Web.UI.WebControls.BaseValidator.CheckControlValidationProperty(String name, String propertyName) +11088033
    System.Web.UI.WebControls.BaseValidator.ControlPropertiesValid() +50
    System.Web.UI.WebControls.BaseValidator.get_PropertiesValid() +44
    System.Web.UI.WebControls.BaseValidator.Validate() +78
    System.Web.UI.Page.Validate(String validationGroup) +11095020
    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +105
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981



    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614

  • Comment author was deleted

    Nov 19, 2010 @ 16:47

    Are you sure the upgrade was complete, so you used all files from the upgrade archive?

  • Harald Ulriksen 207 posts 249 karma points
    Nov 19, 2010 @ 23:13
    Harald Ulriksen
    0

    Note that if you use the built in zip/compressed folder in later windows versions it will not extract all files if the zip has been downloaded and marked as untrusted. (right-click, properties, general tab - look for unblock button at the bottom). Or just use 7zip.

     

    Cheers,
    Harald.

  • Mark 255 posts 612 karma points
    Nov 22, 2010 @ 14:41
    Mark
    0

    Hey guys,

    I always use 7zip. I retried and am still having the same issue when saving, and when submitting the form. Strangely, the two workflow emails (to the website administrator and to the client) are being sent successfully.

    I will try re-creating the form within the Contour section of the CMS. Then I will re-create the macro on the page it is used.

    Thanks,

    Mark

  • Mark 255 posts 612 karma points
    Nov 22, 2010 @ 14:44
    Mark
    0

    I will let you know how I get on. I assume there are no database changes for the upgrade?

  • Comment author was deleted

    Nov 22, 2010 @ 14:45

    Hi Mark, that's correct there are no db changes

  • Mark 255 posts 612 karma points
    Nov 22, 2010 @ 15:24
    Mark
    0

    Hi guys,

    I recreated the form precicely. The form can be saved within the Contour section of the CMS. But when adding the form to a WYSIWYG editor within a macro I am now getting the following error when viewing the page (note, this is on page load, not as a result of submitting):

    Server Error in '/' Application.

    Control '4bb75e8c_2cf1_4112_be61_4ce115e52fae' referenced by the ControlToValidate property of 'mandatory' cannot be validated.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: Control '4bb75e8c_2cf1_4112_be61_4ce115e52fae' referenced by the ControlToValidate property of 'mandatory' cannot be validated.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [HttpException (0x80004005): Control '4bb75e8c_2cf1_4112_be61_4ce115e52fae' referenced by the ControlToValidate property of 'mandatory' cannot be validated.]
    System.Web.UI.WebControls.BaseValidator.CheckControlValidationProperty(String name, String propertyName) +11088178
    System.Web.UI.WebControls.BaseValidator.ControlPropertiesValid() +50
    System.Web.UI.WebControls.BaseValidator.get_PropertiesValid() +44
    System.Web.UI.WebControls.BaseValidator.OnPreRender(EventArgs e) +38
    Umbraco.Forms.Core.Controls.Validation.RequiredValidator.OnPreRender(EventArgs e) in d:\TeamCity\buildAgent\work\e4473b9ec9597356\Umbraco.Forms.Core\Controls\Validation\Validators.cs:17
    System.Web.UI.Control.PreRenderRecursiveInternal() +108
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394



    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614

  • Mark 255 posts 612 karma points
    Nov 22, 2010 @ 15:42
    Mark
    0

    Okay. The form has a recaptcha field. This field was set to mandatory as I wanted a message to be displayed if no value was entered. I removed the mandatory setting and the page rendered fine on page load. The unfortunate side affect of this is that the form simply refreshes without displaying any error message if the recaptcha box is left empty, but I can live with that.

    I submitted the form and got the following error (see below), but again, I did receive the emails specified in the two email workflows specified for the form. Is there a requirement for session state to be enabled for Contour? Here is the error message:

    Server Error in '/' Application.

    Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [HttpException (0x80004005): Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.]
    System.Web.UI.Page.get_Session() +4068962
    Umbraco.Forms.UI.Usercontrols.RenderForm.RenderUi() in d:\TeamCity\buildAgent\work\e4473b9ec9597356\Umbraco.Forms.UI\Usercontrols\RenderForm.ascx.cs:381
    Umbraco.Forms.UI.Usercontrols.RenderForm.nextPage(Object sender, EventArgs e) in d:\TeamCity\buildAgent\work\e4473b9ec9597356\Umbraco.Forms.UI\Usercontrols\RenderForm.ascx.cs:207
    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115
    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981



    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614

Please Sign in or register to post replies

Write your reply to:

Draft