“text/html; charset=utf-8”,但应为“text/xml”。
客户端发现响应内容类型为“text/html; charset=utf-8”,但应为“text/xml”。
请求失败,错误信息为:
--
<html>
<head>
<title>配置错误</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>
<body bgcolor="white">
<span><H1>“/Web”应用程序中的服务器错误。<hr width=100% size=1 color=silver></H1>
<h2> <i>配置错误</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> 说明: </b>在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。
<br><br>
<b> 分析器错误信息: </b>未能加载文件或程序集“Web”或它的某一个依赖项。系统找不到指定的文件。 (E:\Web\web.config line 27)<br><br>
<b>源错误:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
行 25: -->
行 26: <httpModules >
<font color=red>行 27: <add name ="AuthModule" type ="Web.Authenticator,Web"/>
</font>行 28: </httpModules>
行 29: <authentication mode="None"/></pre></code>
</td>
</tr>
</table>
<br>
<b> 源文件: </b> E:\Web\web.config<b> 行: </b> 27
<br><br>
什么意思啊
是哪出错了啊
谢谢