Form wizard pro

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
7/25/2014 6:34:06 AM
Gravatar
Total Posts 118

Form wizard pro - error on second question


Running version 2.4.0.0 MSSQL
 

Hi, I've just installed Form Wizard Pro, I seem to be able to add the first question okay (long pause when clicking on submit) but then I get forwarded to the error page when trying to add a second question. Clicking 'back' in my browser takes me to the form with one question on. 

7/25/2014 7:55:25 AM
Gravatar
Total Posts 18444

Re: Form wizard pro

you did not mention the version of Form Wizard Pro. The most common issue is a version issue so upgrading to the latest of mojoPortal and Form Wizard is usually the best idea to make sure you have compatible versions.

In any case, the first step in troubleshooting is to find out what error is happening.

7/25/2014 8:00:34 AM
Gravatar
Total Posts 118

Re: Form wizard pro

It's form wizard pro version 2.6.1.7

I'll take a look at the error now.

7/25/2014 8:04:02 AM
Gravatar
Total Posts 118

Re: Form wizard pro

2014-07-25 14:03:23,871 ERROR 10.171.75.166 - en-US - /FormWizard/FormEdit.aspx?mid=7562&pageid=4410 - mojoPortal.Web.Global -  Referrer(http://themanor.xwalsall.nhs.uk/testskin.aspx) useragent Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36 
System.TypeLoadException: Could not load type 'mojoPortal.Web.UI.EmailValidator' from assembly 'mojoPortal.Web, Version=1.0.5065.26838, Culture=neutral, PublicKeyToken=null'.
   at sts.FormWizard.Web.UI.EmailQuestion.SetupControls()
   at System.Web.UI.Control.EnsureChildControls()
   at System.Web.UI.WebControls.CompositeControl.DataBind()
   at System.Web.UI.Control.DataBindChildren()
   at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
   at System.Web.UI.Control.DataBindChildren()
   at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
   at System.Web.UI.Control.DataBindChildren()
   at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
   at System.Web.UI.Control.DataBindChildren()
   at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
   at AjaxControlToolkit.ReorderList.CreateItem(Int32 index, Boolean dataBind, Object dataItem, ListItemType itemType, Boolean hasDragHandle)
   at AjaxControlToolkit.ReorderList.CreateChildControls(IEnumerable dataSource, Boolean dataBinding)
   at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)
   at AjaxControlToolkit.ReorderList.PerformDataBinding(IEnumerable data)
   at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)
   at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
   at sts.FormWizard.Web.UI.WebFormControl.BindGrid()
   at sts.FormWizard.Web.UI.WebFormControl.PopulateControls()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

7/25/2014 8:09:41 AM
Gravatar
Total Posts 18444

Re: Form wizard pro

You need to upgrade mojoPortal to fix that. As is indicated on the product page for Form Wizard Pro, at version 2.6.1.6 it required mojoPortal version 2.4.0.3. or higher, you are using 2.6.1.7 with mojoPortal 2.4.0.0 which is not compatible.

As you see the error is about the EmailValidator which was added in mojoPortal 2.4.0.3 and does not exist in 2.4.0.0 so this error happens.

7/25/2014 8:12:20 AM
Gravatar
Total Posts 18444

Re: Form wizard pro

I suggest either upgrade to mojoPortal 2.4.0.3, or if you have .NET 4.5 then upgrade to the latest of both mojoPortal and Form Wizard Pro.

7/25/2014 8:18:45 AM
Gravatar
Total Posts 118

Re: Form wizard pro

That's great, thanks a lot for your time. 

8/28/2014 8:12:18 AM
Gravatar
Total Posts 118

Re: Form wizard pro

Hi, I've since updated to 2.4.0.4 MSSQL and Form wizard pro 2.6.1.8.

It seemed to work okay and I managed to get a couple of forms created, however, upon touching the web.config (doing some skin changes). Each page that has a form is unavailable with the following error. I've checked the log, but nothing in there seems relevant.

Server Error in '/' Application.
--------------------------------------------------------------------------------

The requested script resource 'Common.Common.js' requires version 'AjaxControlToolkit, Version=4.1.7.123, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' of the ASP.NET AJAX Framework. To use this resource, make sure that the application references version 'AjaxControlToolkit, Version=4.1.7.123, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e'. 
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.InvalidOperationException: The requested script resource 'Common.Common.js' requires version 'AjaxControlToolkit, Version=4.1.7.123, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' of the ASP.NET AJAX Framework. To use this resource, make sure that the application references version 'AjaxControlToolkit, Version=4.1.7.123, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e'.

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: 


[InvalidOperationException: The requested script resource 'Common.Common.js' requires version 'AjaxControlToolkit, Version=4.1.7.123, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' of the ASP.NET AJAX Framework. To use this resource, make sure that the application references version 'AjaxControlToolkit, Version=4.1.7.123, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e'.]
   System.Web.UI.CompositeScriptReference.GetUrl(ScriptManager scriptManager, Boolean zip) +1190
   System.Web.UI.ScriptManager.RegisterUniqueScripts(List`1 uniqueScripts) +350
   System.Web.UI.ScriptManager.RegisterScripts() +692
   System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) +281
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4543

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1022 

8/28/2014 9:18:46 AM
Gravatar
Total Posts 18444

Re: Form wizard pro

did you deploy the .NET 4.5 version of Form Wizard Pro or the .NET 4 version?

do you know if .NET 4.5 is installed on the server?

if you deployed the .NET 4.5 version, for a test you might try deploy the dlls from the bin folder of the 4.0 version and see if that solves it, if not you can re-deploy the 4.5 dlls

8/28/2014 9:23:06 AM
Gravatar
Total Posts 118

Re: Form wizard pro

I deployed the .net 4.0 files, as I'm running the .net 4.0 version of mojoportal. When I upgraded, I also had to apply the subsequent files as I get .net errors. 

I've since noticed that this isn't an issue with the form. Each time I touch the web.config file, I have to return to the first webiste before I can access any of my subsequent sites (I have an 8 site multi installation)

8/28/2014 9:37:48 AM
Gravatar
Total Posts 18444

Re: Form wizard pro

can you try adding this in Web.config inside the <pages><tagMapping>

<add tagType="System.Web.UI.ScriptManager" mappedTagType="AjaxControlToolkit.ToolkitScriptManager" />

and see if that solves it or not?

You must sign in to post in the forums. This thread is closed to new posts.