运行目录导出服务时 Commerce Server 出错
System.ArgumentException: '_', hexadecimal value 0x1F, is an invalid character.
at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar(Int32 ch, Char* pDst, Boolean entitize)
at System.Xml.XmlEncodedRawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)
at System.Xml.XmlEncodedRawTextWriter.WriteString(String text)
at System.Xml.XmlWellFormedWriter.WriteString(String text)
at Microsoft.CommerceServer.Catalog.Internal.XmlErrorsBase.GetExternalError(Int32 lineNumber, String errorMessage)
at Microsoft.CommerceServer.Catalog.Internal.XmlErrorsBase.GetExternalError(String errorMessage)
at Microsoft.CommerceServer.Internal.CatalogExport.Export(Object obj)
at Microsoft.CommerceServer.Internal.CatalogExport.Export(Guid operationId)
at Microsoft.CommerceServer.Catalog.Internal.CatalogExportService.Export(ExportOptions exportOptions, String fileName)
at Microsoft.CommerceServer.Catalog.Internal.CatalogExportService.Page_Load(Object sender, EventArgs e)
看起来目录导出失败,然后尝试写入错误消息再次失败。它看起来像是坏数据,但我们找不到任何东西。有人以前见过这个吗?
System.ArgumentException: '_', hexadecimal value 0x1F, is an invalid character.
at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar(Int32 ch, Char* pDst, Boolean entitize)
at System.Xml.XmlEncodedRawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)
at System.Xml.XmlEncodedRawTextWriter.WriteString(String text)
at System.Xml.XmlWellFormedWriter.WriteString(String text)
at Microsoft.CommerceServer.Catalog.Internal.XmlErrorsBase.GetExternalError(Int32 lineNumber, String errorMessage)
at Microsoft.CommerceServer.Catalog.Internal.XmlErrorsBase.GetExternalError(String errorMessage)
at Microsoft.CommerceServer.Internal.CatalogExport.Export(Object obj)
at Microsoft.CommerceServer.Internal.CatalogExport.Export(Guid operationId)
at Microsoft.CommerceServer.Catalog.Internal.CatalogExportService.Export(ExportOptions exportOptions, String fileName)
at Microsoft.CommerceServer.Catalog.Internal.CatalogExportService.Page_Load(Object sender, EventArgs e)
It looks like the catalog export fails, then it fails again trying to write the error message. It looks like bad data, but we can't find anything. Anyone seen this before?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过使用目录管理器导出目录?日志会告诉您坏数据在哪里,或者至少会给您提供线索。
我同意这看起来像是坏数据,您的目录中有多种语言吗?
Have you tried exporting the catalog using the Catalog manager? The log would tell you where the bad data is, or at least it would give you a clue.
I agree it looks like bad data, do you have multiple languages in your catalog?