<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Upgrading browser form template with custom code to 2010, Missing assembly errors on upload to SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/62867.aspx</link><pubDate>Thu, 06 Jan 2011 20:38:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62867</guid><dc:creator>Ken Ordeneaux</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62867.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=62867</wfw:commentRss><description>&lt;p&gt;With help from Joel Alley with Microsoft support, we determined the cause and solution to this issue:&lt;/p&gt;
&lt;p&gt;Resolution:&amp;nbsp; Force Forms Services to recreate the entire feature with the following steps:&lt;/p&gt;
&lt;p&gt;1) Browse to SharePoint Central Administration and the “Manage Form Templates” page&lt;br /&gt;2) Select the form template that &amp;quot;failed to upload&amp;quot; and remove it.&lt;br /&gt;3) On each front-end server, navigate to the “c:\program files\common files\microsoft shared\web server extensions\14\template\features” folder.&lt;br /&gt;4) Make sure the “FT-[GUID]” folder corresponding to the form template is no longer present on any of the servers.&amp;nbsp; If it is, delete it.&lt;br /&gt;5) Try to upload the form template through the “Manage Form Templates” page again. &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Cause: In retrospect, I determined that this issue was probably caused because I copied several of my custom features over from my 2007 farm in the upgrade process.&amp;nbsp; I probably inadvertently copied those InfoPath features along with my custom features, because I sorted the feature folders by date modified to separate the custom from the OOB.&lt;/p&gt;
&lt;p&gt;There was no error logged or otherwise given to indicate that Central Admin did not sucessfully write the 2010 feature to the WFEs.&amp;nbsp;&amp;nbsp; The upload process simply continued and installed whatever feature was in the &amp;quot;FT-01-7fb663d3-b8a4-2ed5-7163-621e9f30d663&amp;quot; folder (in my case).&amp;nbsp; I suspect MS will fix this in a hotfix and have the upload form template process overwrite the feature directory if it already exists, or at least catch and log the error in ULS.&amp;nbsp; Considering that the feature folder has a GUID in the name, I can understand how the possibility of an IOException was overlooked.&lt;/p&gt;</description></item><item><title>Upgrading browser form template with custom code to 2010, Missing assembly errors on upload to SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/62557.aspx</link><pubDate>Thu, 23 Dec 2010 19:09:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62557</guid><dc:creator>Ken Ordeneaux</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62557.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=62557</wfw:commentRss><description>&lt;p&gt;I have a form template created in InfoPath 2007 with some custom code behind that I want to upgrade to 2010.&amp;nbsp; I opened the .xsn in design mode in 2010, went to code editor, told it where to find my .proj for the custom code, went to the Programming tab in Advanced Form Options and clicked &amp;quot;Upgrade OM&amp;quot; (it now reads C#), saved the form template as &amp;quot;InfoPath Web Browser Form Template&amp;quot; (2010), and then published as a Administrator-approved form template.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;When I try to upload the form template to my SharePoint 2010&amp;nbsp;farm through Central Admin, it tells &amp;quot;&lt;span id="ctl00_PlaceHolderMain_UploadDoneReportSection_ctl00_UploadStatusLabel"&gt;The form template has been successfully uploaded to the farm.&amp;quot;&amp;nbsp; I hit ok, I&amp;#39;m redirected to Manage Form Templates, the status is &amp;quot;Installing&amp;quot; momentarily, then it becomes &amp;quot;Failed to Upload.&amp;quot;&amp;nbsp; I view the properties of this form template, and click the &amp;quot;Failed to Upload&amp;quot; status link and get this error first:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Failed to load receiver assembly &amp;quot;Microsoft.Office.InfoPath.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&amp;quot; for feature &amp;quot;FT-01-9f26398f-468a-5114-c40a-d656226b4d28&amp;quot; (ID: 9f26398f-468a-5114-c40a-d656226b4d28).: System.IO.FileNotFoundException: Could not load file or assembly &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&amp;nbsp;I grabbed this&amp;nbsp;version 12 dll from my 2007 SP farm, and install it in the GAC.&amp;nbsp; I did an IISReset, recompiled my form template, republished and got the same results.&amp;nbsp; Finally I restarted my server, reuploaded and then I got this error:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&amp;nbsp;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#4c4c4c;FONT-SIZE:8pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-bidi-font-family:Calibri;"&gt;Could not load file or assembly &amp;#39;Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&amp;#39; or one of its dependencies. The system cannot find the file specified. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#4c4c4c;FONT-SIZE:8pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-bidi-font-family:Calibri;"&gt;&amp;nbsp;I installed that dll to my GAC, repeated all of the steps (even restarting), and then got this error:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#4c4c4c;FONT-SIZE:8pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-bidi-font-family:Calibri;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#4c4c4c;FONT-SIZE:8pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-bidi-font-family:Calibri;"&gt;Could not load file or assembly &amp;#39;Microsoft.Office.Server.Diagnostics, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&amp;#39; or one of its dependencies. The system cannot find the file specified. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#4c4c4c;FONT-SIZE:8pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-bidi-font-family:Calibri;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#4c4c4c;FONT-SIZE:8pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-bidi-font-family:Calibri;"&gt;I GAC&amp;#39;d that dll, repeated again and now I&amp;#39;m getting:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#4c4c4c;FONT-SIZE:8pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-bidi-font-family:Calibri;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#4c4c4c;FONT-SIZE:8pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-bidi-font-family:Calibri;"&gt;&lt;font color="#000000"&gt;Unable to cast object of type &amp;#39;Microsoft.Office.InfoPath.Server.Administration.FormsService&amp;#39; to type &amp;#39;Microsoft.Office.InfoPath.Server.Administration.FormsService&amp;#39;. &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#4c4c4c;FONT-SIZE:8pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-bidi-font-family:Calibri;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#4c4c4c;FONT-SIZE:8pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-bidi-font-family:Calibri;"&gt;I&amp;#39;m certain it is not my custom code referencing these 2007 assemblies.&amp;nbsp; I used .Net Reflector to verify.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#4c4c4c;FONT-SIZE:8pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-bidi-font-family:Calibri;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#4c4c4c;FONT-SIZE:8pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-bidi-font-family:Calibri;"&gt; 
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="COLOR:#1f497d;"&gt;This leads me to believe that something went wrong with my upgrade of the form template from InfoPath 2007 to 2010.&amp;nbsp; Somehow it is holding on to the older versions of InfoPath’s core assemblies.&amp;nbsp; Has anyone experienced this or know how to fix it?&amp;nbsp; I&amp;#39;m trying to avoid recreating this complex form template from scratch in 2010.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:#1f497d;"&gt;Thanks!&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#4c4c4c;FONT-SIZE:8pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-bidi-font-family:Calibri;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#4c4c4c;FONT-SIZE:8pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-bidi-font-family:Calibri;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>