ASP.NET:HTTP错误500.19 - 内部服务器错误0x8007000d [英] ASP.NET: HTTP Error 500.19 – Internal Server Error 0x8007000d

查看:1986
本文介绍了ASP.NET:HTTP错误500.19 - 内部服务器错误0x8007000d的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我复制Web应用程序的部署和发现有关 HTTP几个问题错误500.19 。我的机器正在运行的 Windows 7中而努力开发使用的 Windows 8的。我们使用我们开发的Web应用程序的 Visual Studio 2010中

I am replicating web application deployment and found several issues related to HTTP Error 500.19. My machine is running Windows 7 while the working development is using Windows 8. We're developing our Web Application using Visual Studio 2010.

首先,我得到了错误code 0x80070021 ,类似发布<一个href=\"http://stackoverflow.com/questions/2138285/asp-net-iis-web-config-internal-server-error\">here.
我按照接受的答案更新我的web.config然后我得到了以下错误code(如贴类似于<一个href=\"http://stackoverflow.com/questions/10801340/http-error-500-19-internal-server-error\">here).

First, I got error code 0x80070021, similar as posted here. I update my web.config according to the accepted answer and then I got following error code (which is similar as posted here).

HTTP Error 500.19 - Internal Server Error
Error Code 0x8007000d
Config Source -1: 0:

我已经阅读 Microsoft支持页面和错误原因的症状定义是:

I have read the symptoms definition in Microsoft support page and cause of the error is:

出现此问题的原因ApplicationHost.config文件或Web.config文件包含格式不正确的XML元素。

和该溶液是

从ApplicationHost.config文件或从Web.config文件中删除格式不正确的XML元素。

不过,我以前在原来开发环境可以正常使用。在web.config

However, the web.config that I used is working perfectly in the original development environment.

下面是我已经确认并到目前为止已经试过:

Here is what I have checked and tried so far:


  1. 通过调用安装ASP.NET为aspnet_regiis -i

  2. 设置我的应用程序使用不同的应用程序池(ASP.NET 4.0版,.NET V4等)

  3. ApplicationHost.config文件仍然使用从Windows 7默认值。

这是我的web.config的一部分

This is part of my Web.Config

<system.webServer>
    <section name="handlers" overrideModeDefault="Allow" /> 
    <section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Allow" />
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true">
    </modules>
    <handlers>
        <remove name="UrlRoutingHandler" />
        <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </handlers>
    <urlCompression doStaticCompression="true" doDynamicCompression="false"></urlCompression>
    <directoryBrowse enabled="true" />
    <defaultDocument>
        <files>
            <add value="Logon.aspx" />
        </files>
    </defaultDocument>
</system.webServer>

我看过类似/重复/计算器中关闭的帖子(约13)的职位,尝试了所有相关除外阿贾克斯(是相关)的答案,仍然有对错误是什么毫无头绪。

I have read similar/duplicates/closed posts (around 13) posts in stackoverflow, tried all except the answer related to Ajax (is it related) and still have no clue on what the error is.

有谁一个人如何解决这个问题? (如果可能的话,需要如此检查的事情COM prehensive列表我们可以减少类似的帖子是这样的。)我愿意提供更多的细节。

Does anyone one how to fix this error? (And if possible, a comprehensive lists of things need to be checked so we can reduce similar posts like this.) I am ready to provide more details.

推荐答案

我有同样的问题。我已经安装了Web平台安装,并从它的 URL重写模块,这是从该web.config中引用。 这解决了我的问题

I had the same issue. I have installed web platform installer and from it URL rewriting module, which was referenced from this web.config. This solved my issue.

我建议检查从web.config中所有的依赖并安装它们。

I recommend to check all dependencies from web.config and install them.

这篇关于ASP.NET:HTTP错误500.19 - 内部服务器错误0x8007000d的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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