Status = Error always after clicking submit

Last post 03-12-2008, 8:24 AM by Eduardo. 5 replies.
Sort Posts: Previous Next
  •  03-11-2008, 2:09 PM 22454

    Status = Error always after clicking submit

    Hi,

    I'm trying to make work the first example provided in the tutorial.It´s apparently working in the case that nobody submit the survey (the manager recive notification of "no responses" and the process finishes successfully.

    The problem comes when anyone of the destinataries submit a filled survey. The process generates correctly the xml with the data and the user state apears as Completed=True but the process status becomes "Error" and stops (I can see all this feedback in the workspace.

    Any idea?

    Thanx in advance.

     

    Eduardo

  •  03-11-2008, 2:24 PM 22455 in reply to 22454

    Re: Status = Error always after clicking submit

    First, what version of K2 are you using?

    There is an errors section in the K2 Management console which will show why it errored. There is also possibly an error in your windows event log which may be meaningful.


    Colin
    K2 Insider
    K2 Blog: K2 Thought
  •  03-11-2008, 3:02 PM 22457 in reply to 22454

    Re: Status = Error always after clicking submit

    To get more details on the error, go to the management console on your K2 workspace.  From there, expand Workflow Server, then expand Error Profiles and click All.  From the list you should be able to find your process along with a more detailed error description.
    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
  •  03-12-2008, 6:41 AM 22477 in reply to 22457

    Re: Status = Error always after clicking submit

    The version that I'm using is K2 2003 with SPS2003. I cant see any error explanation on the workspace neither in event log. May be this is for Blackpearl version?

    The only info I have is that the error occurs in the same moment I push the submit button and the data get "succesfully" stored.After this The status changes to "Error" and the process stops...

  •  03-12-2008, 8:24 AM 22481 in reply to 22455

    Re: Status = Error always after clicking submit

    You need to look in the K2 Management console (not your workspace). This is a separate program that is going to be in Start | Programs | K2.NET 2003 on your server (and possibly your desktop if you chose to install it).
    Colin
    K2 Insider
    K2 Blog: K2 Thought
  •  03-12-2008, 8:24 AM 22482 in reply to 22477

    Re: Status = Error always after clicking submit

    Well, I've found that error report. Apparently what is causing the issue is a label that counts how many responses have been "yes" on a K2checkbox. the obtained error is the following:

    "System.Exception: XPath : "/Root/ClientExpectations/Helpful/YesCount" could not be resolved on this document.
       at SourceCode.K2Utilities.XmlFieldHelper.XMLValueInternal(XmlDocument poXMLDoc, String psXPath, Object pValue, String psMethod)
       at SourceCode.K2Utilities.XMLFieldMod.GetXMLValue(String xml, String XPath)
       at K2Code809.getExpectations(String strQuestion, String strSummary, String strField, ServerEventContext K2)
       at K2Code809.Main(ServerEventContext K2)"

     The fact is that the control binding is apparently correct...

View as RSS news feed in XML