|
IIS 7.5 deploying errors and their solutions While deploying my web project created using VS 2010(.Net 4.0) on OS Windows 7 and IIS 7.5 I got the following errors which took some time to be resolved. I am sharing the information here so if anyone else faces the same situation, the solution is at hand. Error-1
404.2 the page you are requesting cannot be served because of the ISAPI and CGI restriction list settings on the web server.
如下图:
![]() Solution:
1. Open IIS and click the server name.
如下图:
![]() 2. Go for Featured view and double click 'ISAPI and CGI Restrictions'.
如下图:
如下图:
|
|
Error-2 Solution:
1. Double Click on 'ApplicationPool'.
![]() 2. Right click on the proper Application Pool for your project >> Set Application Pool Defaults >> Set the ".NET Framework Version to 'v4.0' here" >> OK |
IIS 7.5 deploying errors and their solutions
最新推荐文章于 2026-01-05 22:35:49 发布
本文分享了在Windows7系统上使用IIS7.5部署基于VS2010(.Net4.0)的Web项目时遇到的两个常见错误及其解决方案。错误包括404.2页面请求因服务器限制无法服务的问题以及运行时版本不匹配导致的加载失败问题。





12万+

被折叠的 条评论
为什么被折叠?



