question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception after upgrade to version 3.0.0

See original GitHub issue

After upgrade to latest version 3.0.0.0, I’m getting the following exception:

[TypeLoadException: Method ‘ExecuteActionFilterAsync’ in type ‘Abp.WebApi.Validation.AbpApiValidationFilter’ from assembly ‘Abp.Web.Api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null’ does not have an implementation.] System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes) +0 System.Reflection.RuntimeAssembly.GetExportedTypes() +31 Castle.Core.Internal.ReflectionUtil.GetAvailableTypes(Assembly assembly, Boolean includeNonExported) +46 Castle.Core.Internal.ReflectionUtil.GetAvailableTypesOrdered(Assembly assembly, Boolean includeNonExported) +15 System.Linq.<SelectManyIterator>d__172.MoveNext() +292 Castle.MicroKernel.Registration.FromDescriptor.Castle.MicroKernel.Registration.IRegistration.Register(IKernelInternal kernel) +126 Castle.MicroKernel.DefaultKernel.Register(IRegistration[] registrations) +69 Castle.Windsor.WindsorContainer.Register(IRegistration[] registrations) +46 Abp.Dependency.IocManager.RegisterAssemblyByConvention(Assembly assembly, ConventionalRegistrationConfig config) in D:\Github\aspnetboilerplate\src\Abp\Dependency\IocManager.cs:79 System.Collections.Generic.List1.ForEach(Action`1 action) +14671646 Abp.Modules.AbpModuleManager.StartModules() in D:\Github\aspnetboilerplate\src\Abp\Modules\AbpModuleManager.cs:48 Abp.AbpBootstrapper.Initialize() in D:\Github\aspnetboilerplate\src\Abp\AbpBootstrapper.cs:152 Corgee.Web.MvcApplication.Application_Start(Object sender, EventArgs e) in D:\cgbot\Corgee Dev\Corgee\Corgee.Web\Global.asax.cs:17

[HttpException (0x80004005): Method ‘ExecuteActionFilterAsync’ in type ‘Abp.WebApi.Validation.AbpApiValidationFilter’ from assembly ‘Abp.Web.Api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null’ does not have an implementation.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +535 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +166 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +169 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +372 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +329

[HttpException (0x80004005): Method ‘ExecuteActionFilterAsync’ in type ‘Abp.WebApi.Validation.AbpApiValidationFilter’ from assembly ‘Abp.Web.Api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null’ does not have an implementation.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +118 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +708

My base framework: .Net Framework 4.6.1

Running on VS2017

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

7reactions
vitalii-mostivskyicommented, Feb 24, 2018

Adding binding to System.Net.Http helps me to solve the same problem. Boilerplate version 3.4.0

6reactions
hikalkancommented, Sep 12, 2017
Abp.WebApi.Validation.AbpApiValidationFilter' from assembly 'Abp.Web.Api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation

This is an exception we have got before. I suppose this is something related to .netstandard & .net framework rather than ABP. We solved the problem by;

  1. Added a new target to the project file: https://github.com/aspnetboilerplate/module-zero-template/blob/master/src/AbpCompanyName.AbpProjectName.WebMpa/AbpCompanyName.AbpProjectName.WebMpa.csproj#L3000
  2. Added all these bindings: https://github.com/aspnetboilerplate/module-zero-template/blob/master/src/AbpCompanyName.AbpProjectName.WebMpa/Web.config#L46 I am not sure which one fixed it.

And finally delete bin & obj folders of the project and re-build.

Read more comments on GitHub >

github_iconTop Results From Across the Web

java.lang.NoClassDefFoundError: javax.servlet.Filter
Just upgraded from Spring Boot 2.7.4 to Spring Boot 3.0.0, caused error Caused by: java.lang.NoClassDefFoundError: javax.servlet.Filter · Ask ...
Read more >
Preparing for Spring Boot 3.0
Hi, I am trying to upgrade a 2.7x java 17 project to 3.0 snapshot. I am unable to Resolve extend from my hibernate.Dialect...
Read more >
Migrating AWS Glue for Spark jobs to AWS Glue version 3.0
Describes migrating Apache Spark ETL jobs to AWS Glue version 2.0. ... Scala is also updated to 2.12 from 2.11, and Scala 2.12...
Read more >
Updating from 15.11 to latest docker build fails
Hi! I have been updating gitlab monthly on the 23rd using the official docker build gitlab/gitlab-ce for a couple of years without issue....
Read more >
Upgrade Liquibase and Spring Batch Project to Spring Boot 3
x to 3.0. Please upgrade to 2.7 first to minimize the upgrade effort. Common Changes. Update the parent version from 2.7.x to 3.0.0...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found