简体   繁体   English

运行目录导出服务时Commerce Server错误

[英]Commerce Server error when running catalog export service

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? 有人看过吗?

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? 我同意它看起来像不良数据,您的目录中有多种语言吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM