I am using infopath 2007, when I create a form template and try to preview it
by clicking on preview button in toolbars under InfoPath, it works fine. But
as soon as I generate its scripts using tools -> Programming -> Microsoft
VSTA.. and then try to preview either in info path or visual studio, I
receive a prompt showing information that "InfoPath cannot open the selected
form" and the preview window is closed without moving further.
I have seen this problem already posted by many users on web, but I have
tried everything to resole this issue. I have created many new forms and
eventualy I come up with the specified steps that cases the issue at my end.
I have worked already with security by setting up to "Full Trust" , automatic
etc. but I didnt work.
Please help in this regard.
Thanks in advance.
Majid
BobCh - 14 Jan 2008 14:32 GMT
So, you signed the form? If so, you should get a prompt to trust the
form. Does that occur?
> I am using infopath 2007, when I create a form template and try to preview it
> by clicking on preview button in toolbars under InfoPath, it works fine. But
[quoted text clipped - 12 lines]
>
> Majid
mAJID - 14 Jan 2008 20:14 GMT
Thanks BobCh for your response. I soughted out through creating its digital
certificate after long struggle. Now what happens, whenever I access form I
am receiving a security popup this time different says the InfoPath has
detected the security volunerability with different options on pop up, I am
always selecting "open" button to proceed further. I am wondering how my
certificate distribution will be carried out? Should I stick with default
certificate created under form options or what? How usually certificates are
created when the form has to deploy on live share point? How to prevent such
popups regarding security from being not shown up?
Waiting your response....
> So, you signed the form? If so, you should get a prompt to trust the
> form. Does that occur?
[quoted text clipped - 15 lines]
> >
> > Majid
Greg Collins - 03 Mar 2008 17:58 GMT
I recently discovered the solution to this problem and have written an
article on it. You can find it here:
Get InfoPath to Preview VSTO and VSTA Projects
http://www.braintrove.com/article/53

Signature
Greg Collins
Microsoft MVP
Visit Braintrove at http://www.braintrove.com
Visit InfoPathDev at http://www.infopathdev.com