[英]HTTP Error 500.19 in IIS- how to fix this?
我正在尝试将在Visual Studio 2010中开发的SharePoint Web部件部署到SharePoint 2010服务器上。 问题是当我转到IIS中的.svc文件并浏览它时,收到错误消息:
HTTP错误500.19-内部服务器错误无法访问请求的页面,因为该页面的相关配置数据无效。
该页面上有一个链接,告诉我web.config中存在一个格式错误的XML元素。 但我看不到:
阿斯
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
<identity impersonate="true" userName="******\*******" password=*******>
</system.web>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="true"/>
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true"/>
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
</configuration>
我不确定是什么原因造成的。 我在IIS中为一个类似的项目设置了一个应用程序池,该项目具有完全相同的web.config(有一些次要的名称更改)并且可以工作。 两者都在“默认网站”下(并且需要)。 我该怎么办? 我应该在哪里看?
我刚刚意识到:我必须右键单击Web App项目,转到“ Web”选项卡,然后单击“使用本地IIS Web服务器”选项。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.