Base solution for your next web application
Open Closed

MethodMissingException after Abp upgrade from v.1.0 to v.1.4 #3744


User avatar
0
george created

Hi ,

I recently upgraded Abp, Abp.Zero, Abp.Zero.EntityFrameWork, Abp.Zero.Ldap to v.1.4. Also downgraded EntityFrameWork.DynamicFilters to v.1.4.11.

After that i am getting a MethodMissingException :- Method not found: '!!0 Abp.Reflection.ReflectionHelper.GetSingleAttributeOfMemberOrDeclaringTypeOrDefault(System.Reflection.MemberInfo, !!0)'.

I tried Deleting/Cleaning the bin/Solution but no effect at all.

Could you please help me to solve this issue. Also I would like to know why this error is happening.

Please help.

regards, George


3 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    it might be related to targetFramework setting in web.config. this may help you <a class="postlink" href="https://stackoverflow.com/questions/31253747/method-not-found-0-system-array-empty-asapp-bundleconfig-registerbundl">https://stackoverflow.com/questions/312 ... isterbundl</a>

  • User Avatar
    0
    george created

    Hi, thanks for the reply. we are using .NET Framework.4.6.1 .

    In my webconfig, <compilation debug="true" targetFramework="4.6.1">

     &lt;httpRuntime targetFramework=&quot;4.5.1&quot; /&gt;
    

    Then i tried <httpRuntime targetFramework="4.6.1" /> too. But same error is happening.

    More Suggestions please.....Its been a week i am facing the problem.... need help....

  • User Avatar
    0
    hikalkan created
    Support Team

    This generally happens when you upgrade some Abp* packages but not upgrade other Abp* packages. Be sure that all Abp* packages are in the same version. If that does not work please share your stacktrace so we can understand which library is trying to call that method.

    BTW, I strongly suggest to upgrade to latest ABP version since your version is too old and hard to support for us :)