Infopath “The following form template cannot be upgraded because it is not currently uploaded on this farm” #sp2010
So what i was trying to do is upload a new form template to a clients QA system. Something that has been done tens of time since the system went live. But today I get.
Now i have never seen this message before so i instantly start googling to try and save the day.
I have to say not a lot of stuff around this error is available but there are a couple of MSDN forum posts that got me in the right direction.
The SharePoint farm in question has recently had some more servers added to the farm and what i suspect has happened is that the form files have not correctly deployed to the new servers. But to prove this i need the feature GUID that is created when you first upload a InfoPath form.
I found the quickest way to get this is to navigate to the site collection the form exists on. Go to Site settings and under Site collection Administrators select the Site Collection Features in the list you will see a feature that maps to the name of the XSN file.
Click on the Deactivate button (don’t worry there is a confirmation step). Now in the query string the feature GUID is shown. Copy this as you will need it later. You don’t need to deactivate the solution so can close the page if you wish.
I was then able to see, under Solution Management within central admin the WSP called the same GUID. Clicking on the WSP showed me that the wsp had not been deployed to all the servers in the farm. For some reason all of the other WSP in the list had all been deployed. I guess i was just lucky that this was the only one.
Now to fix the issue you need to run an STSADM command
stsadm -o uninstallfeature –id <the feature GUID you got from the query string> –force
This will remove the feature and i guess some other magic that fixes stuff.
Now the form can be upgraded without an error. Once the form has upgraded the feature is reactivated automatically (did for me anyway)
And YAY it all works again. 5 minutes job only took an hour
Hope this helps someone
Paul is a an expert SharePoint and Project Server developer and is responsible for designing and implementing custom solutions on client systems using the latest SharePoint and .NET technologies.
Paul has extensive experience with SharePoint systems across all sizes of implementation, ranging from small to large farms and has an excellent understanding of all the elements of SharePoint.