Hello,
I have an error when deploying a workflow (see below)
This error occurs when I check "Notify
participants when they receive a work item" in any user task.
If no notification checked, the workflow deloys successfully, and works as expected..
A send E-mail step is defined and work properly.
Exchange is not used for email integration.
A smtp server is defined in the setup manager (smtp server is a lotus domino 6.5.6)
The smtp connection test failed in the setup manager BUT telnet from k2 server to the smtp server works, as the send e-mail step in my workflow
DTC is set correctly on servers
K2
Blackpearl 4.6.6, K2 Smartforms 1.0.4
===============================================
The error :
Notification
Service: Task Error: System.Exception: System.Xml.XmlException: Root element is
missing.
Server stack trace:
at
System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at
System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.Load(XmlDocument
doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader
reader)
at System.Xml.XmlDocument.LoadXml(String
xml)
at
SourceCode.Categories.Client.CategoryServer.RefreshCategoryManager(CategoryManager
categoryManager, Boolean getCategoryData)
at
SourceCode.EventBus.EventAdmin.Admin.addEventToCategory(String eventID, String
eventName, String categoryConnectionString, Int32
worklistNotificationCategoryID)
at
SourceCode.EventBus.EventAdmin.Admin.UpdateCustomEventWithMappings(String
connection, CustomEvent customEvent, String user)
at
System.Runtime.Remoting.Messaging.Message.Dispatch(Object target)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
msg)
Exception rethrown
at p0]:
at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,
IMessage retMsg)
at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at
SourceCode.EventBus.EventAdmin.Admin.UpdateCustomEventWithMappings(String
connection, CustomEvent customEvent, String user)
at
SourceCode.EventBus.Server.ClientServerImplimentation.UpdateCustomEventForNotification(CustomEvent
customEvent, String userName)
at
SourceCode.EventBus.Server.ClientServerImplimentation.AddWorklistItemNotification(WorklistItemIdentifier
worklistItemIdentifier, String eventData, PolicyMapping policyMapping, Boolean
externalOwned)
at
SourceCode.EventBus.Server.ClientServerImplimentation.AddWorklistItemNotification(WorklistItemIdentifier
worklistItemIdentifier, String eventData, PolicyMapping policyMapping, Boolean
externalOwned)
at
SourceCode.EventBus.Server.ClientServerImplimentation.UpdateWorklistItemNotification(List`1
worklistItemIdentifiers)
The
"SourceCode.DeploymentTasks.NotificationService.NotificationTask"
task failed unexpectedly.
System.Exception:
System.Exception: System.Xml.XmlException: Root element is missing.
Server stack trace:
at
System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at
System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.Load(XmlDocument
doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader
reader)
at System.Xml.XmlDocument.LoadXml(String
xml)
at
SourceCode.Categories.Client.CategoryServer.RefreshCategoryManager(CategoryManager
categoryManager, Boolean getCategoryData)
at
SourceCode.EventBus.EventAdmin.Admin.addEventToCategory(String eventID, String
eventName, String categoryConnectionString, Int32
worklistNotificationCategoryID)
at
SourceCode.EventBus.EventAdmin.Admin.UpdateCustomEventWithMappings(String
connection, CustomEvent customEvent, String user)
at
System.Runtime.Remoting.Messaging.Message.Dispatch(Object target)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
msg)
Exception rethrown
at /0]:
at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,
IMessage retMsg)
at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at
SourceCode.EventBus.EventAdmin.Admin.UpdateCustomEventWithMappings(String
connection, CustomEvent customEvent, String user)
at
SourceCode.EventBus.Server.ClientServerImplimentation.UpdateCustomEventForNotification(CustomEvent
customEvent, String userName)
at
SourceCode.EventBus.Server.ClientServerImplimentation.AddWorklistItemNotification(WorklistItemIdentifier
worklistItemIdentifier, String eventData, PolicyMapping policyMapping, Boolean
externalOwned)
at
SourceCode.EventBus.Server.ClientServerImplimentation.AddWorklistItemNotification(WorklistItemIdentifier
worklistItemIdentifier, String eventData, PolicyMapping policyMapping, Boolean
externalOwned)
at
SourceCode.EventBus.Server.ClientServerImplimentation.UpdateWorklistItemNotification(List`1
worklistItemIdentifiers)
at
SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName,
String MethodName, Object.] Parameters, Booleano] NullList, MarshalMessageType
CallType)
at
SourceCode.Hosting.Client.BaseAPI.BaseAPI.RemoteCall(String TypeName, String
MethodName, Objecti] Parameters, Booleane] NullList, MarshalMessageType
CallType)
at
SourceCode.EventBus.ClientAPI.Notification.UpdateWorklistItemNotification(List`1
worklistItemIdentifiers)
at
SourceCode.DeploymentTasks.NotificationService.Common.Publish()
at
SourceCode.DeploymentTasks.NotificationService.NotificationTask.Execute()
at
Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at
Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
Any help will be greatly appreciated,
Philippe