Copied to clipboard

Flag this post as spam?

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


  • Tony 105 posts 163 karma points
    Apr 22, 2015 @ 16:16
    Tony
    0

    System.Net.Http.Formatting.FormDataCollection Error

    Ive just updated to the latest version (I tried the standard release, got teh follwing issue and updated to teh nightly incase it was fixed)  and Im now getting an exception in the Form.cshtml at line 140

    {"c:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\Temporary ASP.NET Files\\root\\64e2686b\\ea12df86\\App_Web_script.cshtml.b66a646f.7ctllmwu.0.cs(170): error CS0012: The type 'System.Net.Http.Formatting.FormDataCollection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'."}

    I have removed and re-referanced teh dll but I still get this issue?

  • Zac 223 posts 575 karma points
    Apr 22, 2015 @ 16:46
    Zac
    0

    Same. Already asked about this here

    Not had a response yet

  • Tony 105 posts 163 karma points
    Apr 22, 2015 @ 16:53
    Tony
    0

    At least its not just me, I did search the forums but I didnt find your post:)

  • Tony 105 posts 163 karma points
    Apr 23, 2015 @ 10:51
    Tony
    1

    This is a breaking change  between 

    UmbracoForms.Files.4.0.4-WIP.Build.38.zip

    and

    UmbracoForms.Files.4.0.4-WIP.Build.40.zip

    would you be able to look into this? Not sure how it gor through but anyone upgrading to any build >= 40 will suffer this.

  • Zac 223 posts 575 karma points
    Apr 25, 2015 @ 16:47
    Zac
    0

    Bump.

  • Comment author was deleted

    May 06, 2015 @ 14:31

    Thanks for reporting will check what changed between those 2 builds

  • Comment author was deleted

    May 06, 2015 @ 14:36

    Can't reproduce atm, which Umbraco version where you running?

  • Zac 223 posts 575 karma points
    May 10, 2015 @ 17:31
    Zac
    0

    7.2.1 in my case

  • Comment author was deleted

    May 11, 2015 @ 10:52

    Ok thanks for the additional info, still haven't been able to reproduce, would you mind sending a site that has the issue to tg at umbraco dot com?

  • Carl Jackson 139 posts 478 karma points
    May 19, 2015 @ 18:32
    Carl Jackson
    0

    Also having this error with anything post 4.0.3, using Umbraco 7.2.4 and 7.2.5

    In my case it seems to be when you try and render the form via a Macro in the Grid area.

    Thanks

    Carl

  • Tony 105 posts 163 karma points
    May 27, 2015 @ 17:27
    Tony
    0

    Ive just upgraded to Forms 4.1.3 and getting this error again. Still not sorted?

  • Tony 105 posts 163 karma points
    May 27, 2015 @ 17:30
    Tony
    2

    Ahh, found the solution here -->

    https://our.umbraco.org/forum/ourumb-dev-forum/bugs/60341-Form-loads-correctly,-but-error-message-appears

    Add the following to teh web.config

    <addassembly="System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Please Sign in or register to post replies

Write your reply to:

Draft