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 (888704)



The information in this article applies to:

  • Microsoft Office InfoPath 2003, Service Pack 1 (SP1)

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.
This problem occurs in Microsoft Office InfoPath 2003 Service Pack 1.

WORKAROUND

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

STATUS

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

MORE INFORMATION

Steps to reproduce the problem

  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.

REFERENCES

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

Modification Type:MajorLast Reviewed:2/23/2005
Keywords:kbtshoot kbbug KB888704 kbAudDeveloper kbAudITPRO