G
Greg Collins [InfoPath MVP]
I've got a clean Vista Ultimate install with Office 2007 Ultimate and Visual Studio 2005 SP1.
If I create a new InfoPath C# project from Visual Studio, and then try to preview it, I get the following dialog:
InfoPath cannot open the selected form.
If I attempt to launch the form template by right-clicking the manifest.xsf file and choosing Open, I get the following error message:
InfoPath cannot create a new, blank form.
InfoPath cannot open the form. To fix this problem, contact your system administrator.
DETAILS>>
Form template: {path}\manifest.xsf
InfoPath cannot open the selected form because of an error in the form's code.
Policy settings prevent opening Internet forms with managed code. To fix this problem, contact your system administrator.
As it is a new blank form, there is no code to cause an error yet.
And I am the system administrator...
This is true using VSTA or VSTO.
I found that if I set the form to Full-Trust, that I can preview the form from Visual Studio.
What's going on here? What are these policy settings (I assume they are Vista related), and how do I fix them?
If I create a new InfoPath C# project from Visual Studio, and then try to preview it, I get the following dialog:
InfoPath cannot open the selected form.
If I attempt to launch the form template by right-clicking the manifest.xsf file and choosing Open, I get the following error message:
InfoPath cannot create a new, blank form.
InfoPath cannot open the form. To fix this problem, contact your system administrator.
DETAILS>>
Form template: {path}\manifest.xsf
InfoPath cannot open the selected form because of an error in the form's code.
Policy settings prevent opening Internet forms with managed code. To fix this problem, contact your system administrator.
As it is a new blank form, there is no code to cause an error yet.
And I am the system administrator...
This is true using VSTA or VSTO.
I found that if I set the form to Full-Trust, that I can preview the form from Visual Studio.
What's going on here? What are these policy settings (I assume they are Vista related), and how do I fix them?