<?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: 	C# code-behind file doesn't work with Infopath</title><link>https://www.infopathdev.com:443/forums/thread/9039.aspx</link><pubDate>Fri, 10 Feb 2006 14:39:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9039</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9039.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9039</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Welcome!&lt;br /&gt;&lt;br /&gt;Is your form in full trust?&lt;br /&gt;&lt;br /&gt;If not, you need to publish him in full trust! &lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry</description></item><item><title>C# code-behind file doesn't work with Infopath</title><link>https://www.infopathdev.com:443/forums/thread/5346.aspx</link><pubDate>Fri, 10 Feb 2006 12:51:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5346</guid><dc:creator>Alex Getman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5346.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5346</wfw:commentRss><description>&lt;br /&gt;Hi, I found a problem during Infpath Project development in VS 2005.&lt;br /&gt;&lt;br /&gt;I've created a new project in VS 2005 (Office -&amp;gt; Infopath form), this project is a simple Infopath Form wich will recieve and submit some data to my web-service.&lt;br /&gt;&lt;br /&gt;First of all I should notice that I didn't created any DataSource in design-time from Infopath Forms Designer, instead I am making all calls to web-service methods and filling Infopath forms controls from C# code-behind file.&lt;br /&gt;&lt;br /&gt;Then I wrote some C# code in generated Form's code-behind file, also I've added a WebReference to my web-service and wrote code for web service methods calls and Infopath controls filling.&lt;br /&gt;&lt;br /&gt;When I starting my project from VS (F5 or Ctrl + F5) everything works fine and I see the controls on my Infopath form are filled with data from web service.&lt;br /&gt;&lt;br /&gt;The problem occurs when I am making Project - Publish Form, the published form (xsn file) contains all dll and other necessary files, but when I runnig published form all controls are empty! It seems like my C# code doesn't executed and no exception or error messages does not appear.&lt;br /&gt;&lt;br /&gt;Does enybody knows what happens? I suppose that I should change my security configuration setting in .NET Framework configuration, is that correct?&lt;br /&gt;&lt;br /&gt;Thank you for your help or any ideas.&lt;br /&gt;</description></item></channel></rss>