Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


More information

Steps to reproduce this problem

1. Open 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 Form view (reduces database load on server), and then type a very large value in the kilobytes box. For example, type 400000.
4.Click OK to save the changes.
5.Design a browser-compatible InfoPath 2007 form template where data can be signed. To do this, follow these steps:
a. Create a new browser-compatible form template.
b. Add a section control to the form template, and then add a text box in the section control.
c. Right-click the section control, and then click Section Properties.
d. Click the Digital Signatures tab, and then click to select the Allow users to digitally sign this section check box.
e. In the Sign the following data in the form when this section is signed list, click Add data that can be signed.
f. Click OK two times, and then save the form template.
6. Publish the form template to a server that is running InfoPath Forms Services.
7.Open the form in the browser, and then type Test in the text box.
8. 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.
9.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.
10.Click Click here to sign this section again, and then complete the Signing dialog box to add the signature to the form.
11.To open the Signature Details dialog box, click Show Details in the form.

↑ Back to the top


Keywords: KB925197, kbprb, kbtshoot, kbexpertiseinter, kberrmsg

↑ Back to the top

Article Info
Article ID : 925197
Revision : 2
Created on : 11/3/2006
Published on : 11/3/2006
Exists online : False
Views : 335