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

“”(十六进制值 0x1F)是无效的字符。 行 1,位置 643。

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

异常详细信息: System.Xml.XmlException: “”(十六进制值 0x1F)是无效的字符。 行 1,位置 643。

源错误:


行 974:        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://news.steelcn.com/GetNewsDetail", RequestNamespace="http://news.steelcn.com/", ResponseNamespace="http://news.steelcn.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
行 975:        public News GetNewsDetail(int id) {
行 976:            object[] results = this.Invoke("GetNewsDetail", new object[] {
行 977:                        id});
行 978:            return ((News)(results[0]));

源文件: c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c7146e9a\89c1a443\App_WebReferences.fglnrglp.0.cs    行: 976

堆栈跟踪:


[XmlException: “”(十六进制值 0x1F)是无效的字符。 行 1,位置 643。]
   System.Xml.XmlTextReaderImpl.Throw(Exception e) +76
   System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) +88
   System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String[] args) +18
   System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar) +151
   System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline(Int32 startPos, Boolean expand, BufferBuilder internalSubsetBuilder, Int32& charCount, EntityType& entityType) +4021270
   System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) +641
   System.Xml.XmlTextReaderImpl.ParseText() +97
   System.Xml.XmlTextReaderImpl.ParseElementContent() +265
   System.Xml.XmlTextReaderImpl.Read() +45
   System.Xml.XmlTextReader.Read() +15
   System.Xml.XmlReader.ReadElementString() +65
   Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderInfoService.Read5_News(Boolean isNullable, Boolean checkType) +1800
   Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderInfoService.Read24_GetNewsDetailResponse() +285
   Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer38.Deserialize(XmlSerializationReader reader) +40
   System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) +119

[InvalidOperationException: XML 文档(1, 643)中有错误。]
   System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) +613
   System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle) +32
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1554
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
   com.steelcn.news.admin.InfoService.GetNewsDetail(Int32 id) in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c7146e9a\89c1a443\App_WebReferences.fglnrglp.0.cs:976
   NewsDetail.Page_Load(Object sender, EventArgs e) in e:\WebSite\hq.steelcn.com\NewsDetail.aspx.cs:40
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


版本信息: Microsoft .NET Framework 版本:2.0.50727.9044; ASP.NET 版本:2.0.50727.9047