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.

BUG: You may receive "The signature is corrupt or the certificate used to sign this form is expired" error message in InfoPath 2003 Service Pack 1


View products that this article applies to.

Symptoms

When you open a solution with a signature , you may receive the following error message:
InfoPath cannot load this form. The signature is corrupt or the certificate used to sign this form is expired or has been revoked. Contact the author of the form.
To determine the unique number that is associated with the message that you receive, press CTRL+SHIFT+I. The following number appears in the lower-right corner of this message:
1202431
This problem occurs in Microsoft Office InfoPath 2007 or in Microsoft Office InfoPath 2003 Service Pack 1.

↑ Back to the top


Workaround

To work around this problem, you have to re-sign and to re-deploy the templates.

↑ Back to the top


Status

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More Information

Steps to reproduce the problem

InfoPath 2007

  1. Start InfoPath 2007. Design a form.
  2. On the Tools menu, click Form Options.
  3. In the Form Options dialog box, click Security and Trust in the Category list.
  4. Click Full Trust (the form has access to files and settings on the computer), and then click OK.

    Note You may have to click to clear the Automatically determine security level based on form's design (recommended) check box first. After you do this, the Full Trust (the form has access to files and settings on the computer) option is available.
  5. On the File menu, click Save As.
  6. In the File name box, type Sign.xsn, and then click Save.
  7. Close the form.
  8. Run Signcode.exe. To run Signcode.exe, follow these steps:

    1. Click Start, click Run, locate Signcode.exe, and then press ENTER.

      Typically, Signcode.exe is at the following location:
      C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin
      Note If you are using the Microsoft Visual Studio .NET 2005 SDK, you must use the command signtool signwizard from the following folder:
      C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin
    2. In the Digital Signature Wizard, click Next, click Browse, and then move to the folder in which you saved the form.
    3. In the Files of type list, click All files (*.*), click the Sign.xsn template file, click Open, and then click Next.
    4. Click Custom, click Next, and then click Select from File.
    5. Open the appropriate folder, click the signing certificate that you want to use, click Open, and then click Next.
    6. Click Private Key in a CSP, and then click Next four times.
    7. Click to select the Add a timestamp data check box, type http://timestamp.verisign.com/scripts/timstamp.dll in the Timestamp service URL box, and then click Next.
    8. Click Finish, and then click OK.
  9. Set the system clock beyond the certificate date of expiration.
  10. Start InfoPath 2007, and then open the solution.

    You may receive the error message that is mentioned in the "Symptoms" section. However, you expect the solution to open because the certificate was valid at the time that the solution was time stamped.

InfoPath 2003

  1. Start InfoPath 2003. Design a form.
  2. On the Tools menu, click Form Options.
  3. In the Form Options dialog box, click the Security tab.
  4. Click to select the Full Trust check box, and then click OK.

    Note You may first have to click to clear the Automatically determine security level based on form's design (recommended) check box. After you do this, you can click to select the Full Trust check box.
  5. On the File menu, click Save As. In the File name box, type Sign.xsn, and then click Save.
  6. Run Signcode.exe. To run Signcode.exe, follow these steps:

    1. Click Start, click Run, locate Signcode.exe, and then press ENTER.

      Typically, Signcode.exe is at the following location:

      C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin
    2. In the Digital Signature Wizard, click Next, click Browse, click the Sign.xsn template, and then click Next.
    3. Click to select the Custom check box, click Next, click Select from File, click the signing certificate that you want to use, and then click Next.
    4. Click Private Key, and then click Next four times.
    5. Click to select the Add a timestamp data check box, type http://timestamp.verisign.com/scripts/timstamp.dll in the Timestamp service URL box, and then click Next.
    6. Click Finish.
  7. Set the system clock beyond the certificate date of expiration.
  8. Start InfoPath 2003, and then open the solution.

    You may receive the error message that is mentioned in the "Symptoms" section. However, you expect the solution to open because the certificate was valid at the time that the solution was time stamped.

↑ Back to the top


References

For additional information about the File Signing tool that is named Signcode.exe, visit the following Microsoft Developer Network (MSDN) Web site:

↑ Back to the top


Keywords: kbcu, kbofficealertid, kboffice12yes, kbfreshness2006, kbtshoot, kbentirenet, kbbug, kb

↑ Back to the top

Article Info
Article ID : 888704
Revision : 1
Created on : 1/7/2017
Published on : 9/22/2011
Exists online : False
Views : 496