Problem while Deploying Infopath form in Fully trusted manner

R

rupali kothawade

Hi All,

While deploying fully trusted infopath form, i m going through the
following method.

1. I have taken the copy of XSN file.. put in the same
machine(development machine) in different folder.
2. Opened it in design mode and extracted it in different folder.
3. Made some Changes in the manifest.xsf file.. thats
change urn: to urn:myforms:mycompany and removed publishURL attribute
and .
removed the href attribute from the template.xml and added the same urn
instead of it.
4. Repacked it using VS.net to cab file and changed to xsn.
5. I m Using js script to register the form..

objIPExtApp = new ActiveXObject("InfoPath.ExternalApplication");
objIPExtApp.RegisterSolution("C:\\MyForms\\MyTrustedForm.xsn");
objIPExtApp.Quit();
objIPExtApp = null;

But it gives error like "The form template contains files that are not
referenced in the form definition (.xsf) file or are referenced more
than once."

Even i tried to register the form using RegForm tool, same error has
come up.


Can anybody help me to resolve the same.

Thanks in Advance,
Rupali
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top