Closed TorreyGarland closed 9 months ago
Awesome work thanks for sharing this Fix info with us.
Check your Autofac configuration for async support. Ensure you register async dependencies correctly. Also, verify if you're using the latest version of Autofac compatible with MVC4 and async actions.
MVC4 throws exceptions when using Autofac with MVC async controller actions due to improper configuration. Ensure that the async controllers and their dependencies are correctly registered in Problems Autofac. Updating to the latest Autofac and MVC packages might also resolve compatibility issues. Properly configuring dependency injection can prevent these exceptions.
Seems to have a problem with autofac lifetime scopes.