Extract from file cannot be sign - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Extract from file cannot be sign

Last post 10-24-2005 09:07 PM by franck. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 10-24-2005 03:11 AM

    Extract from file cannot be sign

    Hi,
    I have create a form using infopath toolkit for visual studio .net to get the current user's username.

    But this form cannot be signed. When i sign this form and save, it will pop up a message " extract form file cannot be signed, to sign this form, select a certificate and publish the form"!

    The problem is, when I publish the form into sharepoint portal, other user computer can't fill out the form! The error is " This form already install in another location...if want to open this form, please install... in ur computer!"

    How can I do to fill out this form?

    I need to deploy this form to use by other staff with SharePoint portal!

    Hope anyone can help me... Thanks!

    Form: Connie
  • 10-24-2005 06:18 AM In reply to

    Re: Extract from file cannot be sign

    Hi Connie,

    Are you working from a form with the xsn extension or from a manifest.xsf file?

    Regards,

    Franck Dauché
  • 10-24-2005 06:03 PM In reply to

    Re: Extract from file cannot be sign

    Hi,
    Thanks to reply me!
    Yes, i am working from a form with a manifest.xsf file.

    In the manifest.xsf file root node, I have been remove publishUrl attribute with its value. And I create a JavaScript file that grants FullTrust permissions to form template.

    I also found a strange problem that I can't open the .xsn file in the bin folder where I stored the whole project.

    The error is "The form template for "urn:schemas-microsoft-com:office:infopath:TimeSheet:-myXSD-2005-10-19T06-37-34" is already registered at different location...If you want to use the form template from this location, you will need to register it by running the setup program for it.
    Is it I have miss something that I didn't do?
  • 10-24-2005 06:14 PM In reply to

    Re: Extract from file cannot be sign

    Hi Connie,

    You are not supposed to work with the xsn from the bin folder. The urn of your fully trusted is pointing to the manifest.xsf, it can't point to the xsn at a different location with the same urn (urn and location are saved in the registry).
    It will work OK when you deploy the form on a client computer. Just generate an msi for it and deploy on a test machine to check that it is working fine...

    Regards,

    Franck Dauché
  • 10-24-2005 07:12 PM In reply to

    Re: Extract from file cannot be sign

    Hi,
    May I know how to generate msi? Can you give me some clue?

    Actually what is this mean :"If you want to use the form template from this location, you will need to register it by running the setup program for it." The setup program is the msi file?

    Is there any tutorial I can refer to? I am new to
    Infopath, so I hope you can help me to solve this problem.
    Thanks a lot!
  • 10-24-2005 07:42 PM In reply to

    Re: Extract from file cannot be sign

    Hi,

    You need to copy RegForm.exe (found in the InfoPath SDK) in your bin\Debug folder.
    Then, you create a batch file in the same folder with the following:
    copy C:\MyFolder1\......\MyForm.xsn
    regform /U urn:MyForm:MyCompany /T Yes /MSI MyForm.xsn

    It will generate the msi that you are looking for.

    Regards,

    Franck Dauché
  • 10-24-2005 08:42 PM In reply to

    Re: Extract from file cannot be sign

    Hi,
    Thank you very much.

    I have done what you have teach me. But the windows installer cannot continue.

    The error is "error 1706. no valid source could be found for product visual studio.net enterprise architect 2003. The windows installer cannot continue."

    Hope you can tell me what have happen..
  • 10-24-2005 09:07 PM In reply to

    Re: Extract from file cannot be sign

    If your xsn is directly in your folder with regform, you can skip the copy command in the batch file, right?

    Regards,

    Franck Dauché
Page 1 of 1 (8 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.