There is a compatibility range mismatch between the web server and database

Compatibility range mismatch

When I tried to run the following PowerShell:

Add-PSSnapin “Microsoft.SharePoint.PowerShell”

$site = Get-SPSite $spsiteUrl

$site.AllWebs

I got the following error:

There is a compatibility range mismatch between the Web server and database “WSS_Content”, and connections to the data have been blocked to due to this incompatibility. This can happen when a content database has not been upgraded to be within the compatibility range of the Web server, or if the database has been upgraded to a higher level than the web server. The Web server and the database must be upgraded to the same version and build level to return to compatibility range.

Shell admin access

I gave my user account Shell Admin access and then I could access the webs within a site.

All I had to do was give my user account SP_Data_Access permissions on the content database mentioned. I already worried that I hadn’t run an update properly.

One thought on “There is a compatibility range mismatch between the web server and database

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 4,912 other subscribers

Recent Posts

Archive

Thank you for visiting SharePains

%d bloggers like this: