We have a portal server 2007 installation that is working fine except for one frustrating error. We deployed the latest February Cumulative Patches and after this the problem starts.We have one console application that creates a site by using stsadm command.If we try the same activity by using GUI then everything works fine. This Console application runs in 4 steps and we are facing the problem at step 4 and prompts error message "Content type '0x01010007FF3E057FA8AB4AA42FCB67B453FFC100E214EEE741181F4E9F7ACC43278EE811' not found in web 'http://moss2007.com' "
When i check the content type on the website i was shocked there was nothing means not even single content type.The weird thing is, that the content type ID is the ID from the “PageLayout” Content Type...
After doing lots of googling, i noticed and marked some of the common areas affected by this content type error message.
-If we try to create a new page ("Create Page" command from the "Site Actions" Menu) from any of the sites.
-After a restore from MOSS 2007 Standard to MOSS 2007 Enterprise.
-While creating a new page in a collbartion portal.
-While trying to add a new page.
-After deploying cumulative updates.
-Creating a new Web Site programatically.
Now after countless searched on the internet I turn up basically nothing, TechNet is dry, and no one seems to have had this error (not a first for me sadly). I ask a desperation post on Experts-Exchange and run through the drills. Checking my xml config files, looking at error logs, etc.
There are some resolutions applied for this error message so choose the best one that suites your enviornment.
-Run SharePoint Products and Technologies Configuration Wizard on all the machines.
-Go to Site Central Administration, User Permissions for Web Application and be sure "Use Client Integration Features" and "Use Remote Interfaces" are enabled. That can also work for you.
-This ContentTypeID points to the "PublishingResources" feature.You will need to activate this feature by running STSADM. The command is
-STSADM -o activatefeature -name PublishingResources -url http://moss_url/
-Run this commands one by one as follows:-
-stsadm -o activatefeature -filename publishing\feature.xml -url http://url/ -force
-stsadm -o activatefeature -filename publishingresources\feature.xml -url http://url/ -force
-stsadm -o activatefeature -filename publishingSite\feature.xml -url http://url/ -force
-stsadm -o activatefeature -filename publishingweb\feature.xml -url http://url/ -force
-stsadm -o activatefeature -filename publishinglayouts\feature.xml -url http://url/ -force
-stsadm -o activatefeature -filename navigation\feature.xml -url http://url/ -force
I hope the above information helps you to overcome this error message.