简体   繁体   English

HTTP错误500.19 - 内部服务器错误?

[英]HTTP Error 500.19 - Internal Server Error?

I'm moving a pretty basic site from Win 2003 to Win 2008 R2. 我正在将一个非常基本的站点从Win 2003移动到Win 2008 R2。 The site is getting the error listed below. 该网站收到下面列出的错误。 How can I diagnose this? 我怎么诊断这个? I moved a number of other sites between these 2 servers & this is the only on that is receiving this error. 我在这两个服务器之间移动了许多其他站点,这是唯一一个收到此错误的站点。

I've seen the other posts on this issue, but none of them list a solution that works for me. 我已经看过这个问题的其他帖子,但没有一个列出适合我的解决方案。

HTTP Error 500.19 - Internal Server Error HTTP错误500.19 - 内部服务器错误
Error Code 0x8007000d 错误代码0x8007000d
Config Source -1: 0: 配置源-1:0:

UPDATE: 更新:

Here are some notes on what I checked: 以下是我检查的一些注意事项:
1) Permissions via Process Monitor. 1)通过Process Monitor的权限。 The config file is being opened correctly. 配置文件正在正确打开。
2) .Net version - Tried multiple settings 3) Integrated vs classic pipeline 2).Net版本 - 尝试多种设置3)集成与经典管道
4) change enabled 32 bit to true 4)将启用32位更改为true
5) I have not tried Aspnet_regiis.exe yet because the other sites on the new box work fine. 5)我还没有尝试过Aspnet_regiis.exe ,因为新盒子上的其他网站工作正常。

Next I'm going to try & comment out various items in the config file 接下来,我将尝试在配置文件中注释掉各种项目

I found the issue! 我发现了这个问题! The issue was the following line in web.config. 问题是web.config中的以下行。 I found this by commenting various things out in web.config until the site worked. 我发现这是通过在web.config中评论各种内容直到网站工作。 But why is this line an issue on my new 2008 box with IIS 7.5? 但是为什么这条线在IIS 7.5的新2008机器上出现问题? What isn't installed or configured? 什么未安装或配置?

Update: 更新:

This was the line I commented out. 这是我评论的那条线。 Could this have been related to IIS Feature Delegation? 这可能与IIS功能委派相关吗? If config settings in the <system.webServer> element are causing this error then Feature Delegation settings could be the problem. 如果<system.webServer>元素中的配置设置导致此错误,则功能委派设置可能是问题。

 <httpRuntime maxRequestLength="1000000"/>

run->cmd 运行 - > CMD

run "c:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\aspnet_regiis.exe -i" 运行“c:\\ Windows \\ Microsoft.NET \\ Framework \\ v4.0.30319 \\ aspnet_regiis.exe -i”

Run this command as a Administrator 以管理员身份运行此命令

You might have used the incorrect asp.net version. 您可能使用了不正确的asp.net版本。 please check which version is selected from the iis application pool. 请检查从iis应用程序池中选择的版本。

you probebly change your NT password. 你可以改变你的NT密码。 Enter to IIS right click on your application -> manage application -> advanched Setting -> physical path credentials. 右键单击您的应用程序 - >管理应用程序 - > advanched设置 - >物理路径凭据。

good luck 祝好运

Please check this topic for possible answer: How do I resolve “HTTP Error 500.19 - Internal Server Error” on IIS7.0 Answer that is not marked as resolution helped to me. 请检查此主题以获取可能的答案: 如何解决IIS7.0上的“HTTP错误500.19 - 内部服务器错误”未标记为解决方案的答案对我有帮助。 I was missing: Url Rewrite Module 我错过了: Url Rewrite Module

在我的情况下,通过在管理模式下运行VS2017解决了该问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM