Project Description
Scenario

I have migrated a MOSS 2007 site into SharePoint 2010. I have upgraded all infopath form template to 2010 but have 10000+ forms those were submitted using infopath 2007, when I am opening those forms using infopath 2010 template. people picker fields and some columns are blank.

Solution

This project contains a console application that can be used to update all InfoPath 2007 xml files to make these compatible to InfoPath 2010 template.
To use this solution you have to update following section of app.config file with your site collection url, subsite name and form library name where all InfoPath 2007 forms are stored.

<appSettings>
<add key="SiteUrl" value="http://mysite" />
<add key="WebUrl" value="subsite" />
<add key="ListName" value="Form Library" />
</appSettings>