Microsoft KB Archive/925197

= Error message when you click the signature on an InfoPath 2007 form that is opened in a browser: &quot;The given key was not present in the dictionary&quot; =

Article ID: 925197

Article Last Modified on 11/3/2006

-

APPLIES TO


 * Microsoft Office Forms Server 2007
 * Microsoft Office InfoPath 2007

-



SYMPTOMS
You click the signature on a Microsoft Office InfoPath 2007 form that is opened in a browser. After you do this, you receive the following error message:

The given key was not present in the dictionary.



WORKAROUND
To work around this issue, follow these steps:
 * 1) Open Microsoft Windows SharePoint Services 3.0 Central Administration.
 * 2) Click Application Management, and then click Configure InfoPath Forms Services in the InfoPath Forms Services section.
 * 3) In the Form Session State section, click Session State Service (best for low-bandwidth users).
 * 4) Click OK.



Steps to reproduce this problem
 Open Windows SharePoint Services 3.0 Central Administration. Click Application Management, and then click Configure InfoPath Forms Services in the InfoPath Forms Services section. In the Form Session State section, click Form view (reduces database load on server), and then type a very large value in the kilobytes box. For example, type 400000 . Click OK to save the changes. Design a browser-compatible InfoPath 2007 form template where data can be signed. To do this, follow these steps:  Create a new browser-compatible form template. Add a section control to the form template, and then add a text box in the section control.</li> Right-click the section control, and then click Section Properties.</li> Click the Digital Signatures tab, and then click to select the Allow users to digitally sign this section check box.</li> In the Sign the following data in the form when this section is signed list, click Add data that can be signed.</li> Click OK two times, and then save the form template.</li></ol> </li> Publish the form template to a server that is running InfoPath Forms Services.</li> Open the form in the browser, and then type Test in the text box.</li> Click Click here to sign this section.

Note If you have not used digital signatures on the computer, you have to first accept the Microsoft Software License Terms, and then install the ActiveX control for digital signatures.</li> Click OK when you receive the following message:

The form contains changes that must be processed before it can be signed. Click OK to update the form, and then try signing again.

</li> Click Click here to sign this section again, and then complete the Signing dialog box to add the signature to the form.</li> To open the Signature Details dialog box, click Show Details in the form.</li></ol>

Additional query words: IP2007 InfoPath2007 IFS2007

Keywords: kberrmsg kbexpertiseinter kbtshoot kbprb KB925197

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.