IIS HTTP 错误 500.19 [英] IIS HTTP Error 500.19

查看:44
本文介绍了IIS HTTP 错误 500.19的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我第一次在我的计算机上安装了 IIS(直到现在我使用的是 express 版本),但它无法正常工作.当我尝试点击页面时,它返回此错误,我不知道如何解决:

I have installed IIS on my computer for the first time (until now I have worked with the express version), but it's not working properly. When I try to hit a page, it returns this error, which I do not know how to resolve:

错误摘要
HTTP 错误 500.19 - 内部服务器错误
无法访问请求的页面,因为相关配置该页面的数据无效.
详细的错误信息
Module IIS Web Core
Notification BeginRequest
Handler Not尚未确定
错误代码0x8007000d
配置错误
配置文件?D:2008abcd.Websiteweb.config
请求URL http ://localhost:80/abcd.Website

物理路径 D:2008ManagerAnticriza.Website
登录方法 还没有确定
登录用户尚未确定

Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x8007000d
Config Error
Config File ?D:2008abcd.Websiteweb.config
Requested URL http : // localhost:80/abcd.Website

Physical Path D:2008ManagerAnticriza.Website
Logon Method Not yet determined
Logon User Not yet determined

谁能帮帮我?有没有办法在安装后需要配置 IIS?

Can anyone help me? Is there a way I need to configure IIS after installing it?

推荐答案

这个问题花了我一天中最好的时间来解决,因为我在办公室的另一台机器上运行了完全相同的代码.

This issue took me the best part of a day to figure out, as I had the exact same code working on another machine in the office.

结果是我在 IIS 中遗漏了一些功能,而我携带的 web.config 正在寻找这些功能.我缺少身份验证功能和 URL 重写模块,因此 IIS 认为我的 web.config 格式不正确.

It turns out that I was missing some features in IIS, and that the web.config I had carried down was looking for these features. I was missing both authentication features and the URL Rewrite module, and as a result IIS believed my web.config was malformed.

互联网上有类似的答案提到了 URL Rewrite 模块,所以我先看看那里.

There are similar answers across the Internet that mention the URL Rewrite module, so I'd look there first.

这篇关于IIS HTTP 错误 500.19的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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