在iis 7.5 windows 7上部署网站时出现问题。 [英] Problem deploying website on iis 7.5 windows 7.

查看:113
本文介绍了在iis 7.5 windows 7上部署网站时出现问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下是我在部署网站时所遵循的步骤。



步骤1:发布网站。

第2步:放置在wwwroot文件夹中。

步骤3:创建一个具有asp.net v4.0和集成管道的应用程序池。

步骤4:转换为应用程序并从高级设置浏览。



它给我一个错误:

The following are the steps i followed while deploying the website.

Step 1:Publish the Website.
Step 2:Place that in wwwroot folder.
Step 3:Create an application pool having asp.net v4.0 and integrated pipeline.
Step 4:Convert to application and browse from advanced setting.

It is giving me an error: :

HTTP Error 500.21 - Internal Server Error
Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list





请建议任何帮助将不胜感激。



Please suggest any help would be appreciated.

推荐答案

检查ISAPI和CGI限制

转到ControlPanel /管理工具/ IIS管理器

点击服务器左侧面板中的名称

双击ISAPI和CGI限制

中间没有看到isapi限制如果允许那么它就没关系

如果不允许的话。

要允许它选择每个aspnet_isapi.dll。并从右侧操作面板单击allow
check the ISAPI and CGI Restriction
go to ControlPanel/Administrative tools/IIS Manager
click on the server name in the left panel
double click the ISAPI and CGI Restriction
no in the middle see the isapi restriction if it is allowed then it is ok
if it is not allowed.
To Allow it select each aspnet_isapi.dll. and from the right action panel click on allow


由于错误消息在模块列表中显示错误模块ManagedPipelineHandler。安装IIS时出现问题



请在命令提示符下运行以下命令修复安装问题



对于64位机器



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



对于32位机器



%windir% \ Microsoftoft.NET\Framework\v4.0.21006\aspnet_regiis.exe -i
Since the error message says bad module "ManagedPipelineHandler" in the module list. There is some problem in installation of IIS

please run below command in command prompt to fix the installation issues

For 64 bit machine:

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

For 32 bit machine:

%windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe -i


这篇关于在iis 7.5 windows 7上部署网站时出现问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆