<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Security difference between InfoPath 2007 and 2003 with code behind</title><link>https://www.infopathdev.com:443/forums/thread/35181.aspx</link><pubDate>Wed, 03 Dec 2008 00:31:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35181</guid><dc:creator>Greg S</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35181.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=35181</wfw:commentRss><description>&lt;p&gt;OK, I&amp;#39;m going crazy. I went back to my app and the very code I posted above is now working.&amp;nbsp; No clue what&amp;#39;s different from last week.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for the response.&lt;/p&gt;</description></item><item><title>Re: Security difference between InfoPath 2007 and 2003 with code behind</title><link>https://www.infopathdev.com:443/forums/thread/34966.aspx</link><pubDate>Thu, 27 Nov 2008 07:40:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34966</guid><dc:creator>chandrakanth</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34966.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34966</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Hi,&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;InfoPath 2007 does not require full trust to pull the values from the form’s DOM. Can you give me message that you are getting when you are trying to pull the data from IP form without making the form full trust. So that I can help you.&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Security difference between InfoPath 2007 and 2003 with code behind</title><link>https://www.infopathdev.com:443/forums/thread/34945.aspx</link><pubDate>Wed, 26 Nov 2008 18:05:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34945</guid><dc:creator>Greg S</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34945.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34945</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m upgrading a form from InfoPath 2003 to 2007 and adding new functionality.&amp;nbsp; The form uses C# code behind, and I&amp;#39;m currently using VS 2008.&amp;nbsp; The form has to run with Domain security. It cannot run with Full Trust&lt;/p&gt;
&lt;p&gt;When pulling values from datasources in 2003, this worked code worked fine:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;thisXDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:message&amp;quot;).text&lt;/p&gt;&lt;/blockquote&gt;However when I try this in 2007:&amp;nbsp;&lt;font size="2"&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;blockquote&gt;
&lt;p&gt;MainDataSource.CreateNavigator().SelectSingleNode(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;/my:myFields/my:message&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager).Value&lt;/p&gt;&lt;/font&gt;&lt;/blockquote&gt;
&lt;p&gt;I&amp;#39;m getting a security error.&amp;nbsp; I can get it to work in preview mode only when setting the security to Full Trust, but this is not an option in production.&lt;/p&gt;
&lt;p&gt;Am I missing something?&amp;nbsp; I can&amp;#39;t imagine that InfoPath 2007 requires full trust just to pull values from the form&amp;#39;s DOM.&lt;/p&gt;</description></item></channel></rss>