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 3504 posts 12133 karma points MVP 8x 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

  • Comment author was deleted

    Jul 15, 2015 @ 07:11

    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 3504 posts 12133 karma points MVP 8x admin c-trib
    Jul 15, 2015 @ 07:37
    Dave Woestenborghs
    0

    That fixed it. Thanks

  • Marcin Zajkowski 112 posts 585 karma points MVP 6x 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 223 posts 575 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>
    
Please Sign in or register to post replies

Write your reply to:

Draft