Hi AndersR,
Thank you very much for your reply.
Yes,I gave my forms full trust while I am developing, the way..
1. Remove the publish URL from the Manifest file and using js script to register form.
So I can deploy in the remote machine(client's server). Its really helpful to me.
I am also did something thats,
1. Take the copy of XSN file.. put in the same machine(development machine) in different folder.
2. Open it in design mode and extract it in different folder.
3. Made some Changes in the manifest.xsf file.. thats
change urn: to urn:myforms:mycompany.
remove the href from the template.xml and add the urn on it.
4. Repacking it to cab file and change to xsn.
5. Using js to register the form.. but the form is not register properly... the message that I got is ,
---------------------------
Windows Script Host
---------------------------
Script: C:\InfoPath\Release\Register.js
Line: 3
Char: 1
Error: The following form template cannot be registered: C:\InfoPath\Release\myforms.xsn
The form template contains files that are not referenced in the form definition (.xsf) file or are referenced more than once.
Code: 8004309F
Source: InfoPath
Regards,
Vasanth.