We are in the process of migrating from SP 2007 to SP 2010 and one of my InfoPath forms has an issue. The form was developed in InfoPath 2007, is web enabled and has some C# code in it. I've updated several data connections and I can create a new form with a browser and successfully save it. However, if I try to reopen the form I get an error. When I turn diagnostic logging this is the error:
An unexpected FileNotFound failure occurred loading assembly: Could not load file or assembly 'file:///C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\Features\FT-01-c22f53f9-bf48-ce8b-8e2d-6d89d5d4fbd7\ReleaseReviewForm01.dll' or one of its dependencies.
If I look in the 14 hive, I can find the missing dll in every solution folder under the FT-01-c22... directory. The contents of my Feature.xml file are below.
Can anyone suggest a solution to this problem?
Thanks,
Dave
<?xml version="1.0" encoding="UTF-8" standalone="true"?>
-<Feature xmlns="http://schemas.microsoft.com/sharepoint/" ReceiverAssembly="Microsoft.Office.InfoPath.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" ReceiverClass="Microsoft.Office.InfoPath.Server.Administration.XsnFeatureReceiver" DefaultResourceFile="ipfscore" Scope="Site" Version="1.0.0.0" Description="$Resources:ipfscore,XsnFeatureDescription;" Title="Document Marking" Id="c22f53f9-bf48-ce8b-8e2d-6d89d5d4fbd7">
-<ElementManifests>
<ElementManifest Location="Elements.xml"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2433\ReleaseReviewForm01.dll"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2433\ReleaseReviewForm01.pdb"/>
<ElementFile Location="solution.xsn"/> <ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2433\solution.xsn"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2431\ReleaseReviewForm01.dll"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2431\ReleaseReviewForm01.pdb"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2431\solution.xsn"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2427\ReleaseReviewForm01.dll"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2427\ReleaseReviewForm01.pdb"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2427\solution.xsn"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2425\ReleaseReviewForm01.dll"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2425\ReleaseReviewForm01.pdb"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2425\solution.xsn"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2422\ReleaseReviewForm01.dll"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2422\ReleaseReviewForm01.pdb"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2422\solution.xsn"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2419\ReleaseReviewForm01.dll"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2419\ReleaseReviewForm01.pdb"/>
<ElementFile Location="solution.xsn.1.0.0.2433.1.0.0.2419\solution.xsn"/>
</ElementManifests>
-<Properties>
<Property Value="FT-01-c22f53f9-bf48-ce8b-8e2d-6d89d5d4fbd7" Key="FeatureName"/>
<Property Value="Document Marking.xsn" Key="OriginalFileName"/>
<Property Value=".1.0.0.2433" Key="FeatureVersion"/>
</Properties>
-<ActivationDependencies>
<ActivationDependency FeatureId="C88C4FF1-DBF5-4649-AD9F-C6C426EBCBF5"/>
</ActivationDependencies>
</Feature>