Want to make the portal site connection link relative so that it works for different zones. A couple of articles say it will work with code, however, it doesn't with me. Web Server and SQL server are 2008 R2. SQL server is running Ent 2008. Both have .NET 3.51.
Here's the code I'm running:
Here's what result I'm getting:
The following error occurred while executing the snippet:
tion: There is a compati
bility range mismatch between the Web server and database "SharePointSiteConten
t", 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 upgr
aded to the same version and build level to return to compatibility range.