Input string was not in a correct format.

  • 17 October 2008
  • 1 reply
  • 13 views

Badge

I'm getting an error on a SharePoint event wizard to get document metadata.


K2 Console Readout when event is called:
-------------------------------------------------------------
Debug 28066 Get Doc Properties.Status: Started
Debug 25020 Executing Server Event Get Doc Properties(48), Act:WORKFLOW PREP(4
3), Proc:ApprovalProcess(390)
Debug 15 ServerEvent: Input string was not in a correct format.
Debug 28068 Get Doc Properties.Status: Completed
-------------------------------------------------------------
 


I've outputted all the datafields and checked them before the the event call and everything looks good.

I need to figure out a way to debug this as this event is wizard driven.

The error is not very helpful and I don't know how to find out exactly where it's occuring.


Thanks in advance,


Randy





1 reply

Badge +6

Randy,


Difficult to say for sure without the code, but I usually see this error message if the input string for some methods (like a sharepoint web service) is blank, or contains stoopit characters. I would suggest you attach to the K2 server process and try to step through the code if you can.


Cheers,


 

Reply