You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run tests (all pass other than those expected due to issues 272 & 397)
Run Remember.Web.
Exception seen:
The exception below is shown on browsing to the home page. (It is also seen when browsing to the account pages).
Server Error in '/' Application.
This module requires that the HttpApplication (Global Application Class) implements IContainerProviderAccessor.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: This module requires that the HttpApplication (Global Application Class) implements IContainerProviderAccessor.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: This module requires that the HttpApplication (Global Application Class) implements IContainerProviderAccessor.]
Autofac.Integration.Web.ContainerDisposalModule.Init(HttpApplication context) +173
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +418
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296
[HttpException (0x80004005): This module requires that the HttpApplication (Global Application Class) implements IContainerProviderAccessor.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9885060
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009
The text was updated successfully, but these errors were encountered:
AGBrown
added a commit
to AGBrown/AutofacABContrib
that referenced
this issue
Jul 13, 2014
- Remove ContainerDisposal and PropertyInjection modules as specified by autofac docs
- Remove AttributedInjectionModule
ref: https://github.com/autofac/Autofac/wiki/Mvc-Integration
> Remove ASP.NET Autofac HTTP module configuration. Previously there were some Autofac ContainerDisposal and PropertyInjection modules required in your web.config . These should be removed.
ref: autofac#550
Using:
Steps to reproduce
Exception seen:
The exception below is shown on browsing to the home page. (It is also seen when browsing to the account pages).
The text was updated successfully, but these errors were encountered: