Blog b = new Blog("marcos blog"); RSS 2.0
# Wednesday, August 13, 2008

I have an issue creating a new Web Site programatically. Sometimes, the following exception occurs:

Content type '0x01010007FF3E057FA8AB4AA42FCB67B453FFC100E214EEE741181F4E9F7ACC43278EE811' not found in web 'xxx'

Live Search has no solution (by the way: Google has no solution as well ;-)). The only thing you can do is re-run the SharePoint Products and Configuration Wizard. After that, the error disappears and the site creation process is successful.

The weird thing is, that the content type ID is the ID from the “PageLayout” Content Type... If anyone found another solution I would be very interested.

Wednesday, August 13, 2008 9:36:22 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [1]
.NET | Avanade | Microsoft | SharePoint
Tuesday, January 27, 2009 12:16:36 AM (W. Europe Standard Time, UTC+01:00)
Wow, thanks for the info. I was having the same exact problem and this also was the only way I found that fixed the issue.
Bob
OpenID
Please login with either your OpenID above, or your details below.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, strike, strong) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview
Statistics
Total Posts: 192
This Year: 4
This Month: 1
This Week: 0
Comments: 291


Sign In
All Content © 2010, Marco Wiedemeyer
DasBlog theme 'Business' created by Christoph De Baene (delarou)