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
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.
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.
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.
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
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:
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614
Comment author was deleted
Are you sure the upgrade was complete, so you used all files from the upgrade archive?
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.
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
I will let you know how I get on. I assume there are no database changes for the upgrade?
Comment author was deleted
Hi Mark, that's correct there are no db changes
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:
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614
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:
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614
is working on a reply...