问题:

我试图通过Web部署将我的计算机上的网站发布到IIS Web服务器。

我有3台服务器。 所有服务器都安装了相同的东西(Webdeploy等)并启动了服务(Web部署代理服务和Web管理服务)。

在第一台服务器上,我没有连接问题。 但是当我在Visual Studio中“验证连接”到IIS时,其他两个服务器给我一些错误。 当我查看IIS服务器上的日志时,我的访问监听了html代码200(ok)。

在远程计算机上处​​理请求时出错。 文件名:MACHINE / WEBROOT

错误:无法读取配置节’system.webServer / management / delegation’,因为它缺少架构

我真的不知道什么可以解决这个问题,希望你能帮助我。

I am trying to publish a website from my computer to an IIS web server via web deploy.I have 3 servers.All servers have installed the same things (Webdeploy etc.) and the services are started (Web Deployment Agent Service and Web Management Service).On the first server I have no problems on connecting.But the other two servers give me some error when I “Validate Connection” in Visual Studio to the IIS.When I look at the logs on the IIS server, there are my accesses listet with html code 200 (ok).An error ocurred when the request was processed on the remote computer.Filename: MACHINE/WEBROOTError: The configuration section ‘system.webServer/management/delegation’ cannot be read because it is missing schemaI really have no idea what could solve this problem and hope you are able to help me.

问题:

我在IIS中有一个网站,我无法打开任何设置,如身份验证,处理程序映射,授权规则等。它只显示错误消息“执行此操作时出错”,没有更多详细信息和指向Web的.config。

浏览网站会导致500.19错误。

我尝试将iis_iusrs添加到网站文件夹和web.config,更改应用程序池标识,以便访问web.config /网站文件夹安全设置,验证目标框架,iisreset / app pool回收无效。

I have a website in IIS for which I cannot open any of the settings like Authentication, Handler Mappings, Authorization Rules etc. It just shows the error message “There was an error while performing this operation”, with no more details and points to web.config.Browsing the website results in a 500.19 error.I tried adding iis_iusrs to the website folder and web.config, changing the app pool identity giving access to same on web.config/website folder security settings, verified target framework, iisreset/app pool recycles to no avail.

问题:

我已经构建了一个.net4.5 ASP.NET MVC4 Web应用程序,该应用程序在本地可以正常运行(IIS Express和开发服务器),但是一旦将其部署到我的Web服务器上,它就会引发403错误。 我已经在服务器上安装了.Net 4.5RC,甚至尝试了aspnet_regiis -i ,每个人都建议使用MVC / .Net的早期版本解决问题,但没有帮助。

有任何想法吗?

编辑 :有关情况的更多信息。 该服务器是32位的,我还有其他4个运行良好的MVC3应用程序。 只是我的MVC4应用无法正常工作。

I have build a .net4.5 ASP.NET MVC4 web app which works fine locally (IIS Express & dev server) but once i deploy it to my web server it throws the 403 error.I have installed .Net 4.5RC on the server and even tried the aspnet_regiis -i bit that everyone recommended for their issues with previous versions of MVC/.Net but it did not help.Any ideas?EDIT : More info about the situation.The server is 32bit and I have 4 other MVC3 applications that work fine.It is just my MVC4 app that is not working.

问题:

我正在复制Web应用程序部署,发现了一些与HTTP Error 500.19相关的问题。 我的机器正在运行Windows 7,而正常的开发正在使用Windows 8 我们正在使用Visual Studio 2010开发Web应用程序。

首先,我得到了错误代码0x80070021 ,类似于此处发布的。 我根据接受的答案更新了web.config,然后得到以下错误代码(类似于此处发布的错误代码)。

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

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

发生此问题的原因是ApplicationHost.config文件或Web.config文件包含格式错误的XML元素。

解决方案是

从ApplicationHost.config文件或Web.config文件中删除格式错误的XML元素。

但是,我使用的web.config在原始开发环境中运行良好。

到目前为止,这是我检查并尝试过的内容:

  1. 通过调用aspnet_regiis -i安装ASP.NET
  2. 将我的应用程序设置为使用其他应用程序池(ASP.NET v4.0,.NET v4等)
  3. Windows 7中的ApplicationHost.config文件仍在使用默认设置。

这是我的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>

我已经阅读了stackoverflow中类似/重复/已关闭的帖子(大约13条),尝试了除与Ajax有关的答案(是否与之相关)以外的所有内容,并且仍然不知道错误是什么。

有谁能解决这个错误? (并且,如果可能的话,需要检查事物的完整列表,以便我们减少类似的帖子。)我准备提供更多详细信息。

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 .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 ).I have read the symptoms definition in Microsoft support page and cause of the error is:This problem occurs because the ApplicationHost.config file or the Web.config file contains a malformed XML element.and the solution isDelete the malformed XML element from the ApplicationHost.config file or from the Web.config file.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:Install ASP.NET by calling aspnet_regiis -iSet my application to use different application pool (ASP.NET v4.0, .NET v4, etc)ApplicationHost.config file is still using default from Windows 7.This is part of my Web.ConfigI 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.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.

问题:

我创建了一个ASP.NET MVC 3项目,并在开发时使用IIS Express作为Web服务器。 当我尝试调试时,我收到以下错误消息。

怎么解决这个问题?

‘/’应用程序中的服务器错误。

访问被拒绝。 描述:访问提供此请求所需的资源时发生错误。 可能未配置服务器以访问请求的URL。

错误消息401.2。:未授权:由于服务器配置登录失败。 验证您是否有权根据您提供的凭据和Web服务器上启用的身份验证方法查看此目录或页面。 请与Web服务器的管理员联系以获取其他帮助。

I have created an ASP.NET MVC 3 project, and am using IIS Express as the web server when developing.When I try to debug, I get the error message below.How can this be solved?Server Error in ‘/’ Application.Access is denied.Description: An error occurred while accessing the resources required to serve this request.The server may not be configured for access to the requested URL.Error message 401.2.: Unauthorized: Logon failed due to server configuration.Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server.Contact the Web server’s administrator for additional assistance.