<?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>Form not working on infopath 2003 - ERROR:Exception has been thrown by the target of an invocation</title><link>https://www.infopathdev.com:443/forums/thread/38684.aspx</link><pubDate>Fri, 20 Feb 2009 13:23:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38684</guid><dc:creator>utkarsh2012</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38684.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=38684</wfw:commentRss><description>&lt;p&gt;I have an infopath form (infopath 2003 compatible)&amp;nbsp;with around 2000+ lines of&amp;nbsp;managed code. &lt;strong&gt;The form was working fine on both Infopath 2003 and Infopath 2007&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;When I opened a form today,&amp;nbsp;I got this error:&lt;/p&gt;
&lt;p&gt;
&lt;table class=""&gt;
&lt;p&gt;&lt;a href="http://mywebsitename/Forms/template.xsn"&gt;&lt;strong&gt;http://mywebsitename/Forms/template.xsn&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;InfoPath cannot open the selected form because of an error in the form&amp;#39;s code.&lt;br /&gt;Exception has been thrown by the target of an invocation.&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;(NOTE: The code was untocuhed)&lt;/p&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;And now I am not able to open the form in 2003 and its working&amp;nbsp; perfectly fine in 2007.&lt;/p&gt;
&lt;p&gt;Any suggestions why?&lt;/p&gt;</description></item></channel></rss>