IIS 环境配置好 asp.net 网站项目,启动后出现 500.19 错误❌:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
如果网站配置了 URL Rewrite 组件,但是当前机器没有安装此组件的话就会报该错误,直接下载安装该组件即可:
Post not found: Download URL Rewrite Module 2.1,https://www.iis.net/downloads/microsoft/url-rewrite