Microsoft Knowledge Base Email Alertz

(867441) - Explains why you can open signed solutions from the UI, but you cannot open signed solutions by using the Open method of the object model. The article provides a workaround that you can use in Microsoft Office InfoPath 2003 Service Pack 1.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 867441 - Last Review: September 22, 2011 - Revision: 4.0

An error may occur when you try to open signed solutions by using the Open method in InfoPath 2007 or in InfoPath 2003 Service Pack 1

SYMPTOMS

You can open signed solutions from the user interface (UI) in Microsoft Office InfoPath 2007 or in Microsoft Office InfoPath 2003 Service Pack 1. However, if you try to open signed solutions by using the Open method of the object model (OM), you may receive the following error message:
InfoPath cannot load this form.
The signature on this form is not from a trusted publisher.

CAUSE

This problem occurs if all the following conditions are true:
  • The signed certificate comes from an un-trusted root.
  • The signed certificate is in your Trusted Publishers list.
  • You have a private key for the signed certificate.
This problem may occur when you create a test certificate for development purposes.

WORKAROUND

To work around this problem, follow these steps:
  1. Click Start, click Run, and then type mmc in the Run dialog box.
  2. On the File menu, click Add/Remove Snap-In.
  3. Click Add.
  4. Click Certificates, and then click Add.
  5. Click My user account, and then click Finish.
  6. Click Close, and then click OK.
  7. Expand the Certificates - Current User node in Microsoft Management Console.
  8. Right-click the Trusted Root Certification Authorities folder.
  9. On the All Tasks menu, click Import.
  10. Follow the steps in the Certificate Import Wizard to import the test certificate to the Trusted Root Certification Authorities group.

    Warning Be careful when you add certificates to this group. You do not want to accidentally trust a third-party certificate.

STATUS

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

REFERENCES

For additional information, visit the following Microsoft Developer Network (MSDN) Web sites:

Authenticode
http://msdn2.microsoft.com/en-us/library/ms537359.aspx (http://msdn2.microsoft.com/en-us/library/ms537359.aspx)
Understanding fully trusted forms
http://msdn2.microsoft.com/en-us/library/aa662309(office.11).aspx (http://msdn2.microsoft.com/en-us/library/aa662309(office.11).aspx)

APPLIES TO
  • Microsoft Office InfoPath 2007
Keywords: 
kbtshoot KB867441
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate