hi guys
i need help with this error in the subject line.
i get it whenever i try to update a worklist item from my web application.
here is the code im using, and has been working along. what could be the problem?
the exception is thrown by the line 'worklistItem.Update()"
Try
Dim
K2Server As String = System.Configuration.ConfigurationManager.AppSettings("K2Server")Dim conn As New SourceCode.K2ROM.Connection
conn.Open(K2Server,
"[;];Authentication=Windows;Domain=DCS;User=xxx;Password=xxxx;")Dim worklistItem As SourceCode.K2ROM.WorklistItem
worklistItem = conn.OpenWorklistItem(
Me.getSessionVariable("sn"), "ASP")Dim procInst As SourceCode.K2ROM.ProcessInstance
procInst = worklistItem.ProcessInstance
procInst.DataFields.Item(
"FirstDestination").Value = procStatusworklistItem.Update()
worklistItem.Finish()
conn.Close()
catch ex as exception
End try