• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 604
  • Last Modified:

SharePoint 2010 Specifying a Relative Portal Site Connection Link

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:
http://social.technet.microsoft.com/Forums/en-US/sharepointadminlegacy/thread/89c60e6c-2e98-46c8-bec3-067c63c66a16/?prof=required

Here's what result I'm getting:
The following error occurred while executing the snippet:
Microsoft.SharePoint.Upgrade.SPUpgradeCompatibilityException: 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.
   at Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.ValidateBa
ckwardsCompatibility()
   at Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request)
   at Microsoft.SharePoint.SPSite.GetSPRequest()
   at Microsoft.SharePoint.SPSite.get_Request()
   at Microsoft.SharePoint.SPSite.set_PortalUrl(String value)
   at MyClass.RunSnippet()
   at MyClass.Main()
---
0
imherson
Asked:
imherson
  • 2
1 Solution
 
Justin SmithSr. System EngineerCommented:
Central Admin - Upgrade and Migration - Check Database status.

Anything stick out?
0
 
imhersonAuthor Commented:
No actions required  My appologies for not getting back to you sooner.  I was in training last week.
0
 
imhersonAuthor Commented:
There were a couple of databases that were not upgraded.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now