I was trying to get InfoPath Forms Services working, but when I tried to activate the site collection feature I got an error about a dependency on the “Premium Site” feature. This is one of those hidden features that is usually activated automatically, but some glitch made it deactivated.
I tried to activate it through the following command line:
stsadm -o activatefeature -id "8581a8a7-cf16-4770-ac54-260265ddb0b2" -url http://es
But then I got this error:
“The InfoPath Forms Services support feature is not properly activated. Document library could not be found at FormServerTemplates.”
But this was fixed by running two more commands:
STSADM.EXE -o activatefeature -filename IPFSWebFeatures\feature.xml -url http://es -force
STSADM.EXE -o activatefeature -filename IPFSSiteFeatures\feature.xml -url http://es -force
All good now!