<?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: Form jamming and not responding... HELP!!!!</title><link>https://www.infopathdev.com:443/forums/thread/21777.aspx</link><pubDate>Wed, 18 Jul 2007 16:24:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21777</guid><dc:creator>erinselena</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21777.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21777</wfw:commentRss><description>I should also note that we have added the following line many times in our code to keep the messages pumping. &lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span&gt;&lt;p&gt;&lt;font size="2"&gt;System.Windows.Forms.&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Application&lt;/font&gt;&lt;font size="2"&gt;.DoEvents(); to help keep the messages pumping.&lt;/font&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;</description></item><item><title>Form jamming and not responding... HELP!!!!</title><link>https://www.infopathdev.com:443/forums/thread/21776.aspx</link><pubDate>Wed, 18 Jul 2007 16:14:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21776</guid><dc:creator>erinselena</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21776.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21776</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;We have an infopath 2007 form that is being hosted in&amp;nbsp;a windows c# application.&amp;nbsp;I have a lot of custom code that works with the formcontrol mostly switching views and inserting nodes into the xml. Once in a while&amp;nbsp;the form actually stops responding&amp;nbsp;and you can&amp;#39;t use the form at all. I can however continue to add nodes to the form&amp;nbsp;xml through my windows functionality&amp;nbsp;and i can see that the nodes are actually being added by becuase the form&amp;nbsp;has stopped responding the new nodes do not appear. Has anyone encountered this, does anyone know what&amp;#39;s&amp;nbsp;happening?? I have been able to find a&amp;nbsp;COM exception that i think is related to the form not responding, here is the message:&lt;/p&gt;&lt;p&gt;&amp;nbsp;ContextSwitchDeadlock was detected&lt;/p&gt;&lt;p class="MsoNormal"&gt;Message: The CLR has been unable to transition from COM context 0x196df8 to COM context 0x196c88 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;&lt;p&gt;Erin&lt;/p&gt;</description></item></channel></rss>