Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 68379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:24:26+00:00 2026-05-10T19:24:26+00:00

I am using windsor DI framework in one of my MVC project. The project

  • 0

I am using windsor DI framework in one of my MVC project. The project works fine when I tried to run from Visual Studio 2008.

But when i tried to run the project creating an application in IIS7 then I recieved the following error message:

Looks like you forgot to register the http module Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule Add ‘<add name=’PerRequestLifestyle’ type=’Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule, Castle.MicroKernel’ />’ to the section on your web.config

But this module already exists in the httpmodule section of web.config file.

Does anyone know what I have to do to eliminate this problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T19:24:27+00:00Added an answer on May 10, 2026 at 7:24 pm

    Try adding it to the system.webServer section as well?

    <configuration>     <system.web>         <httpModules>             <add name='PerRequestLifestyle' type='...' />         </httpModules>     </system.web>     <system.webServer>         <modules>             <add name='PerRequestLifestyle' type='...' />         </modules>     </system.webServer> </configuration> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

New to Castle/Windsor, please bear with me. I am currently using the framework System.Web.Mvc.Extensibility
I want to refactor some code using the Windsor IOC/DI framework, but my issue
I'm using Castle Windsor as part of a more specialized framework. One of the
I generally use StructureMap, but on a current project I'm using Castle Windsor (2.1).
I am using windsor castle as my IoC container, and has run in to
I'm using castle windsor for a pet-project I'm working on. I'm starting to notice
I am currently making the move from StructureMap to Castle Windsor. Using StructureMap, you
I have a console app using log4net (via Castle Windsor). Everything logs fine to
I'm using Castle Windsor to do some dependency injection, specifically I've abstracted the DAL
I'm using Castle Windsor and Binsor to use dependency injection in my application. I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.