<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Security settings</title><link>https://www.infopathdev.com:443/forums/thread/23465.aspx</link><pubDate>Fri, 05 Oct 2007 07:58:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23465</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23465.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23465</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am a little bit out of my depth here but I think I might be able to shed some light on some of the behaviours.&lt;/p&gt;
&lt;p&gt;the &amp;quot;&lt;strong&gt;Permission Denied&lt;/strong&gt;&amp;quot; on the &lt;strong&gt;XDocument.UI.ShowModalDialogue&lt;/strong&gt; happens when the form is not in full trust, could this be down to Internet Explorer blocking the opening of a new page, full trust solves this.&amp;nbsp; I&amp;nbsp;think it is&amp;nbsp;just a security setting.&lt;/p&gt;
&lt;p&gt;Your second problem revolves around the &lt;strong&gt;XmlHTTP &lt;/strong&gt;working out of full trust but failing under full-trust.&amp;nbsp; I can only presume here but by making the form full-trust the web service denies permission because the form is making the request rather than the user?&lt;/p&gt;
&lt;p&gt;Sorry I can&amp;#39;t be clearer but I hope it helps.&lt;/p&gt;
&lt;p&gt;Adam&lt;/p&gt;</description></item><item><title>Security settings</title><link>https://www.infopathdev.com:443/forums/thread/23388.aspx</link><pubDate>Tue, 02 Oct 2007 15:21:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23388</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23388.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23388</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m currently trying to create a &amp;#39;Lookup Control&amp;#39; to be used in Infopath. That control will validate employee id or employee name through a web services with &lt;strong&gt;XmlHttp&lt;/strong&gt;. If there is only one employee match with entry given by user web services will return xml in format &amp;lt;root&amp;gt;&amp;lt;row employee_id=&amp;quot;0001&amp;quot; employee_name=&amp;quot;Test01&amp;quot;/&amp;gt;&amp;lt;/root&amp;gt;. Otherwise web service will return the following xml format: &amp;lt;root&amp;gt;&amp;lt;row employee_id=&amp;quot;0002&amp;quot; employee_name=&amp;quot;Test02&amp;quot;/&amp;gt;&amp;lt;row employee_id=&amp;quot;0003&amp;quot; employee_name=&amp;quot;Test03&amp;quot;/&amp;gt;&amp;lt;/root&amp;gt;. &lt;/p&gt;
&lt;p&gt;I use &lt;strong&gt;XDocument.UI.ShowModalDialog&lt;/strong&gt; to open a page to display list of employee returned by web service. But I got a message &amp;quot;&lt;strong&gt;Permission Denied&lt;/strong&gt;&amp;quot;. I have read that the infopath form should be a &lt;strong&gt;&amp;#39;Full trust&amp;#39;&lt;/strong&gt; form. I modify the configuration and the problem solved. But it raises another problem. When I &lt;u&gt;didn&amp;#39;t give full trust&lt;/u&gt; setting to the infopath form, &lt;strong&gt;Xmlhttp&lt;/strong&gt; can be done through scripting. But when I set the form to be &lt;strong&gt;Full Trust&lt;/strong&gt; form, I can display the modal dialog, but I got message &amp;quot;&lt;strong&gt;Permission denied&lt;/strong&gt;&amp;quot; when perform &lt;strong&gt;xmlhttp&lt;/strong&gt; request to web service.&lt;/p&gt;
&lt;p&gt;Can anyone explain me how I have to set the security settings that I can have the form to be &lt;strong&gt;&amp;#39;Full trust&amp;#39;&lt;/strong&gt; and &lt;strong&gt;&amp;#39;xmlhttp&amp;#39;&lt;/strong&gt; is working through scripting?&lt;/p&gt;
&lt;p&gt;Thank you very much.&lt;/p&gt;
&lt;p&gt;Karsten&lt;/p&gt;</description></item></channel></rss>