“/”应用程序中的服务器错误。

客户端发现响应内容类型为“text/html; Charset=gb2312”,但应为“text/xml”。
请求失败,错误信息为:
--
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>拦截页面</title>
<style type="text/css">
body{
width: 100;
padding: 0;
margin: 0;
}
#max{
width: 100;
padding: 0;
margin: 0 auto;
}
#top{
width: 150px;
margin: 0 auto;
padding-top: 60px;
}
#warm{
margin: 20px 0 15px 0;
font-size: 24px;
color: #606266;
text-align: center;
}
#tip{
width: 800px;
margin: 0 auto;
padding-top: 10px;
padding-bottom: 20px;
border: #DFDFDF solid 1px;
border-radius: 6px;
color: #808288;
font-size: 16px;
}
p{
padding-left: 200px;
}
#example{
margin-left: 55px;
}
#bom{
width: 900px;
margin: 0 auto;
margin-top: 5px;
font-size: 16px;
}
#left{
float: left;
width: 30px;
padding-left: 160px;
margin-top: 10px;
}
#right{
float: left;
margin-top: 10px;
margin-left: 8px;
color: #808288;
}
input{
width: 100px;
height: 35px;
border: #DFDFDF solid 1px;
border-radius: 4px;
margin-left: 5px;
outline: none;
}
#detail{
background-color: #2ea1f8;
color: #FFFFFF;
}
#feedback{
background-color: #FFFFFF;
color: #808288;
}
footer{
width: 100;
position: absolute;
bottom: 0px;
padding: 25px 0 35px 0;
margin: 0 auto;
text-align: center;
color: #808288;
font-size: 14px;
border-top: 1px solid #e4e7ed;
}
</style>

</head>
<body>
<div id="max">
<div id="top">
<svg xmlns="http://www.w3.org/2000/svg" id="图层_1" style="" viewBox="0 0 93 60" x="0px" y="0px" xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:space="preserve" version="1.1">
<style type="text/css">
.st0{fill:#27A1FD;}
.st1{fill:#474755;}
.st2{fill:#FFFFFF;}
.st3{fill:#71C1FE;}
</style>
<g>
<path class="st0" d="M 73 18 H 31 c -2.2 0 -4 -1.8 -4 -4 V 4 c 0 -2.2 1.8 -4 4 -4 h 42 c 2.2 0 4 1.8 4 4 v 10 C 77 16.2 75.2 18 73 18 Z" />
<path class="st1" d="M 21 18 H 4 c -2.2 0 -4 -1.8 -4 -4 V 4 c 0 -2.2 1.8 -4 4 -4 h 17 c 2.2 0 4 1.8 4 4 v 10 C 25 16.2 23.2 18 21 18 Z" />
<path class="st0" d="M 73 58 H 31 c -2.2 0 -4 -1.8 -4 -4 V 44 c 0 -2.2 1.8 -4 4 -4 h 42 c 2.2 0 4 1.8 4 4 v 10 C 77 56.2 75.2 58 73 58 Z" />
<path class="st1" d="M 21 58 H 4 c -2.2 0 -4 -1.8 -4 -4 V 44 c 0 -2.2 1.8 -4 4 -4 h 17 c 2.2 0 4 1.8 4 4 v 10 C 25 56.2 23.2 58 21 58 Z" />
<path class="st0" d="M 46 38 H 4 c -2.2 0 -4 -1.8 -4 -4 V 24 c 0 -2.2 1.8 -4 4 -4 h 42 c 2.2 0 4 1.8 4 4 v 10 C 50 36.2 48.2 38 46 38 Z" />
<path class="st1" d="M 73 38 H 56 c -2.2 0 -4 -1.8 -4 -4 V 24 c 0 -2.2 1.8 -4 4 -4 h 17 c 2.2 0 4 1.8 4 4 v 10 C 77 36.2 75.2 38 73 38 Z" />
<circle class="st2" cx="73" cy="40" r="20" />
<g>
<path class="st3" d="M 73 22 c 9.9 0 18 8.1 18 18 s -8.1 18 -18 18 s -18 -8.1 -18 -18 S 63.1 22 73 22 M 73 20 c -11 0 -20 9 -20 20 s 9 20 20 20 s 20 -9 20 -20 S 84 20 73 20 L 73 20 Z" />
</g>
<path class="st3" d="M 83 42 H 63 c -1.1 0 -2 -0.9 -2 -2 v 0 c 0 -1.1 0.9 -2 2 -2 h 20 c 1.1 0 2 0.9 2 2 v 0 C 85 41.1 84.1 42 83 42 Z" />
</g>
</svg>
</div>

<div id="bom">
<div id="left">
<svg xmlns="http://www.w3.org/2000/svg" id="图层_1" style="" viewBox="0 0 30 30" x="0px" y="0px" xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:space="preserve" version="1.1">
<style type="text/css">
.st4{fill:#DFDFDF;}
.st5{fill:#0458B0;}
.st6{fill:#EDE7E6;}
.st7{fill:#F7EDEB;}
.st8{fill:#3B455F;}
</style>
<g>
<circle class="st4" cx="15" cy="15" r="15" />
<ellipse class="st5" cx="15" cy="23.5" rx="12.4" ry="6.5" />
<path class="st6" d="M 15 22 L 15 22 c -2.2 0 -4 -1.8 -4 -4 v -3 c 0 -2.2 1.8 -4 4 -4 h 0 c 2.2 0 4 1.8 4 4 v 3 C 19 20.2 17.2 22 15 22 Z" />
<ellipse class="st7" cx="15" cy="10.5" rx="5" ry="7.5" />
<polygon class="st8" points="11,6 13,8 19,8 20,11 21,11 21,5 18,2 12,2 9,5 9,11 10,11" />
<path class="st7" d="M 19.5 13 h -9 C 9.7 13 9 12.3 9 11.5 v 0 c 0 -0.8 0.7 -1.5 1.5 -1.5 h 9 c 0.8 0 1.5 0.7 1.5 1.5 v 0 C 21 12.3 20.3 13 19.5 13 Z" />
</g>
</svg>
</div>
<div id="right">
<span>如果您是网站管理员,请登录安全狗</span>
<a href="http://www.safedog.cn"><input type="button" name="detail" id="detail" value="查看详情"></a>
<span>或</span>
<a href="http://security.safedog.cn/index.html"><input type="button" name="feedback" id="feedback" value="反馈误报"></a>
</div>
</div>
<div id="footer">
<footer>Copyright©2013-2020 厦门服云信息科技有限公司 ALL Rights Reserved | 闽ICP备14014139号-1</footer>
</div>
</div>
</body>
</html>

--.

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

异常详细信息: System.InvalidOperationException: 客户端发现响应内容类型为“text/html; Charset=gb2312”,但应为“text/xml”。
请求失败,错误信息为:
--
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>拦截页面</title>
<style type="text/css">
body{
width: 100;
padding: 0;
margin: 0;
}
#max{
width: 100;
padding: 0;
margin: 0 auto;
}
#top{
width: 150px;
margin: 0 auto;
padding-top: 60px;
}
#warm{
margin: 20px 0 15px 0;
font-size: 24px;
color: #606266;
text-align: center;
}
#tip{
width: 800px;
margin: 0 auto;
padding-top: 10px;
padding-bottom: 20px;
border: #DFDFDF solid 1px;
border-radius: 6px;
color: #808288;
font-size: 16px;
}
p{
padding-left: 200px;
}
#example{
margin-left: 55px;
}
#bom{
width: 900px;
margin: 0 auto;
margin-top: 5px;
font-size: 16px;
}
#left{
float: left;
width: 30px;
padding-left: 160px;
margin-top: 10px;
}
#right{
float: left;
margin-top: 10px;
margin-left: 8px;
color: #808288;
}
input{
width: 100px;
height: 35px;
border: #DFDFDF solid 1px;
border-radius: 4px;
margin-left: 5px;
outline: none;
}
#detail{
background-color: #2ea1f8;
color: #FFFFFF;
}
#feedback{
background-color: #FFFFFF;
color: #808288;
}
footer{
width: 100;
position: absolute;
bottom: 0px;
padding: 25px 0 35px 0;
margin: 0 auto;
text-align: center;
color: #808288;
font-size: 14px;
border-top: 1px solid #e4e7ed;
}
</style>

</head>
<body>
<div id="max">
<div id="top">
<svg xmlns="http://www.w3.org/2000/svg" id="图层_1" style="" viewBox="0 0 93 60" x="0px" y="0px" xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:space="preserve" version="1.1">
<style type="text/css">
.st0{fill:#27A1FD;}
.st1{fill:#474755;}
.st2{fill:#FFFFFF;}
.st3{fill:#71C1FE;}
</style>
<g>
<path class="st0" d="M 73 18 H 31 c -2.2 0 -4 -1.8 -4 -4 V 4 c 0 -2.2 1.8 -4 4 -4 h 42 c 2.2 0 4 1.8 4 4 v 10 C 77 16.2 75.2 18 73 18 Z" />
<path class="st1" d="M 21 18 H 4 c -2.2 0 -4 -1.8 -4 -4 V 4 c 0 -2.2 1.8 -4 4 -4 h 17 c 2.2 0 4 1.8 4 4 v 10 C 25 16.2 23.2 18 21 18 Z" />
<path class="st0" d="M 73 58 H 31 c -2.2 0 -4 -1.8 -4 -4 V 44 c 0 -2.2 1.8 -4 4 -4 h 42 c 2.2 0 4 1.8 4 4 v 10 C 77 56.2 75.2 58 73 58 Z" />
<path class="st1" d="M 21 58 H 4 c -2.2 0 -4 -1.8 -4 -4 V 44 c 0 -2.2 1.8 -4 4 -4 h 17 c 2.2 0 4 1.8 4 4 v 10 C 25 56.2 23.2 58 21 58 Z" />
<path class="st0" d="M 46 38 H 4 c -2.2 0 -4 -1.8 -4 -4 V 24 c 0 -2.2 1.8 -4 4 -4 h 42 c 2.2 0 4 1.8 4 4 v 10 C 50 36.2 48.2 38 46 38 Z" />
<path class="st1" d="M 73 38 H 56 c -2.2 0 -4 -1.8 -4 -4 V 24 c 0 -2.2 1.8 -4 4 -4 h 17 c 2.2 0 4 1.8 4 4 v 10 C 77 36.2 75.2 38 73 38 Z" />
<circle class="st2" cx="73" cy="40" r="20" />
<g>
<path class="st3" d="M 73 22 c 9.9 0 18 8.1 18 18 s -8.1 18 -18 18 s -18 -8.1 -18 -18 S 63.1 22 73 22 M 73 20 c -11 0 -20 9 -20 20 s 9 20 20 20 s 20 -9 20 -20 S 84 20 73 20 L 73 20 Z" />
</g>
<path class="st3" d="M 83 42 H 63 c -1.1 0 -2 -0.9 -2 -2 v 0 c 0 -1.1 0.9 -2 2 -2 h 20 c 1.1 0 2 0.9 2 2 v 0 C 85 41.1 84.1 42 83 42 Z" />
</g>
</svg>
</div>

<div id="bom">
<div id="left">
<svg xmlns="http://www.w3.org/2000/svg" id="图层_1" style="" viewBox="0 0 30 30" x="0px" y="0px" xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:space="preserve" version="1.1">
<style type="text/css">
.st4{fill:#DFDFDF;}
.st5{fill:#0458B0;}
.st6{fill:#EDE7E6;}
.st7{fill:#F7EDEB;}
.st8{fill:#3B455F;}
</style>
<g>
<circle class="st4" cx="15" cy="15" r="15" />
<ellipse class="st5" cx="15" cy="23.5" rx="12.4" ry="6.5" />
<path class="st6" d="M 15 22 L 15 22 c -2.2 0 -4 -1.8 -4 -4 v -3 c 0 -2.2 1.8 -4 4 -4 h 0 c 2.2 0 4 1.8 4 4 v 3 C 19 20.2 17.2 22 15 22 Z" />
<ellipse class="st7" cx="15" cy="10.5" rx="5" ry="7.5" />
<polygon class="st8" points="11,6 13,8 19,8 20,11 21,11 21,5 18,2 12,2 9,5 9,11 10,11" />
<path class="st7" d="M 19.5 13 h -9 C 9.7 13 9 12.3 9 11.5 v 0 c 0 -0.8 0.7 -1.5 1.5 -1.5 h 9 c 0.8 0 1.5 0.7 1.5 1.5 v 0 C 21 12.3 20.3 13 19.5 13 Z" />
</g>
</svg>
</div>
<div id="right">
<span>如果您是网站管理员,请登录安全狗</span>
<a href="http://www.safedog.cn"><input type="button" name="detail" id="detail" value="查看详情"></a>
<span>或</span>
<a href="http://security.safedog.cn/index.html"><input type="button" name="feedback" id="feedback" value="反馈误报"></a>
</div>
</div>
<div id="footer">
<footer>Copyright©2013-2020 厦门服云信息科技有限公司 ALL Rights Reserved | 闽ICP备14014139号-1</footer>
</div>
</div>
</body>
</html>

--.

源错误:


行 54:         [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://Service.shaoqun.com/GetKeyList", RequestNamespace="http://Service.shaoqun.com", ResponseNamespace="http://Service.shaoqun.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
行 55:         public string GetKeyList(int Id) {
行 56:             object[] results = this.Invoke("GetKeyList", new object[] {
行 57:                         Id});
行 58:             return ((string)(results[0]));

源文件: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\20a61752\51d01571\App_WebReferences.pioehvnj.0.cs    行: 56

堆栈跟踪:


[InvalidOperationException: 客户端发现响应内容类型为“text/html; Charset=gb2312”,但应为“text/xml”。
请求失败,错误信息为:
--
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>拦截页面</title>
		<style type="text/css">
			body{
				width: 100;
				padding: 0;
				margin: 0;
			}
			#max{
				width: 100;
				padding: 0;
				margin: 0 auto;
			}
			#top{
				width: 150px;
				margin: 0 auto;
				padding-top: 60px;
			}
			#warm{
				margin: 20px 0 15px 0;
				font-size: 24px;
				color: #606266;
				text-align: center;
			}
			#tip{
				width: 800px;
				margin: 0 auto;
				padding-top: 10px;
				padding-bottom: 20px;
				border: #DFDFDF solid 1px;
				border-radius: 6px;
				color: #808288;
				font-size: 16px;
			}
			p{
				padding-left: 200px;
			}
			#example{
				margin-left: 55px;
			}
			#bom{
				width: 900px;
				margin: 0 auto;
				margin-top: 5px;
				font-size: 16px;
			}
			#left{
				float: left;
				width: 30px;
				padding-left: 160px;
				margin-top: 10px;
			}
			#right{
				float: left;
				margin-top: 10px;
				margin-left: 8px;
				color: #808288;
			}
			input{
				width: 100px;
				height: 35px;
				border: #DFDFDF solid 1px;
				border-radius: 4px;
				margin-left: 5px;
				outline: none;
			}
			#detail{
				background-color: #2ea1f8;
				color: #FFFFFF;
			}
			#feedback{
				background-color: #FFFFFF;
				color: #808288;
			}
			footer{
				width: 100;
				position: absolute;
				bottom: 0px;
				padding: 25px 0 35px 0;
				margin: 0 auto;
				text-align: center;
				color: #808288;
				font-size: 14px;
				border-top: 1px solid #e4e7ed;
			}
		</style>
		
	</head>
	<body>
		<div id="max">
			<div id="top">
				<svg xmlns="http://www.w3.org/2000/svg" id="图层_1" style="" viewBox="0 0 93 60" x="0px" y="0px" xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:space="preserve" version="1.1">
				<style type="text/css">
					.st0{fill:#27A1FD;}
					.st1{fill:#474755;}
					.st2{fill:#FFFFFF;}
					.st3{fill:#71C1FE;}
				</style>
				<g>
					<path class="st0" d="M 73 18 H 31 c -2.2 0 -4 -1.8 -4 -4 V 4 c 0 -2.2 1.8 -4 4 -4 h 42 c 2.2 0 4 1.8 4 4 v 10 C 77 16.2 75.2 18 73 18 Z" />
					<path class="st1" d="M 21 18 H 4 c -2.2 0 -4 -1.8 -4 -4 V 4 c 0 -2.2 1.8 -4 4 -4 h 17 c 2.2 0 4 1.8 4 4 v 10 C 25 16.2 23.2 18 21 18 Z" />
					<path class="st0" d="M 73 58 H 31 c -2.2 0 -4 -1.8 -4 -4 V 44 c 0 -2.2 1.8 -4 4 -4 h 42 c 2.2 0 4 1.8 4 4 v 10 C 77 56.2 75.2 58 73 58 Z" />
					<path class="st1" d="M 21 58 H 4 c -2.2 0 -4 -1.8 -4 -4 V 44 c 0 -2.2 1.8 -4 4 -4 h 17 c 2.2 0 4 1.8 4 4 v 10 C 25 56.2 23.2 58 21 58 Z" />
					<path class="st0" d="M 46 38 H 4 c -2.2 0 -4 -1.8 -4 -4 V 24 c 0 -2.2 1.8 -4 4 -4 h 42 c 2.2 0 4 1.8 4 4 v 10 C 50 36.2 48.2 38 46 38 Z" />
					<path class="st1" d="M 73 38 H 56 c -2.2 0 -4 -1.8 -4 -4 V 24 c 0 -2.2 1.8 -4 4 -4 h 17 c 2.2 0 4 1.8 4 4 v 10 C 77 36.2 75.2 38 73 38 Z" />
					<circle class="st2" cx="73" cy="40" r="20" />
					<g>
						<path class="st3" d="M 73 22 c 9.9 0 18 8.1 18 18 s -8.1 18 -18 18 s -18 -8.1 -18 -18 S 63.1 22 73 22 M 73 20 c -11 0 -20 9 -20 20 s 9 20 20 20 s 20 -9 20 -20 S 84 20 73 20 L 73 20 Z" />
					</g>
					<path class="st3" d="M 83 42 H 63 c -1.1 0 -2 -0.9 -2 -2 v 0 c 0 -1.1 0.9 -2 2 -2 h 20 c 1.1 0 2 0.9 2 2 v 0 C 85 41.1 84.1 42 83 42 Z" />
				</g>
				</svg>
			</div>
			
			<div id="bom">
				<div id="left">
					<svg xmlns="http://www.w3.org/2000/svg" id="图层_1" style="" viewBox="0 0 30 30" x="0px" y="0px" xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:space="preserve" version="1.1">
					<style type="text/css">
						.st4{fill:#DFDFDF;}
						.st5{fill:#0458B0;}
						.st6{fill:#EDE7E6;}
						.st7{fill:#F7EDEB;}
						.st8{fill:#3B455F;}
					</style>
					<g>
						<circle class="st4" cx="15" cy="15" r="15" />
						<ellipse class="st5" cx="15" cy="23.5" rx="12.4" ry="6.5" />
						<path class="st6" d="M 15 22 L 15 22 c -2.2 0 -4 -1.8 -4 -4 v -3 c 0 -2.2 1.8 -4 4 -4 h 0 c 2.2 0 4 1.8 4 4 v 3 C 19 20.2 17.2 22 15 22 Z" />
						<ellipse class="st7" cx="15" cy="10.5" rx="5" ry="7.5" />
						<polygon class="st8" points="11,6 13,8 19,8 20,11 21,11 21,5 18,2 12,2 9,5 9,11 10,11" />
						<path class="st7" d="M 19.5 13 h -9 C 9.7 13 9 12.3 9 11.5 v 0 c 0 -0.8 0.7 -1.5 1.5 -1.5 h 9 c 0.8 0 1.5 0.7 1.5 1.5 v 0 C 21 12.3 20.3 13 19.5 13 Z" />
					</g>
					</svg>
				</div>
				<div id="right">
					<span>如果您是网站管理员,请登录安全狗</span>
					<a href="http://www.safedog.cn"><input type="button" name="detail" id="detail" value="查看详情"></a>
					<span>或</span>
					<a href="http://security.safedog.cn/index.html"><input type="button" name="feedback" id="feedback" value="反馈误报"></a>
				</div>
			</div>
			<div id="footer">
				<footer>Copyright©2013-2020 厦门服云信息科技有限公司 ALL Rights Reserved | 闽ICP备14014139号-1</footer>
			</div>
		</div>
	</body>
</html>

--.]
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +237592
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +273
   com.shaoqun.service.inc.GetKeyList(Int32 Id) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\20a61752\51d01571\App_WebReferences.pioehvnj.0.cs:56
   Template_ShowArticle.Page_Load(Object sender, EventArgs e) in c:\Websites\www.kjdsnews.com\Template\ShowArticle.aspx.cs:156
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4690.0