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 / May 2007

Tip: Looking for answers? Try searching our database.

Custom Task Pane HTML displays as text when form is full trust??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve B - 10 May 2007 10:41 GMT
Hi,

I'm developing an InfoPath 2007 form with VSTO. The form security setting is
set to 'Full Trust'. An HTML file has been created to display in the Custom
Task Pane. However, when the form starts up, the HTML is displayed as text in
the pane (i.e. you can see the raw HTML content). On setting the form
security to 'Domain', the HTML renders correctly. Why is this? Any ideas
gratefully received!

Steve.
Steve B - 10 May 2007 10:50 GMT
I should have mentioned the HTML file is set up as a resource for the form.

Further investigation reveals that entering the full path to the HTML file
in Tools...Form Options...Programming...Task Pane Location, rather than just
the resource filename, makes the HTML render correctly. This isn't an option
since the form will be installed by users via an MSI.

What am I missing about trust/permissions here? I would have thought 'Full
Trust' security wouldn't have a problem with a file packaged as a resource in
the distributed .xsn?

> Hi,
>
[quoted text clipped - 6 lines]
>
> Steve.
 
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.