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
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