Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Could not load type Abp.Json.JsonHelper from assembly Abp #486


User avatar
0
omital created

Hi, after update to Version=0.7.3.0 I received this error ERROR 2015-11-09 08:46:34,251 [6 ] .Mvc.Controllers.AbpHandleErrorAttribute - System.TypeLoadException: Could not load type 'Abp.Json.JsonHelper' from assembly 'Abp, Version=0.7.3.0, Culture=neutral, PublicKeyToken=null'. at Abp.Web.Navigation.NavigationScriptManager.AppendMenu(StringBuilder sb, UserMenu menu) at Abp.Web.Navigation.NavigationScriptManager.<GetScriptAsync>d__0.MoveNext() --- 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)..... How can I resolve this problem?


5 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Be sure that you're using latest version of Abp and Abp.Web packages. JsonHelper was removed, JsonExtensions is used in NavigationScriptManager anymore.

  • User Avatar
    0
    omital created

    Thank you for your response. I cheeked all package and some of them has been upgrade to new version but I received error

    Mvc.Controllers.AbpHandleErrorAttribute - System.MissingMethodException: Method not found: 'Abp.Application.Features.IFeatureDependency Abp.Authorization.Permission.get_DependedFeature()'.
    

    in error log and also navigation system does not work properly (abp.nav is null)

  • User Avatar
    0
    omital created

    I create new project with asp.netBoilerplate abp and abp.web version are 7.3.0 but in project that I faced with problem abp and abp.web version are 7.4.0 therefore I use latest version but I received this error ".Mvc.Controllers.AbpHandleErrorAttribute - System.MissingMethodException: Method not found: 'Abp.Application.Features.IFeatureDependency Abp.Authorization.Permission.get_DependedFeature()'"

  • User Avatar
    0
    daws created

    There is a breaking change with 0.7.4, please see if it's not related. <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/releases/tag/v0.7.4.0">https://github.com/aspnetboilerplate/as ... g/v0.7.4.0</a>

  • User Avatar
    0
    omital created

    Hi and thank you for your response. I update abp.* again and it work.