Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / February 2007

Tip: Looking for answers? Try searching our database.

InfoPath 2007 on Vista - problem with security restriction

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ilske - 28 Jan 2007 17:41 GMT
I'm trying to create a form in InfoPath 2007 with some managed code (C#) in
the validation event. As soon as the managed code project is created, I get
the following message when trying to open an instance of the form :

"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."

When I try to preview the form from the design view, I just get the message
"InfoPath cannot open the selected form" without any additional information.

I already did/tried the following:
- Checked if the dll's (both debug and release) had unrestricted permissions
- Removed all restrictions for the different zones in the setting for the
.NET framework
- Elevated permissions in the IE settings as much as possible
- Disabled the form option for browser compatibility
- Publish the form to another location

I couldn't find any policy settings that gave me the impression that they
had anything to do with the managed code.

Version are Office 2007 Ultimate and Vista Business

Does anyone have any suggestions?
S.Y.M. Wong-A-Ton - 31 Jan 2007 06:32 GMT
Did you try giving your form full trust and signing it with a digital
certificate?

See
http://office.microsoft.com/en-au/infopath/HP101636661033.aspx?pid=CH10168614103
3http://office.microsoft.com/en-au/infopath/HP101534981033.aspx?pid=CH1005982310
33

---
S.Y.M. Wong-A-Ton

> I'm trying to create a form in InfoPath 2007 with some managed code (C#) in
> the validation event. As soon as the managed code project is created, I get
[quoted text clipped - 22 lines]
>
> Does anyone have any suggestions?
Ilske - 06 Feb 2007 17:20 GMT
Thanks, giving the form full trust and signing it solved the problem.

> Did you try giving your form full trust and signing it with a digital
> certificate?
[quoted text clipped - 30 lines]
> >
> > Does anyone have any suggestions?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.