当前位置: 代码迷 >> SharePoint >> 使用GetListItems导出列表时,出错:System.Xml.XmlException: “
  详细解决方案

使用GetListItems导出列表时,出错:System.Xml.XmlException: “

热度:166   发布时间:2016-05-02 07:12:17.0
使用GetListItems导出列表时,报错:System.Xml.XmlException: “
导出其他任何列表时都正常,唯独导出新闻栏目时报这个错,这个栏目的数据量最大,大概1W多条。

求大神帮忙解决。

错误详细信息:


“”(十六进制值 0x1D)是无效的字符。 第 36601 行,位置 93。 
说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 

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

源错误: 





行 433:        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/GetListItems", RequestNamespace="http://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace="http://schemas.microsoft.com/sharepoint/soap/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
行 434:        public System.Xml.XmlNode GetListItems(string listName, string viewName, System.Xml.XmlNode query, System.Xml.XmlNode viewFields, string rowLimit, System.Xml.XmlNode queryOptions, string webID) {
行 435:            object[] results = this.Invoke("GetListItems", new object[] {
行 436:                        listName,
行 437:                        viewName, 


------解决方案--------------------
查询时有没有加RowLimit
  相关解决方案