{"id":188,"date":"2011-08-17T13:32:11","date_gmt":"2011-08-17T12:32:11","guid":{"rendered":"http:\/\/www.mysticslayer.com\/?p=188"},"modified":"2011-08-17T13:32:11","modified_gmt":"2011-08-17T12:32:11","slug":"restoring-sharepoint-databases-with-other-schema-sharepoint-2010","status":"publish","type":"post","link":"http:\/\/www.mysticslayer.com\/?p=188","title":{"rendered":"Restoring SharePoint databases with other schema (SharePoint 2010)"},"content":{"rendered":"<p>I just started out today to restore some Content Databases to test out my new created features on my development environment, to check if everything works as planned. But yet, I&#8217;ve figured out that I had some issues creating and deleting sites.<\/p>\n<p>So I checked the ULS logs and nothing to see, I checked event viewer and also there no errors containing the message which I had: &#8220;Supported method not found&#8221; or something in that other.<\/p>\n<p>Well I remember when I installed Service Pack 1 of SharePoint Server 2010 and tried to remove a site I had the same message. This was related to some bug or something. So I installed June CU Refresh and that worked perfectly. Well in this case I had both installed, so that shouldn&#8217;t be the problem.<\/p>\n<p>So I checked the status of my Content Databases and what I noticed was that the schema version of the database wasn&#8217;t the same version as June CU Refresh. And the message was that I could update. Also the strange notice is that my Content Databases aren&#8217;t updated when you restore a database and attach it to SharePoint.<\/p>\n<p>So what I did was run with powershell the following script:<\/p>\n<p><code><br \/>\n$contentdb = Get-SPContentDatabase | Where-Object {$_.Name -match \"WSS_ContentDB\" }<br \/>\nUpgrade-SPContentDatabase -Identity $contentdb<br \/>\n<\/code><\/p>\n<p>Voila, content database is getting updated.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just started out today to restore some Content Databases to test out my new created features on my development environment, to check if everything works as planned. But yet, I&#8217;ve figured out that I had some issues creating and deleting sites. So I checked the ULS logs and nothing to see, I checked event [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[224,246],"tags":[325,362,327,356,223,328,326],"class_list":["post-188","post","type-post","status-publish","format-standard","hentry","category-sharepoint-2010","category-sharepoint-foundation","tag-content-db","tag-powershell","tag-schema-version","tag-sharepoint-2010","tag-sp2010","tag-supported-method-not-found","tag-upgradedatabase"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pe1EH-32","_links":{"self":[{"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=\/wp\/v2\/posts\/188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=188"}],"version-history":[{"count":1,"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=\/wp\/v2\/posts\/188\/revisions"}],"predecessor-version":[{"id":189,"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=\/wp\/v2\/posts\/188\/revisions\/189"}],"wp:attachment":[{"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=188"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}