Showing posts with label content type not found. Show all posts
Showing posts with label content type not found. Show all posts

17 April, 2013

Error in creating a SharePoint Wiki site in SharePoint 2010

Problem Description: Error in creating a SharePoint Wiki site in SharePoint 2010

Creating a subsite underneath site collection by using ‘enterprisewiki’ throws an exceptions.

Please refer the following exceptions which is a series of error messages and helpful to understand the cause behind it.

Error Messages:
Error#1: Failed to activate site-scoped features for template 'ENTERWIKI#0' in site ‘http://sharepoint2007/sites/SP2010Projects’.    a41b91e6-385b-42a9-a10f-c69e15de613a

Error#2: Failed to activate web features when provisioning site at url " http://sharepoint2007/sites/SP2010Projects" with site definition "ENTERWIKI#0"
               
Error#3: Failed to apply template "ENTERWIKI#0" to web at URL " http://sharepoint2007/sites/SP2010Projects".  a41b91e6-385b-42a9-a10f-c69e15de613a

Error#4: SPContentTypeBindingElement.ElementActivated(). ContentType '0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF39004C1F8B46085B4D22B1CDC3DE08CFFB9C' not found on web ' http://sharepoint2007/sites/SP2010Projects'.              a41b91e6-385b-42a9-a10f-c69e15de613a

Error#5: specified argument was out of the range of valid values. Parameter name:content type not found(‘0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF39004C1F8B46085B4D22B1CDC3DE08CFFB9C’).

Analysis:
Wiki template is a dependency section of Publishing Infrastructure as per the following articles:


Resolution:
Activate publishing infrastructure at the site collection level as well as at the site level.

How to do this:
Activate Publishing Infrastructure @site collection level:   
-Open the site
-site actions
-Site settings
-site collection Administration
-activate “SharePoint Server Publishing Infrastructure”

Activate Publishing Infrastructure @site level:   
-Open the site
-site actions
-Site settings
-site actions
-manage site features
-activate “SharePoint Server Publishing Infrastructure”

That’s it; your issue will be resolved.

If you have any queries regarding the above mentioned information then please let me know.

I would be more than happy to help you as well as resolves your issues, Thank you.

Product Applies To:
SharePoint Server 2010
SharePoint Foundation 2010

25 March, 2009

Content type '0x01010007FF3E057FA8AB4AA42FCB67B453FFC100E214EEE741181F4E9F7ACC43278EE811' not found

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...

Symptoms:- 
I noticed and marked some of the common areas affected by this content type error message.
 
1)   If we try to create a new page ("Create Page" command from the "Site Actions" Menu) from any of the sites.
2)   After a restore from MOSS 2007 Standard to MOSS 2007 Enterprise.
3)   While creating a new page in a collaboration portal.
4)   While trying to add a new page.
5)   After deploying cumulative updates.
6)   Creating a new Web Site programmatically.

Resolution:-
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 environment.
 
-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.

-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.

If you have any queries/questions regarding the above mentioned information then please let me know. I would be more than happy to help you as well as resolves your issues, Thank you.