【问题标题】:Sitecore EXM 3.3 Subscription Form decoding message issueSitecore EXM 3.3 订阅表单解码消息问题
【发布时间】:2016-08-05 14:33:51
【问题描述】:

我在我的网站上使用 Exm 订阅表格。当我点击“提交”时,什么也没有发生,我在日志中看到了这个异常:

11:47:00 ERROR unhandled exception thrown while processing task '0x479FA17B72734C448A640E959089B01F' from task pool 'sent_message_task_pool'. The task has not reached the maximum number of Attempts to process a failing task and is postponed.
Exception: System.FormatException
Message: The input is not a valid base-64 string, since they in the voids containing a non-base 64 character, more than two spaces or a character that is not valid.
Source: mscorlib
at System.Convert.FromBase64_Decode (char * startInputPtr, Int32 inputLength, Byte * startDestPtr, Int32 destLength)
at System.Convert.FromBase64CharPtr (char * inputPtr, Int32 inputLength)
at System.Convert.FromBase64String (String s)
at Sitecore.Modules.EmailCampaign.Core.Crypto.AuthenticatedAesStringCipher.TryDecrypt (String encryptedmessage)
at Sitecore.EmailCampaign.Cm.Tasks.MessageEventBaseTaskProcessor.OnProcess (Short Running Task task, CancellationToken CancellationToken)
at Sitecore.ExM.Framework.Distributed.Tasks.Processing.ShortRunning.TaskProcessor.Process(ShortRunningTask task, CancellationToken CancellationToken)
at Sitecore.ExM.Framework.Distributed.Tasks.Processing.ShortRunning.DatabaseTaskAgent.ProcessTask(DatabaseTaskDtoCollectionItem taskDto, CancellationToken CancellationToken)
11:47:01 WARN One or more tasks processed by task agent 'sent_message_task_pool' failed. The agent wants to revert to the slowest processing speed possible.

当我将 EXM 版本从 3.2 升级到 3.3 时,这种情况开始发生。在 3.2 版本中一切正常

我发现一行发生了这个异常:

string str3 = this._cipher.TryDecrypt(eventData.ContactId);

看起来缺少 ContactId(equal "00000000-0000-0000-0000-000000000000")

【问题讨论】:

  • 请尝试删除 \Data\viewstate 文件夹下的所有文件夹并尝试再次重现此问题
  • 问题仍在复制
  • 我发现一行发生了这个异常:string str3 = this._cipher.TryDecrypt(eventData.ContactId);看起来缺少 ContactId(equal "00000000-0000-0000-0000-000000000000") 。应该填在哪里?
  • 您是否添加了所需的连接字符串,即 EXM.CryptographicKey 和 EXM.AuthenticationKey?参考文献dev.sitecore.net/Downloads/Email_Experience_Manager/…上的安装指南
  • 是的,我已经添加了这个值

标签: sitecore sitecore8 sitecore-exm


【解决方案1】:

您的 Sitecore 版本是多少?是 8.1 更新 3 吗?如果没有,您是否也更新了 Sitecore 版本?由于 EXM 3.3 需要 Sitecore 8.1 更新 3

https://dev.sitecore.net/Downloads/Email_Experience_Manager/Email_Experience_Manager_33/Email_Experience_Manager_33_Initial_Release.aspx

【讨论】:

  • Sitecore 版本 8.1 更新 3 - Sitecore.NET 8.1(修订版 160519)
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-05-18
  • 2017-02-22
  • 2012-11-29
相关资源
最近更新 更多