日期:2014-05-17  浏览次数:20610 次

客户端发现响应内容类型为“text/html”,但应为“text/xml”.
客户端发现响应内容类型为“text/html”,但应为“text/xml”。
请求失败,错误信息为:
--
<html>
  <head>
  <title>??????????????????
</title>
  </head>
  <body>
  <h1><font face=Verdana color=#ff3300>??????????????????????????????
</font></h1>
  <p>
  <font face=Verdana>
  ??????????????? Web ????????????????????? Web ??????????????????????????????????????? Web ??????????????????????????????????????????????????????
</p>
  <p>
  <b>?????????????????????:
</b> ?????????????????????????????????????????????????????? Web ?????????????????????????????????????????????????????????????????????????????????????????????????????????
</p>
  </body>
</html>

--. 
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 

异常详细信息: System.InvalidOperationException: 客户端发现响应内容类型为“text/html”,但应为“text/xml”。
请求失败,错误信息为:
--
<html>
  <head>
  <title>??????????????????
</title>
  </head>
  <body>
  <h1><font face=Verdana color=#ff3300>??????????????????????????????
</font></h1>
  <p>
  <font face=Verdana>
  ??????????????? Web ????????????????????? Web ??????????????????????????????????????? Web ??????????????????????????????????????????????????????
</p>
  <p>
  <b>?????????????????????:
</b> ?????????????????????????????????????????????????????? Web ?????????????????????????????????????????????????????????????????????????????????????????????????????????
</p>
  </body>
</html>

--.

源错误: 


行 5956: [return: System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
行 5957: public byte[] selectNNPKFirstPageListDAL(string p_tableName) {
行 5958: object[] results = this.Invoke("selectNNPKFirstPageListDAL", new object[] {
行 5959: p_tableName});
行 5960: return ((byte[])(results[0]));
 

源文件: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\d5fca424\4baed57\App_WebReferences.hifsgxp_.0.cs 行: 5958 
堆栈跟踪: 


[InvalidOperationException: 客户端发现响应内容类型为“text/html”,但应为“text/xml”。
请求失败,错误信息为:
--
<html>
  <head>
  <title>??????????????????
</title>
  </head>
  <body>
  <h1><font face=Verdana color=#ff3300>??????????????????????????????
</font></h1>
  <p>
  <font face=Verdana>
  ??????????????? Web ????????????????????? Web ??????????????????????????????????????? Web ??????????????????????????????????????????????????????
</p>
  <p>
  <b>?????????????????????:
</b> ?????????????????????????????????????????????????????? Web ?????????????????????????????????????????????????????????????????????????????????????????????????????????
 </p>
  </body>
</html>

--.]
  System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +533395
  System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
  DegreeWebReference.DegreeMgr