开发者

Commerce Server error when running catalog export service

开发者 https://www.devze.com 2023-03-31 09:16 出处:网络
System.ArgumentException: \'_\', hexadecimal value 0x1F, is an invalid character. at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar(Int32 ch, Char* pDst, Boolean entitize)
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 d开发者_StackOverflow社区ata, 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?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号