Copied to clipboard

Flag this post as spam?

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


  • Dave Woestenborghs 3325 posts 11170 karma points MVP 5x admin c-trib
    Jul 15, 2015 @ 06:40
    Dave Woestenborghs
    0

    Forms not rendering

    Hi just installed Umbraco Forms but I am not able to render forms using the macro.

    I get a error on this line using the debugger in Form.cshtml

    @Html.Partial(FormViewResolver.GetScriptView(Model.FormId), Model)

    The error I get is this c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\c316107f\a8b776f4\AppWebscript.cshtml.b66a646f.fj3iiwsz.0.cs(169): error CS0012: The type 'System.Collections.Generic.Dictionary`2

    Any idea what is wrong, because I cannot find this assembly to reference it.

    Dave

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jul 15, 2015 @ 07:11
    Tim Geyssens
    101

    That's strange, have you tried the following:

    adding a new assembly tag to web.config

    <assemblies>
    <add assembly="System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </assemblies>
    
  • Dave Woestenborghs 3325 posts 11170 karma points MVP 5x admin c-trib
    Jul 15, 2015 @ 07:37
    Dave Woestenborghs
    0

    That fixed it. Thanks

  • Marcin Zajkowski 104 posts 572 karma points MVP 3x c-trib
    Jul 29, 2015 @ 12:14
    Marcin Zajkowski
    1

    I've got the same problem on clean Umbraco v7.2.8 and Umbraco Forms. Would be great to fix it during forms installation maybe.

  • Zac 222 posts 574 karma points
    Nov 23, 2015 @ 10:56
    Zac
    0

    Just wanted to point out that we just experienced this after installing Umbraco Forms 4.1.4 on Umbraco 7.3.0

    I had no issues on my local machine, where the form rendered correctly, but on our staging server the log files contained the error described in the first post.

    Indeed explicitly adding the assembly tag fixed the issue:

    <assemblies>
    <add assembly="System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </assemblies>
    
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies