HTTP Error 500.24 / HTTP Error 404.2

本文介绍了在Win7系统上安装动易网站时遇到的HTTP错误500.24-InternalServerError及HTTP错误404.2-NotFound,并提供了相应的解决方法:对于HTTP错误500.24-InternalServerError,通过修改IIS应用程序池设置(启用32位应用程序,改为Classic托管管道模式)来解决;对于HTTP错误404.2-NotFound,则需要调整IIS的ISAPI和CGI限制设置,允许特定的DotNet版本。

http://www.cnblogs.com/yycxy/archive/2012/06/07/2540893.html


Internet Information Services 7.5

错误摘要

HTTP 错误 500.24 - Internal Server Error

检测到在集成的托管管道模式下不适用的 ASP.NET 设置。

详细错误信息
模块 ConfigurationValidationModule
通知 BeginRequest
处理程序 ASPClassic
错误代码 0x80070032
请求的 URL http://192.168.1.4:80/admin/admin_login.asp
物理路径 C:\inetpub\jajy\admin\admin_login.asp
登录方法 尚未确定
登录用户 尚未确定
 
最可能的原因:
  • system.web/identity@impersonate 设置为 true。

Win7上安装动易网站出现上述错误的解决方法

打开IIS管理器,选择应用程序池——你的网站应用程序池(jajy)——单击右侧的“设置应用程序池默认设置”,打开,在常规中,将“启用32位应用程序”设置为“True”,将“托管管道模式”改为Classic,最后单击“确定”就一切OK了。


HTTP Error 404.2 - Not Found


http://blog.youkuaiyun.com/ldl22847/article/details/6317306

详细错误:HTTP 错误 404.2 - Not Found. 由于 Web 服务器上的“ISAPI 和 CGI 限制”列表设置,无法提供您请求的页面.

出现环境:win7 + IIS7.0

解决办法:IIS的根节点->右侧“ISAPI和CGI限制”->把禁止的DotNet版本项设置为允许,即可~

 



运行后显示 C:\Users\18175\AppData\Local\Programs\Python\Python39\python.exe C:\Users\18175\Desktop\PC\novel.py 开始爬取天涯书库热门书籍... 无法获取 ����С˵ 的详情页: Failed to parse: https://tianyabook.comjavascript:; 无法获取 ���а� 的详情页: Failed to parse: https://tianyabook.comjavascript:; 第 1 页抓取完成,新增 49 条数据。 请求失败 https://tianyabook.com/top/allvisit/index_2.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_2.html 请求失败 https://tianyabook.com/top/allvisit/index_3.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_3.html 请求失败 https://tianyabook.com/top/allvisit/index_4.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_4.html 请求失败 https://tianyabook.com/top/allvisit/index_5.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_5.html 请求失败 https://tianyabook.com/top/allvisit/index_6.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_6.html 请求失败 https://tianyabook.com/top/allvisit/index_7.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_7.html 请求失败 https://tianyabook.com/top/allvisit/index_8.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_8.html 请求失败 https://tianyabook.com/top/allvisit/index_9.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_9.html 请求失败 https://tianyabook.com/top/allvisit/index_10.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_10.html 请求失败 https://tianyabook.com/top/allvisit/index_11.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_11.html 请求失败 https://tianyabook.com/top/allvisit/index_12.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_12.html 请求失败 https://tianyabook.com/top/allvisit/index_13.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_13.html 请求失败 https://tianyabook.com/top/allvisit/index_14.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_14.html 请求失败 https://tianyabook.com/top/allvisit/index_15.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_15.html 请求失败 https://tianyabook.com/top/allvisit/index_16.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_16.html 请求失败 https://tianyabook.com/top/allvisit/index_17.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_17.html 请求失败 https://tianyabook.com/top/allvisit/index_18.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_18.html 请求失败 https://tianyabook.com/top/allvisit/index_19.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_19.html 请求失败 https://tianyabook.com/top/allvisit/index_20.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_20.html 请求失败 https://tianyabook.com/top/allvisit/index_21.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_21.html 请求失败 https://tianyabook.com/top/allvisit/index_22.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_22.html 请求失败 https://tianyabook.com/top/allvisit/index_23.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_23.html 请求失败 https://tianyabook.com/top/allvisit/index_24.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_24.html 请求失败 https://tianyabook.com/top/allvisit/index_25.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_25.html 请求失败 https://tianyabook.com/top/allvisit/index_26.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_26.html 请求失败 https://tianyabook.com/top/allvisit/index_27.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_27.html 请求失败 https://tianyabook.com/top/allvisit/index_28.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_28.html 请求失败 https://tianyabook.com/top/allvisit/index_29.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_29.html 请求失败 https://tianyabook.com/top/allvisit/index_30.html: 404 Client Error: Not Found for url: https://tianyabook.com/top/allvisit/index_30.html 共获取 49 条书籍数据。 数据已保存至 books_clean.csv 是否生成小说类型饼图?(y/n): y 输入要下载的书名(回车跳过): 斗罗 未找到该书籍。 进程已结束,退出代码0 原网站可以搜索得到
最新发布
12-20
外部服务器如何连接到VMware虚拟机k8s集群guyue@guyue-None:~$ #!/bin/bash set -e echo "=== 开始执行修复版 Ubuntu 24.04 Kubernetes 配置 ===" echo "当前时间: $(date)" echo "系统版本: $(lsb_release -d)" # 1. 检查并解除Docker服务屏蔽 echo -e "\n【1/7】检查并解除Docker服务屏蔽..." if systemctl is-enabled docker.service 2>/dev/null | grep -q "masked"; then echo " 检测到docker.service被屏蔽,正在解除..." sudo systemctl unmask docker.service sudo systemctl unmask docker.socket echo " ✓ Docker服务屏蔽已解除" else echo " ✓ Docker服务未被屏蔽,跳过此步骤" fi # 2. 恢复原始主机名 (guyue-None) echo -e "\n【2/7】恢复原始主机名..." sudo hostnamectl set-hostname guyue-None sudo sed -i '/guyue-None/d' /etc/hosts 2>/dev/null || true echo "127.0.0.1 localhost" | sudo tee /etc/hosts > /dev/null echo "127.0.1.1 guyue-None" | sudo tee -a /etc/hosts > /dev/null CURRENT_IP=$(hostname -I | awk '{print $1}') echo "$CURRENT_IP guyue-None" | sudo tee -a /etc/hosts > /dev/null sudo systemctl restart systemd-hostnamed systemd-resolved echo "✓ 主机名已恢复: $(hostname)" # 3. 清理现有环境 echo -e "\n【3/7】精确清理环境..." sudo systemctl stop kubelet docker cri-dockerd 2>/dev/null || true sudo kubeadm reset -f --cri-socket=unix:///var/run/cri-dockerd.sock 2>/dev/null || true # 更精确的包清理 sudo apt-get remove -y docker-ce docker-ce-cli containerd.io kubelet kubeadm kubectl cri-dockerd 2>/dev/null || true sudo apt-get purge -y docker-ce docker-ce-cli containerd.io kubelet kubeadm kubectl cri-dockerd 2>/dev/null || true # 仅删除特定目录 sudo rm -rf /var/lib/docker /etc/docker /etc/cni /opt/cni /var/lib/cni /etc/kubernetes /var/lib/etcd ~/.kube /var/run/cri-dockerd.sock 2>/dev/null || true sudo rm -f /etc/systemd/system/docker.service.d/* 2>/dev/null || true echo "✓ 配置完成!适用于 Ubuntu 24.04 LTS"提供详细指导"ors.tuna.tsinghua.edu.cn/github-release/...)"nel.yml"ar/run/cri-dockerd.sock"=false --runtime-request-timeout=15m === 开始执行修复版 Ubuntu 24.04 Kubernetes 配置 === 当前时间: 2025年 12月 02日 星期二 11:23:07 CST 系统版本: Description: Ubuntu 24.04.3 LTS 【1/7】检查并解除Docker服务屏蔽... ✓ Docker服务未被屏蔽,跳过此步骤 【2/7】恢复原始主机名... [sudo] guyue 的密码: sudo: 无法解析主机:guyue-None: 名称或服务未知 sudo: 无法解析主机:guyue-None: 名称或服务未知 ✓ 主机名已恢复: guyue-None 【3/7】精确清理环境... [preflight] Running pre-flight checks [reset] Deleted contents of the etcd data directory: /var/lib/etcd [reset] Stopping the kubelet service [reset] Unmounting mounted directories in "/var/lib/kubelet" [reset] Deleting contents of directories: [/etc/kubernetes/manifests /var/lib/kubelet /etc/kubernetes/pki] [reset] Deleting files: [/etc/kubernetes/admin.conf /etc/kubernetes/kubelet.conf /etc/kubernetes/bootstrap-kubelet.conf /etc/kubernetes/controller-manager.conf /etc/kubernetes/scheduler.conf] The reset process does not clean CNI configuration. To do so, you must remove /etc/cni/net.d The reset process does not reset or clean up iptables rules or IPVS tables. If you wish to reset iptables, you must do so manually by using the "iptables" command. If your cluster was setup to utilize IPVS, run ipvsadm --clear (or similar) to reset your system's IPVS tables. The reset process does not clean your kubeconfig files and you must remove them manually. Please, check the contents of the $HOME/.kube/config file. 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成 【4/7】修复源配置... 获取:4 http://download.zerotier.com/debian/noble noble InRelease [20.5 kB] 命中:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble InRelease 获取:5 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB] 获取:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-updates InRelease [126 kB] 命中:6 https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial InRelease 获取:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-backports InRelease [126 kB] 获取:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-updates/main amd64 Packages [1,619 kB] 获取:8 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1,340 kB] 获取:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-updates/main amd64 Components [175 kB] 获取:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-updates/main amd64 c-n-f Metadata [15.7 kB] 获取:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-updates/restricted amd64 Components [212 B] 获取:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-updates/universe amd64 Packages [1,500 kB] 获取:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-updates/universe amd64 Components [377 kB] 获取:14 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-updates/universe amd64 c-n-f Metadata [31.4 kB] 获取:15 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-updates/multiverse amd64 Components [940 B] 获取:16 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-backports/main amd64 Components [7,128 B] 获取:17 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-backports/restricted amd64 Components [212 B] 获取:18 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-backports/universe amd64 Components [11.0 kB] 获取:19 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-backports/multiverse amd64 Components [212 B] 获取:20 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [21.5 kB] 获取:21 http://security.ubuntu.com/ubuntu noble-security/main amd64 c-n-f Metadata [9,448 B] 获取:22 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B] 获取:23 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [915 kB] 获取:24 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [71.5 kB] 获取:25 http://security.ubuntu.com/ubuntu noble-security/universe amd64 c-n-f Metadata [19.4 kB] 获取:26 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [208 B] 已下载 6,514 kB,耗时 12秒 (554 kB/s) 正在读取软件包列表... 完成 W: https://mirrors.aliyun.com/kubernetes/apt/dists/kubernetes-xenial/InRelease: 密钥存储在过时的 trusted.gpg 密钥环中(/etc/apt/trusted.gpg),请参见 apt-key(8) 的 DEPRECATION 一节以了解详情。 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成 ca-certificates 已经是新版 (20240203)。 curl 已经是新版 (8.5.0-2ubuntu10.6)。 gnupg 已经是新版 (2.4.4-2ubuntu17.3)。 lsb-release 已经是新版 (12.0-2)。 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 46 个软件包未被升级。 文件‘/etc/apt/keyrings/docker.gpg’已存在。 是否覆盖?(y/N) y 命中:4 http://security.ubuntu.com/ubuntu noble-security InRelease 获取:5 http://download.zerotier.com/debian/noble noble InRelease [20.5 kB] 命中:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble InRelease 获取:6 https://mirrors.aliyun.com/docker-ce/linux/ubuntu noble InRelease [48.5 kB] 命中:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-updates InRelease 命中:7 https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial InRelease 命中:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-backports InRelease 获取:8 https://mirrors.aliyun.com/docker-ce/linux/ubuntu noble/stable amd64 Packages [39.3 kB] 已下载 108 kB,耗时 3秒 (32.1 kB/s) 正在读取软件包列表... 完成 W: https://mirrors.aliyun.com/kubernetes/apt/dists/kubernetes-xenial/InRelease: 密钥存储在过时的 trusted.gpg 密钥环中(/etc/apt/trusted.gpg),请参见 apt-key(8) 的 DEPRECATION 一节以了解详情。 【5/7】安装Docker(支持降级)... 安装containerd.io... 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成 containerd.io 已经是新版 (2.2.0-2~ubuntu.24.04~noble)。 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 49 个软件包未被升级。 安装指定版本: docker-ce=5:26.1.4-1~ubuntu.24.04~noble docker-ce-cli=5:26.1.4-1~ubuntu.24.04~noble 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成 docker-ce 已经是新版 (5:26.1.4-1~ubuntu.24.04~noble)。 docker-ce-cli 已经是新版 (5:26.1.4-1~ubuntu.24.04~noble)。 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 47 个软件包未被升级。 Synchronizing state of docker.service with SysV service script with /usr/lib/systemd/systemd-sysv-install. Executing: /usr/lib/systemd/systemd-sysv-install enable docker ✓ Docker安装成功,版本: 26.1.4 【6/7】安装cri-dockerd(v0.3.13)... 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成 curl 已经是新版 (8.5.0-2ubuntu10.6)。 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 49 个软件包未被升级。 检测到架构: amd64 尝试下载 (第1次)... 尝试镜像: https://mirrors.tuna.tsinghua.edu.cn/github-release/Mirantis/cri-dockerd/v0.3.13/cri-dockerd_0.3.13.3-1_amd64.deb % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 153 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 ✗ 镜像下载失败: https://mirrors.tuna.tsinghua.edu.cn/github-release/Mirantis/cri-dockerd/v0.3.13/cri-dockerd_0.3.13.3-1_amd64.deb 尝试镜像: https://ghproxy.net/https://github.com/Mirantis/cri-dockerd/releases/download/v0.3.13/cri-dockerd_0.3.13.3-1_amd64.deb % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 9 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 ✗ 镜像下载失败: https://ghproxy.net/https://github.com/Mirantis/cri-dockerd/releases/download/v0.3.13/cri-dockerd_0.3.13.3-1_amd64.deb 尝试镜像: https://mirror.ghproxy.com/https://github.com/Mirantis/cri-dockerd/releases/download/v0.3.13/cri-dockerd_0.3.13.3-1_amd64.deb % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:21 --:--:-- 0 curl: (7) Failed to connect to mirror.ghproxy.com port 443 after 21084 ms: Couldn't connect to server ✗ 镜像下载失败: https://mirror.ghproxy.com/https://github.com/Mirantis/cri-dockerd/releases/download/v0.3.13/cri-dockerd_0.3.13.3-1_amd64.deb 尝试镜像: https://github.com/Mirantis/cri-dockerd/releases/download/v0.3.13/cri-dockerd_0.3.13.3-1_amd64.deb % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 9 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 curl: (22) The requested URL returned error: 404 ✗ 镜像下载失败: https://github.com/Mirantis/cri-dockerd/releases/download/v0.3.13/cri-dockerd_0.3.13.3-1_amd64.deb 所有镜像尝试失败,等待20秒后重试...原因是什么
12-03
03-25
[root@iZ2ze3k6buohug6id3eg97Z nginx]# docker logs -f nginx /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh /docker-entrypoint.sh: Configuration complete; ready for start up 2025/03/24 05:22:21 [error] 31#31: *2 rewrite or internal redirection cycle while internally redirecting to "/index.html", client: 117.189.228.151, server: 182.92.154.131, request: "GET / HTTP/1.1", host: "182.92.154.131" 117.189.228.151 - - [24/Mar/2025:05:22:21 +0000] "GET / HTTP/1.1" 500 579 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36" 2025/03/24 05:22:22 [error] 31#31: *1 rewrite or internal redirection cycle while internally redirecting to "/index.html", client: 117.189.228.151, server: 182.92.154.131, request: "GET /favicon.ico HTTP/1.1", host: "182.92.154.131", referrer: "http://182.92.154.131/" 117.189.228.151 - - [24/Mar/2025:05:22:22 +0000] "GET /favicon.ico HTTP/1.1" 500 579 "http://182.92.154.131/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36" ^C [root@iZ2ze3k6buohug6id3eg97Z nginx]#
03-25
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值