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

发布于 2024-12-01 15:06:15 字数 1095 浏览 0 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

凡尘雨 2024-12-08 15:06:15

您是否尝试过使用目录管理器导出目录?日志会告诉您坏数据在哪里,或者至少会给您提供线索。

我同意这看起来像是坏数据,您的目录中有多种语言吗?

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?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文