problems with 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.
1/8/2013 7:09:45 PM
Gravatar
Total Posts 11

problems with Form Wizard Pro

then i will open a page with the Form Wizard Modultyp this error massage is coming:

2013-01-09 02:02:59,540 ERROR - de-DE - /mojoportal/anmeldung.aspx - mojoPortal.Web.Global -  Referrer(none) useragent ) Gecko/20100101 Firefox/17.0 
System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821'
   at sts.FormWizard.Web.UI.FormWizardModule.Page_Load(Object sender, EventArgs e)
   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)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

 

thx 4 your help

1/9/2013 7:01:03 AM
Gravatar
Total Posts 18439

Re: problems with Form Wizard Pro

Hi,

You are using .NET 3.5? I just fixed a bug in that package.

Please download Form Wizard Pro again from your account and replace the file from dotnet35/wwwroot/bin/sts.FormWizard.Web.UI.dll into the /bin folder in your installation.

To download, login, click "My Account", then Order History

Thanks,

Joe

1/9/2013 9:44:20 AM
Gravatar
Total Posts 11

Re: problems with Form Wizard Pro

i have net 4.0 

1/9/2013 9:51:52 AM
Gravatar
Total Posts 18439

Re: problems with Form Wizard Pro

Hi,

Look in the <runtime section at the bottom of your Web.config file

if it has this:

<dependentAssembly>
        <assemblyIdentity name="log4net" publicKeyToken="1b44e1d426115821" />
        <bindingRedirect oldVersion="0.0.0.0-1.2.11.0" newVersion="1.2.11.0" />
      </dependentAssembly>

replace it with this:

<dependentAssembly>
        <assemblyIdentity name="log4net"
            publicKeyToken="1b44e1d426115821" />
        <bindingRedirect oldVersion="1.2.10.0"
        newVersion="1.2.11.0" />
      </dependentAssembly>

or if it is missing completely just add it.

Thanks,

Joe

1/9/2013 12:51:34 PM
Gravatar
Total Posts 11

Re: problems with Form Wizard Pro

okay thx it works :) 

8/12/2013 4:12:56 PM
Gravatar
Total Posts 6

Re: problems with Form Wizard Pro

I just upgraded the FormWizard Pro to a newer version for .Net 4.0. The script ran fine. When I added the Form Wizard Pro to the page, I cannot see any form controls. When I try to edit the feature from settings, I am getting this error

 

Could not load file or assembly 'log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

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.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

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.


Assembly Load Trace: The following information can be helpful to determine why the assembly 'log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' could not be loaded.
 

WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


Stack Trace: 
 

[FileLoadException: Could not load file or assembly 'log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)] sts.FormWizard.Web.UI.FormSubmissionHandlerProviderManager..cctor() +0 [TypeInitializationException: The type initializer for 'sts.FormWizard.Web.UI.FormSubmissionHandlerProviderManager' threw an exception.] sts.FormWizard.Web.UI.FormSubmissionHandlerProviderManager.get_Providers() +0 sts.FormWizard.Web.UI.FormSubmissionHandlerSetting.EnsureItems() +265 sts.FormWizard.Web.UI.FormSubmissionHandlerSetting.SetValue(String val) +21 mojoPortal.Web.AdminUI.ModuleSettingsPage.AddSettingControl(CustomModuleSetting s, Panel groupPanel) +1589 mojoPortal.Web.AdminUI.ModuleSettingsPage.PopulateCustomSettings() +983 System.Web.UI.Control.InitRecursive(Control namingContainer) +133 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1970

We are using mojoportal version MSSQL 2.3.9.0 version and the log4net.dll version inside the bin folder is 1.2.10.0. I followed your above instruction but it's not working. 

Your help will be much appreciated.

Thanks in advance.

8/12/2013 4:28:55 PM
Gravatar
Total Posts 6

Re: problems with Form Wizard Pro

This is the main exception on the page where the FormWizardPro is added.

 

 mojoPortal.Web.UI.CmsPage - failed to load control FormWizard/FormWizardModule.ascx 
System.Web.HttpCompileException (0x80004005): (0): error CS1705: Assembly 'sts.FormWizard.Web.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' which has a higher version than referenced assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821'
   at System.Web.Compilation.AssemblyBuilder.Compile()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
   at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
   at mojoPortal.Web.UI.CmsPage.LoadPage()

 

8/12/2013 5:07:07 PM
Gravatar
Total Posts 18439

Re: problems with Form Wizard Pro

Hi,

The latest version of Form Wizard Pro requires the latest version of mojoPortal. They both depend on log4net but it sounds like you are using an older version of mojoPortal that uses an older version of log4net than the one expected by From Wizard Pro. To correct the problem upgrade to the latest version of mojoPortal which has the newer compatible version of log4net.

Hope that helps,

Joe

8/22/2013 2:21:55 PM
Gravatar
Total Posts 6

Re: problems with Form Wizard Pro

Thanks Joe. Upgrading mojoportal to the latest version fixed everything.

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