Looks like you forgot to register the http module Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule Add '
This error actual means that you haven't add the PerRequestLifestyle to the modules section within system.webServer.
Just add the following in to your web.config
<configuration>
<system.webServer>
<modules>
<add name="PerRequestLifestyle" type="..." />
</modules>
</system.webServer>
</configuration>
No comments:
Post a Comment