Is there any utility out there that can tell me if there is any custom web template missing or faulty from a site collection,

I keep getting error "WEB template #00000 not found" while importing a Exported site collection.


You could use powershell to access the SharePoint object model.

The site's template ID is a property of SPWeb. (SPweb.WebTemplateID)

Then you would compare this integer to the list of site template ID numbers : http://mosshowto.blogspot.co.uk/2009/04/sharepoint-list-template-ids.html

plus on msdn has this article, if you know the template then you can fix or restore it using stsadm.


hope this helps

| improve this answer | |
  • my question is, How would I know if a web template is missing or faulty :S – Muhammad Raja Aug 13 '12 at 12:38
  • the thing is you dont know until you migrate it to another site or unpgrate it form 2007 to 2010 where youll get the errors popping up and thats where you would use the methods above ;) – Ali Jafer Aug 14 '12 at 9:00

I couldn't find any way you could find out that a web template is faulty or missing for a site collection.

However the error I was getting was because site collection was customized and someone deleted web template which was referenced in the site definition of site collection.

I solved problem by creating a new site collection using site definition again and also by adding web templates to 12 hive.

Hope it helps anyone get same kind of error.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.