Cannot edit or create forms anymore with Form Wizard Pro

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
12/15/2009 2:16:05 PM
Gravatar
Total Posts 14

Cannot edit or create forms anymore with Form Wizard Pro

Windows SBS 2005
SQL Server
Version2.3.1.0

Cannot edit forms anymore using Form Wizard Pro

Did not use the form editor some time. But now get the following error trying to create a new form.

Event log says:
Exception information:

Exception type: HttpParseException

Exception message: Could not load file or assembly 'AjaxControlToolkit, Version=1.0.20229.25725, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Anybody any suggestion?

12/16/2009 4:00:11 AM
Nux
Gravatar
Total Posts 183

Re: Cannot edit or create forms anymore with Form Wizard Pro

Hey

it seems that you have an old version of the AjaxControlToolkit.dll, which would be very strange if you have installed it on the proper way.
Check the AjaxControlToolkit.dll in the bin folder. Is there one? If so, which version (right click on the dll, properties -> version)?
It should be of version "3.0.20820.16598"

Greetings
Stef

12/16/2009 5:53:06 AM
Gravatar
Total Posts 14

Re: Cannot edit or create forms anymore with Form Wizard Pro

you expected the version installed is correct: 3.0.20820.16598

There are more website present on the same server. Could it be that there are older version of the toolkit which interfers with Mojoportal?

12/16/2009 5:57:37 AM
Gravatar
Total Posts 18439

Re: Cannot edit or create forms anymore with Form Wizard Pro

Yes, that is likely the problem. If someone installed the older toolkit using an installer then it was installed in the GAC (Global Assembly Cache) and .NET will use that in preference to the one in the /bin folder so it broke mojoPortal when this older version was installed on the server.

The way to solve it would be to put the old version of the dll in the /bin folder in apps that need the old version, then uninstall it from the GAC so that mojoPortal can use the one in it's /bin folder

Hope it helps,

Joe

12/16/2009 6:02:34 AM
Nux
Gravatar
Total Posts 183

Re: Cannot edit or create forms anymore with Form Wizard Pro

Hey,

I though that the application takes first the dll from the bin and if it isn't there, it takes the dll from the GAC and not the the other way.

Do you have that error only on a page with the form wizard on? Or on every page?

Stef

12/16/2009 6:08:16 AM
Gravatar
Total Posts 18439

Re: Cannot edit or create forms anymore with Form Wizard Pro

I know recently I saw someone give a demo of an MVC app, they had the newer version of MVC in the bin and an older one in the GAC and it used the one from the GAC, he had to uninstall it to get his demo working.

12/16/2009 8:08:12 AM
Nux
Gravatar
Total Posts 183

Re: Cannot edit or create forms anymore with Form Wizard Pro

Ok, I did some reseach:

To use the ajaxcontroltoolkit.dll, you just put it in your bin folder of your application. But... the dll is strongly typed, and if you have installed it in the GAC, the application checks first the GAC version and if it can't find it there, it checks the BIN folder. But if there is a version in GAC, you get this kind of error.

So, for your problem: is there a site on your server that needs ajaxcontroltoolkit? If so, install the new version in the GAC so mojoportal works (and know that you will have to check this for every new version of the toolkit). If not, uninstalled it from the GAC and your site will work (i guess Cool)

Gr
Stef

12/16/2009 8:22:06 AM
Gravatar
Total Posts 14

Re: Cannot edit or create forms anymore with Form Wizard Pro

I check for older version in the Global Assembly Cache folder but no AjaxControlToolkit.dll was present there. Only in bin directories of the different web sites.

12/17/2009 3:54:02 AM
Gravatar
Total Posts 14

Re: Cannot edit or create forms anymore with Form Wizard Pro

Why is MojoPortal trying to load version 1.0?

Could not load file or assembly 'AjaxControlToolkit, Version=1.0.20229.25725

If search the disk but no version 1.0 is found anywhere. Is this version required?

I have copied the dll from the Mojoportal/bin  to the GAC folder but no difference. Still not able to edit forms

12/17/2009 4:19:55 AM
Gravatar
Total Posts 18439

Re: Cannot edit or create forms anymore with Form Wizard Pro

All I can guess is you installed originally when both mojoPortal and Form Wizard Pro were using the 1.0 version of ajaxtoolkit, and then you upgraded mojoPortal to a version which uses the newer ajaxtoolkit but did not upgrade Form Wizard Pro at the same time, so the older Form Wizard Pro may have a dependency on the 1.0 version but the file has been replaced by the newer version included with mojoPortal.

Best solution is to upgrade both mojoPortal and Form Wizard Pro to the latest versions available now, which is version 2.3.3.0 of mojoPortal and 0.0.1.0 of Form Wizard Pro. 

Since you have not upgraded in a while you may want to read some of the posts in the blog about release notes for versions you have skipped to find out about new features and config options.

Hope it helps,

Joe

ps we are within days of making another new and even better release of mojoPortal

12/17/2009 4:31:30 AM
Gravatar
Total Posts 14

Re: Cannot edit or create forms anymore with Form Wizard Pro

Thanks for the advice. Will wait for this ever better new version

12/29/2009 5:22:15 AM
Gravatar
Total Posts 22

Re: Cannot edit or create forms anymore with Form Wizard Pro

Hey there,

we have the same problem with our installation of Mojoportal. When we want to edit the contact form, this error occurs.

We also have no Ajax Toolkit in the global assembly cache.

Our Mojoportal is of version 2.3.3.2 (I've updated it lately).

Can anybody please tell me how to update the Form Wizard Pro to fix this problem?


Thank you very much in advance,
and many greets from Cologne,

Stephan


OS: Win Server 2003
DB: MSSQL 2005
 

12/29/2009 5:39:35 AM
Gravatar
Total Posts 18439

Re: Cannot edit or create forms anymore with Form Wizard Pro

Hi Stephan,

You should also upgrade to the newest version of Form Wizard Pro, version 0.0.1.0.

Hope it helps,

Joe

12/29/2009 5:42:43 AM
Gravatar
Total Posts 22

Re: Cannot edit or create forms anymore with Form Wizard Pro

Hi Joe,

thank you for your answer.

I don't know how to get a newer version of it and how to update? Or is it necessary to buy Form Wizard Pro again?


Thanks, Stephan

12/29/2009 5:45:08 AM
Gravatar
Total Posts 18439

Re: Cannot edit or create forms anymore with Form Wizard Pro

Go to My Account then look in the Order History tab and you should be able to download it from there. Upgrade procedure is the same as initial installation.

Best,

Joe

12/29/2009 5:48:24 AM
Gravatar
Total Posts 22

Re: Cannot edit or create forms anymore with Form Wizard Pro

OK, thanks. I will need to brief Klaus, since he purchased it.

6/2/2011 1:16:34 PM
Gravatar
Total Posts 5

Re: Cannot edit or create forms anymore with Form Wizard Pro

Hey Joe,

It's been a while since I started using mojoportal. Now I wanted to include the Form Wizard Pro in my project and I wanted to know if it's possible to upload more than four files in a single form submission.

Thanks!

Tsega

6/2/2011 1:19:01 PM
Gravatar
Total Posts 18439

Re: Cannot edit or create forms anymore with Form Wizard Pro

No, it supports up to 4 file uploads but not more. I suggest provide instructions to zip up the files if you want to receive more than 4.

Best,

Joe

6/2/2011 8:35:06 PM
Gravatar
Total Posts 5

Re: Cannot edit or create forms anymore with Form Wizard Pro

Thanks Joe! I was hoping there could be a way to tweak the code or the web.config. I'll look into this more. 

Thank you again!

6/3/2011 8:10:52 AM
Gravatar
Total Posts 18439

Re: Cannot edit or create forms anymore with Form Wizard Pro

Do you mind explaining your usage scenario and why you want more files and how many would be enough?

It would help me in deciding if I should add support for more files.

Best,

Joe

6/3/2011 10:11:03 AM
Gravatar
Total Posts 5

Re: Cannot edit or create forms anymore with Form Wizard Pro

Sure Joe. I wanted to use it as online application submission form. In this scenario the applicants need to upload different kind of files, minimum 6-8.

I hope this helps. Please let me know if you have more questions.

Thanks!

Tsega

6/3/2011 10:15:27 AM
Gravatar
Total Posts 18439

Re: Cannot edit or create forms anymore with Form Wizard Pro

I was hoping for more detail, like examples why you need 6-8 files. What specifically would those files be?

When I think about using Form Wizard for a job application, it seems like 4 is plenty to allow uploading a resume, cover letter and maybe a photo. It seems unusual to need more and if more were needed it seems it could be required to zip it into a single file.

Best,

Joe

6/3/2011 11:37:33 AM
Gravatar
Total Posts 5

Re: Cannot edit or create forms anymore with Form Wizard Pro

Joe,

Zipping sounds a good idea. I'll have to discuss this with team members.

Thanks,

Tsega

6/28/2011 8:03:58 AM
Gravatar
Total Posts 5

Re: Cannot edit or create forms anymore with Form Wizard Pro

Hey Joe,

I further discussed this with my team. Our application resembles to the job application but in our case we don't how much files each user needs to upload. One can upload 6 while the other uploads 10 or so and we can not force them to zip files together, as it's going to be a burden to them. So I was wondering if there is any work around to solve this or if you are thinking to upgrade it?

Thanks,

Tsega

6/29/2011 6:49:36 AM
Gravatar
Total Posts 18439

Re: Cannot edit or create forms anymore with Form Wizard Pro

Sorry but I'm not going to implement it to support an arbitrary number of uploads. I might be willing to make it possible to upload up to 8 files, but honestly I don't see any reason why it can't be a requirement for the user to zip up the multiple files and upload it all at once.

Best,

Joe

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