<?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: That assembly does not allow partially trusted callers.</title><link>https://www.infopathdev.com:443/forums/thread/26478.aspx</link><pubDate>Thu, 14 Feb 2008 20:27:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26478</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26478.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26478</wfw:commentRss><description>&lt;p&gt;If the calls you are making requires your form to be full trust, then you need to either make your form full trust, or you need to find another way to do what you are trying to do. That&amp;#39;s really your only two choices. Well, there&amp;#39;s a third, which is to not do it at all, but I&amp;#39;m assuming that is not really a choice for you.&lt;/p&gt;</description></item><item><title>That assembly does not allow partially trusted callers.</title><link>https://www.infopathdev.com:443/forums/thread/26155.aspx</link><pubDate>Fri, 01 Feb 2008 08:08:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26155</guid><dc:creator>DragosPT</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26155.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26155</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I&amp;#39;m using &lt;b&gt;&lt;u&gt;Microsoft.Web.Services2&lt;/u&gt;&lt;/b&gt;; for a c# (2003) infopath (2003) project, and when i&amp;#39;m calling the methods from webservices2 i get the &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;u&gt;&lt;b&gt;

System.Security.SecurityException
That assembly does not allow partially trusted callers.&lt;/b&gt;&lt;/u&gt; &lt;/i&gt;exception&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I added [assembly: AllowPartiallyTrustedCallers] to AssemblyInfos.cs, also added&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; [PermissionSet(SecurityAction.Assert, Name=&amp;quot;FullTrust&amp;quot;)]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; [PermissionSet(SecurityAction.Demand, Name=&amp;quot;FullTrust&amp;quot;)]&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;before the method that uses the webservices methods, but still i got the exception.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Anyone knows the solution of this problem?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>