HTTP 错误 404.2 - Not Found

简介: HTTP 错误 404.2 - Not Found提示:由于 Web 服务器上的“ISAPI 和 CGI 限制”列表设置,无法提供您请求的页面。报错截图1.1、开始-运行-输入InetMgr.exe回车(如图1-1)。

HTTP 错误 404.2 - Not Found

提示:由于 Web 服务器上的“ISAPI 和 CGI 限制”列表设置,无法提供您请求的页面。

img_81767d3eca16f8a4245d1cbd00845459.png
报错截图

1.1、开始-运行-输入InetMgr.exe回车(如图1-1)。

img_c2b2f5ec58ae0c6a2af437c8cca5bc6d.png
图 1-1

1.2、点击“Internet信息服务(IIS)管理根目录”(如图1-2中的“GP-PC”)-点击“ISAPI和CGI限制”

img_cdbd860b81def63a4e76b763657a0ea2.png
图 1-2

1.3、找到“ASP.NET v4.0.30319”-点击右侧的“编辑”-勾选“允许执行扩展路径”-“确定”(如图1-3)。

img_089fe1f6eb6983585bb18219c9719e8f.png
图 1-3

1.4、确认“ASP.NET v4.0.30319”后方显示为“允许”后(如图1-4),重新登录即可解决。

img_29e45fd207da4ca7729fb9865efa5e1e.png
图 1-4

如果在点击“ISAPI和CGI限制”中发现没有“ASP.NET v4.0.30319”(如图2-1),处理方案如下:

img_416c7ca65f6df8475e169a6276bc343c.png
图 2-1

2.1、开始-运行-输入CMD-回车(如图2-2)。

img_c08f5bb6ffd88704835ac10d76ff61e7.png
图 2-2

2.2弹出黑屏窗口-输入C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i -enable(也可以直接复制这段命令)回车-等待显示Finished installing ASP.NET就说明已经安装完毕,现在重新访问即可。

img_6b12d6a0ea6650dc64255773dc46749f.png
图 1-6
目录
相关文章
|
6月前
java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must b
java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must b
80 0
|
3月前
|
监控 搜索推荐 定位技术
HTTP状态码:如何修复 404 Not Found错误?
互联网上各种类型的网站非常多,无论用户还是网站运营者不可避免的会遇到404 Not Found错误,如果遇到404错误,我们应该如何解决呢?
30 1
|
Java
The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path的解决方案
The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path的解决方案
374 0
The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path的解决方案
|
8月前
|
缓存 Linux 开发工具
centos 7 yum安装失败(HTTP Error 404 - Not Found)的解决方法
centos 7 yum安装失败(HTTP Error 404 - Not Found)的解决方法
561 0
|
Java 应用服务中间件 Apache
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path类似问题简单解决方案
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path类似问题简单解决方案
223 0
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path类似问题简单解决方案
|
Java Maven
maven jsp报错javax.servlet.http.HttpServlet“ was not found on the Java Build Path
maven jsp报错javax.servlet.http.HttpServlet“ was not found on the Java Build Path
103 0
|
Web App开发 JSON 数据格式
使用 http-proxy 代理 HTTP 请求时遇到的 the requested url is invalid 错误消息
使用 http-proxy 代理 HTTP 请求时遇到的 the requested url is invalid 错误消息
562 0
使用 http-proxy 代理 HTTP 请求时遇到的 the requested url is invalid 错误消息
|
Java 应用服务中间件 Apache
springMvc14-the superclass “javax.servlet.http.HttpServlet” was not found
springMvc14-the superclass “javax.servlet.http.HttpServlet” was not found
90 0
|
前端开发
React工作56:常见HTTP错误
React工作56:常见HTTP错误
53 0
|
监控
Fiddler - 使用 Fiddler 监控本地 HTTP 请求,谷歌浏览器提示“隐私设置错误”
Fiddler - 使用 Fiddler 监控本地 HTTP 请求,谷歌浏览器提示“隐私设置错误”
586 0
Fiddler - 使用 Fiddler 监控本地 HTTP 请求,谷歌浏览器提示“隐私设置错误”