我在我的一个MVC项目中使用windsor DI框架。该项目工作正常,当我试图从Visual Studio 2008运行。
但是当我试图运行该项目在IIS7中创建一个应用程序,然后我收到以下错误信息:
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
但是这个模块已经存在于web.config文件的httpmodule部分。
有谁知道我必须做什么来消除这个问题。
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。