Handler "BlockViewHandler" has a bad module "ManagedPipelineHandler" in its module list

当你的ASP.NET MVC项跑在IIS时,出现如标题Handler "BlockViewHandler" has a bad module "ManagedPipelineHandler" in its module list异常时,可以尝试下面的解决方法,
重新为IIS注册Framework。

64位操作系统:

%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i

32位操作系统:

%windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe -i
时间: 2024-10-03 21:07:34

Handler "BlockViewHandler" has a bad module "ManagedPipelineHandler" in its module list的相关文章

webpack打包遇到locals[0] does not appear to be a `module` object with Hot Module replacement API enabled. You should disable react-transform-hmr in production by using `env` section in Babel configuration

解决办法: 1.删除.bablerc文件的env下的"development": {"presets": ["react-hmre"]} 2.在webpack.config的loader添加以下代码 module: { loaders: [ { test: /\.(js|jsx)$/, loader: 'babel', include: path.join(__dirname, 'src'), query: { plugins: [ ["

ImportError: dynamic module does not define module export function (PyInit__sqlite3)

使用python3.6 中的django-admin创建项目的时候报错 python3以上版本安装sqlite3的解决方案 wget https://www.sqlite.org/2017/sqlite-autoconf-3170000.tar.gz --no-check-certificate tar xf  sqlite-autoconf-3170000.tar.gz cd sqlite-autoconf-3170000/ ./configure --prefix=/usr/local/sq

HTTP Error 500.21解决方案

Windows 7 IIS (HTTP Error 500.21 - Internal Server Error)解决方案 今天在测试网站的时候,在浏览器中输入http://localhost/时,发生如下错误: HTTP Error 500.21 - Internal Server Error Handler "WebServiceHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler"

有事无事重装IIS

今天在测试网站的时候,在浏览器中输入http://localhost/时,发生如下错误: HTTP Error 500.21 - Internal Server Error Handler "WebServiceHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list. 原因:在安装Framework v4.0之后,再启用IIS,导致Framewor

Fixing common issues when hosting a .NET 4.0 WCF service in IIS 7

http://sandrinodimattia.net/fixing-common-issues-when-hosting-a-net-4-0-wcf-service-in-iis-7/ Until today I never had to host a WCF service in IIS… I always prefered using a ServiceHost in a Windows Service. Before getting my service up and running I

点滴积累【other】---Windows 7 IIS (HTTP Error 500.21 - Internal Server Error)解决方案(转载)

此文来自:http://blog626.blog.163.com/blog/static/105610732201051591450870/ 搭建IIS时出现如下错误: HTTP Error 500.21 - Internal Server Error Handler "WebServiceHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list.

发布.net 4.0的站点到IIS7.5下时无法访问

现象: 初始发布.net 4.0站点到IIS7.5下时,各种配置都完毕的情况下依旧无法访问.首页显示站点目录结构(注:开启目录结构访问后会显示这个错误,否则会提示开启),访问次级目录提示:Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list错误. 解决方案: 1.需要在目标服务器上重新注册下: %windir%\Microsoft.NET\Frame

Learning JavaScript Design Patterns The Module Pattern

The Module Pattern Modules Modules are an integral piece of any robust application's architecture and typically help in keeping the units of code for a project both cleanly separated and organized. In JavaScript, there are several options for impleme

python Sys module

------------------------------------------------------------------------------------------------------ sys 模块提供了许多函数和变量来处理 Python 运行时环境的不同部分. 处理命令行参数 在解释器启动后, argv 列表包含了传递给脚本的所有参数, 列表的第一个元素为脚本自身的名称. ---------------------------------------------------