2017-01-09 28 views
0

使用Sitecore.NET 8.1(修訂號151207)並安裝了Web Forms For Marketing 8.1修訂版。 151217更新-1。 創建一個帶有發送電子郵件消息保存操作的示例表單,並提交它時會拋出一個錯誤 - 無法獲取管道:errorSave(domain:), 但是,當我嘗試在CM上預覽它並提交表單時,它會顯示成功消息,還收到電子郵件成功。無法獲取管道:errorSave(domain:)

下面是CD的一些日誌信息:

INFO Event started: media:request 
INFO Executed: Sitecore.Analytics.RobotDetection.Media.MediaRequestEventHandler.OnMediaRequest(). Elapsed: 0.00928889006843048 
INFO Event ended: media:request. Elapsed: 0.0689333420867736 
INFO Event started: sessionEnd:starting 
INFO Event ended: sessionEnd:starting. Elapsed: 0.0106857156426306 
INFO Event started: sessionEnd:postSessionEnd:starting 
INFO Event ended: sessionEnd:postSessionEnd:starting. Elapsed: 0.00551746101809029 
INFO Event started: sessionEnd:ended 
INFO Event ended: sessionEnd:ended. Elapsed: 0.00453968311615024 
WARN [WFFM] Tracker.Current is not initialized 
WARN [WFFM] Tracker.Current.CurrentPage is not initialized 
INFO Event started: publish:statusUpdated 
INFO Executed: Sitecore.Publishing.RemotePublishingEventHandler.OnStatusUpdated(). Elapsed: 0.00886984239617046 
INFO Event ended: publish:statusUpdated. Elapsed: 0.0692825484803236 
INFO Event started: database:propertychanged 
INFO Executed: Sitecore.Eventing.Remote.RemoteEventMap.<SetupGlobalEventSubscribers>b__14(). Elapsed: 0.0154349225949108 
INFO Event ended: database:propertychanged. Elapsed: 0.0610412775925432 
Event started: database:propertychanged 
Executed: Sitecore.Eventing.Remote.RemoteEventMap.<SetupGlobalEventSubscribers>b__14(). Elapsed: 0.0096380964619805 
INFO Event ended: database:propertychanged. Elapsed: 0.057968261329303 
WARN [WFFM] Tracker.Current.CurrentPage is not initialized 
WARN [WFFM] Tracker.Current is not initialized 
WARN [WFFM] CurrentSession is not initialized 
WARN [WFFM] CurrentContact is not initialized 
WARN [WFFM] Cannot save form to Db, required attributes are: IsXdbTrackerEnabled:True 
WARN [WFFM] Could not get pipeline: processMessage (domain:) 
Exception: System.InvalidOperationException 
Message: Could not get pipeline: processMessage (domain:) 
Source: Sitecore.Kernel 
    at Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) 
    at Sitecore.Forms.Core.Dependencies.DefaultImplActionExecutor.ExecuteSaving(ID formID, ControlResult[] fields, IActionDefinition[] actionDefinitions, Boolean simpleAdapt, ID sessionID) 

WARN [WFFM] Could not get pipeline: errorSave (domain:) 
Exception: System.InvalidOperationException 
Message: Could not get pipeline: errorSave (domain:) 
Source: Sitecore.Kernel 
    at Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) 
    at Sitecore.Forms.Core.Dependencies.DefaultImplActionExecutor.ExecuteSaving(ID formID, ControlResult[] fields, IActionDefinition[] actionDefinitions, Boolean simpleAdapt, ID sessionID) 
    at Sitecore.Form.Core.FormDataHandler.ExecuteSaveActions(ID formId, ControlResult[] fields, IActionDefinition[] actions, IActionExecutor actionExecutor) 
    at Sitecore.Form.Core.FormDataHandler.ProcessData(ID formID, ControlResult[] fields, IActionDefinition[] actions, IActionExecutor actionExecutor) 

按照安裝手冊中提到的所有步驟。 任何幫助,將不勝感激。

回答

0

日誌條目「不能保存表單到數據庫,需要的屬性有:IsXdbTrackerEnabled:真正的」似乎像如何解決該錯誤的好主意......

檢查你的配置,並確保Xdb.Tracking.Enabled是設置爲true。 (使用/sitecore/admin/showconfig.aspx進行驗證)

還要檢查你的配置文件(特別是Sitecore.Forms.config),看看你是否確實有在日誌中提到的processMessage管道。錯誤似乎指向錯誤配置..

+0

感謝您的迴應Gatogordo,驗證Xdb.Tracking.Enabled設置爲true。 – Vijay

+0

添加到答案 - 檢查CD上的配置文件,確認日誌中提到的管道實際上存在。也許比較文件到一個乾淨的安裝(或您的工作服務器)。 – Gatogordo

+0

你是對的...我對CM和CD中提到的管道進行了比較,發現CD幾乎沒有差異,因爲少數標籤沒有很好地形成,這是作爲註釋掉模塊安裝的一些鉤子和事件的一部分。一旦糾正,就按預期工作。 – Vijay

相關問題