Get InfoPath to Preview VSTO and VSTA Projects
Page 3 of 7
Written by
Gregory Scot Collins
Friday, 29 February 2008, 5:08 AM
Solution 3: The per-form solution
Finally, if corporate policy (or something else) prevents you from using the per-user solution, you can resolve the issue per-form by specifying a preview domain in the Form Options dialog box of your form template. This forces InfoPath to believe that the form is being opened in the specified domain. One caveat is that the form must be set to Domain Trust for this option to work. To use the per-form solution, complete the following set of steps:
Make sure the intended domain is listed in the Local Intranet Websites
- Launch Internet Explorer.
- Click the Tools button, and then click Internet Options.
- On the Security tab of the Internet Options dialog box, select the Local Intranet zone, click Sites, and then click Advanced.
- Add (or ensure that you've already added) the website to the domain you will use for previewing (as shown in Screenshot 3). Note that you might need to clear the Require Server Verification check box to add the website.
- Click Close, and then click OK twice.
Specify the preview domain in your InfoPath project form options
- Open your InfoPath VSTO or VSTA project.
- Choose Form Options from the Tools menu.
- Select the Preview category.
- In the Domain text box, type the website that you added to the Internet Explorer Local Intranet Websites (as shown in Screenshot 4).
- Click OK.
- Preview your form.
Any one of these three solutions should get you back up and running. Hopefully, if you were experiencing this issue, you found this article before you spent the countless hours I did trying to hunt down what went wrong.



Stumble It!
Digg It!
del.icio.us




