"The given key was not present in the dictionary"

Last post 03-11-2008, 9:49 PM by barry. 9 replies.
Sort Posts: Previous Next
  •  08-24-2007, 5:03 PM 18083

    "The given key was not present in the dictionary"

    I'm getting this error in the "Error Profiles" in Workspace with an InfoPath form integrated process. 

    Basically, the process is 5 approvals in series - the initial submission and the first review work correctly.

    As reported in the Error Profiles section, "Second Review Activity" errors out with "The given key was not present in the dictionary"

    Console Mode shows the following (among other uninteresting messages) when attempting to retry:

    Outcome Evaluation: Started
    Outcome Evaluation Result: Approve
    Outcome Evaluation: Completed


    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.
  •  08-28-2007, 11:10 PM 18196 in reply to 18083

    • robj is not online. Last active: 11-13-2008, 2:00 PM robj
    • Top 150 Contributor
    • Joined on 06-06-2007
    • Cincinnati, Oh
    • Posts 22
    • Points 58

    Re: "The given key was not present in the dictionary"

    I am also getting this error.  I created a simple approval process for an infopath form.  I deployed and ran.  The first form submitted fine.  When I submitted the form to launch the workflow, the workflow starts and the item goes directly into the default error profile with the subject as the reason.
    Rob Joy | Technical Specialist | Heartland
    robj@k2.net www.k2.net
  •  08-29-2007, 12:58 PM 18230 in reply to 18196

    Re: "The given key was not present in the dictionary"

    I also came across this error today using a different form that Jason's and a different process.  This occurred on a process that was previously working before, I made changes only to the way the InfoPath form was uploaded to the document library at the end of the process and redeployed the workflow.  I was able to submit the process fine but on the first step, it errors out with the same error that Jason and Rob has been getting, "The given key was not present in the dictionary".  I am pretty sure the change to the upload event did not cause this issue since it is failing 3 steps/activity before the upload event.

    Any thoughts?

  •  09-01-2007, 1:42 AM 18332 in reply to 18230

    Re: "The given key was not present in the dictionary"

    Hi Kong, I hit the same error as well. I did not make any significant changes to the process only changing the Infopath base form.
  •  09-01-2007, 7:18 PM 18351 in reply to 18332

    Re: "The given key was not present in the dictionary"

    I just got this error too and I am stuck now on a little demo I am trying to pull together.  Anyone get a resolution???

    Thanks - Jason

  •  09-01-2007, 7:35 PM 18352 in reply to 18351

    Re: "The given key was not present in the dictionary"

    I found this - http://k2underground.com/forums/thread/17972.aspx

    The only way for me to get rid of the error was to delete the activity itself.  If I try to delete that event, the error would still come back.  Plus the error still seems to just resurface again and again.  Anyone know what is up?

    Jason

  •  09-03-2007, 4:20 AM 18365 in reply to 18083

    Re: "The given key was not present in the dictionary"

    Hi,

    From your description this seems to relate to a known issue that can be fixed by installing a post-SP4 patch available from the portal.

    Try it on your testing envirioment.

    Regards,
    Gabriel

  •  09-12-2007, 2:02 PM 18575 in reply to 18365

    Re: "The given key was not present in the dictionary"

    Hi Gabriel,

    This thread is referring to BlackPearl projects, not K2 2003 project.  (SP4 is only for K2 2003).

    But thanks for the suggestion anyway.

    Cheers,

    Jason


    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.
  •  11-03-2007, 10:04 PM 19588 in reply to 18575

    Re: "The given key was not present in the dictionary"

    Gah - this came back and got me again.  This time I got the error in a SmartObject when I was hooking a method up to multiple services.  I ended up blowing away all the methods and thier relationships, rebuilt it the again (trust me I did not do anything different the second time through) and it worked...

    J

  •  03-11-2008, 9:49 PM 22470 in reply to 19588

    Re: "The given key was not present in the dictionary"

    I’m faced with the same issue. Mine occur when associating more than two smartobjects (Smartbox objects) to a Salesforce smartobject. If i then run the get list method, it boms out, but if i only associate the methods of two or less SOs all works well.


    Barry

    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.
View as RSS news feed in XML