Copied to clipboard

Flag this post as spam?

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


  • Patrick Scott 70 posts 110 karma points c-trib
    Oct 05, 2015 @ 10:06
    Patrick Scott
    0

    7.3 and courier 2.51.2

    I have just upgraded a site to umberaco 7.3 and have an issue with courier now. If I right click on any node I get the error below.

    The version of System.Net.Http.Formatting.dll is version 5.2.3.30128.0 so I assume it is an extension method. Any ideas??

    Failed to retrieve data for a node's menu 1211

    Method not found: 'System.Net.Http.Formatting.FormDataCollection Umbraco.Web.Trees.TreeRenderingEventArgs.get_QueryStrings()'.

    EXCEPTION DETAILS:

    System.MissingMethodException: Method not found: 'System.Net.Http.Formatting.FormDataCollection Umbraco.Web.Trees.TreeRenderingEventArgs.get_QueryStrings()'. STACKTRACE:

    at Umbraco.Courier.UI.CourierTasks.TreeEvent.TreeControllerBaseMenuRendering(TreeControllerBase sender, MenuRenderingEventArgs e) at Umbraco.Web.Trees.TreeControllerBase.OnMenuRendering(TreeControllerBase instance, MenuRenderingEventArgs e) at Umbraco.Web.Trees.TreeControllerBase.GetMenu(String id, FormDataCollection queryStrings) at lambdamethod(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>cDisplayClass10.9(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ApiControllerActionInvoker.

  • Patrick Scott 70 posts 110 karma points c-trib
    Oct 05, 2015 @ 16:48
    Patrick Scott
    0

    in case anyone else has this issue, there was a dependency section missing from the web.config

      <dependentAssembly>
        <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
      </dependentAssembly>
    

    obvious when you know the solution!

Please Sign in or register to post replies

Write your reply to:

Draft