Search
Web Braintrove
Site Navigation
Home
Products
Tags
Levels
Dates
Authors
5 MOST RECENT
Locate the Design Checker Task Pane in InfoPath 2010
Locate Conditional Formatting and Custom Validation in InfoPath 2010
Conditionally Display Different Values In a Single Expression Box
Create a Button With a Blank Label
Create Shared Rules
5 MOST POPULAR
Access a Method in a Master Page with Code-Behind
Pass Query String Parameters to an ASP.NET Xml Control
Prevent Namespace Prefixes from Being Copied to the Output
Create Groups in a Drop-Down List Box
Configure IIS 7 for Custom Error Pages
5 MOST FORGOTTEN
Install Windows 7 Beta onto a Virtual Machine
Group Dates by Year, Month and Day
Configure Lab Color Mode Defaults for Braintrove Articles
Create a Monochromatic Dream Text Effect Using Styles
Combine Multiple Sums Into a Single Function
Microsoft MVP
Popular
This article has been viewed 1115 times.

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

  1. Launch Internet Explorer.
  2. Click the Tools button, and then click Internet Options.
  3. On the Security tab of the Internet Options dialog box, select the Local Intranet zone, click Sites, and then click Advanced.
  4. 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.
  5. Click Close, and then click OK twice.

Specify the preview domain in your InfoPath project form options

  1. Open your InfoPath VSTO or VSTA project.
  2. Choose Form Options from the Tools menu.
  3. Select the Preview category.
  4. In the Domain text box, type the website that you added to the Internet Explorer Local Intranet Websites (as shown in Screenshot 4).
  5. Click OK.
  6. 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.
Bookmark this Article
StumbleUpon  Stumble It!
Digg  Digg It!
del.icio.us  del.icio.us
List of Figures
Screenshot 1 - An error dialog while trying to preview a VSTO or VSTA InfoPath project.
Screenshot 2 - Disabling automatic intranet detection in Internet Explorer.
Screenshot 3 - A site that has been manually added to the Local Intranet zone.
Screenshot 4 - Establishing a domain impersonation for previewing a form template.
Listing 1 - The zone attribute flag enumeration.
Article Tags
Great Deals
TigerDirect Exclusive Deals, Limited Time Offers, Act Now And Save!
Find all current special offers on Adobe products.
Try SugarSync Free!
Join WebHost4Life.com
TigerDirect
Computers4SURE (4SURE.com - An Office Depot Co.)
Copyright © 2006-2010 Braintrove. All rights reserved. Braintrove, braintrove.com, and the Braintrove logo are trademarks of Gregory Scot Collins in the United States and/or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners. Any rights not expressly granted herein are reserved.