我在我的網站上使用了Exm訂閱表格。當我點擊「提交」沒有發生,我在日誌中看到這個異常:Sitecore EXM 3.3訂閱表格解碼信息問題
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版本中的所有工作得很好
我發現這是happend此異常的行:
string str3 = this._cipher.TryDecrypt(eventData.ContactId);
它看起來像使用ContactID(等於「00000000-0000-0000-0000-000000000000」)丟失
請儘量去除 \ DATA \ ViewState的文件夾下的所有文件夾,然後嘗試重現該問題再次 –
問題仍然轉載 –
我找到了發生以下異常的行: string str3 = this._cipher.TryDecrypt(eventData.ContactId); 看起來像ContactId(等於「00000000-0000-0000-0000-000000000000」)丟失。它應該在哪裏填充? –