The database schema is too old to perform this operation in this SharePoint cluster. Please upgrade the database and...

今天需要在另外一台机器上恢复SharePoint portal Server 2003站点,目前已经拥有其数据的的备份文件。需要在虚拟机上将其还原出来。

但是,在Restore Portal时,出现错误。

并查看日志如下:

“Thursday, 12 November 2009 16:42:41 Log file opened.
16:42:41 Starting portal creation for PRC Application Platform Field Portal
16:42:41 Values used for restore: PortalUrl=http://192.168.0.86/ Virtual Server Url=http://192.168.0.86/ PortalName=PRC Application Platform Field Portal Application Pool=MSSharePointPortalAppPool, user=SPS2K3\administrator SiteDB=(SPS2K3, PRCAppli1_SITE) ProfileDB=(SPS2K3, PRCAppli1_PROF) ServiceDB=(SPS2K3, PRCAppli1_SERV)
16:42:41 Original values recovered: SiteCountWarning=9000 SiteCountLimit=15000 OriginalPortalUrl=http://prcapp/ OriginalWorkspaceUrl= PortalWasFederated=FALSE PortalWasCentral=FALSE
16:42:41 Enter RecoverSite()
16:42:41 uHost set as: http://192.168.0.86/
16:42:41 Retrieving identity for application pool 'MSSharePointPortalAppPool'.
16:42:41 Application pool identity is 'SPS2K3\administrator'.
16:42:41 Virtual server Uri is 'http://192.168.0.86/'
16:42:41 Opening virtual server.
16:42:41 Checking virtual server state.
16:42:41 Virtual server needs extend.
16:42:41 Extending virtual server 'http://192.168.0.86/' using existing AppPool 'MSSharePointPortalAppPool'...
16:42:42 Virtual server extended.
16:42:42 Checking if Document management exclusions are needed.
16:42:42 Start- Recovering original virtual server properties
16:42:42 Recovering Property: ssc-contact, Value=no
16:42:42 Recovering Property: alerts-enabled, Value=True
16:42:42 Recovering Property: securityvalidation-expire, Value=True
16:42:42 Recovering Property: securityvalidation-timeout, Value=30
16:42:42 Recovering Property: virtualserverpermsmask, Value=-1
16:42:42 Recovering Property: alerts-maximum, Value=50
16:42:42 Recovering Property: data-retrieval-services-oledb-providers, Value=DB2OLEDB;IBMDADB2;MSDAORA;OraOLEDB.Oracle;SQLOLEDB
16:42:42 Recovering Property: alerts-limited, Value=True
16:42:42 Recovering Property: presenceenabled, Value=yes
16:42:42 Recovering Property: emailinsertsenabled, Value=False
16:42:42 Recovering Property: max-file-post-size, Value=300
16:42:42 Recovering Property: eventhandlersenabled, Value=False
16:42:42 Recovering Property: send-ad-email, Value=True
16:42:42 Recovering Property: ssc, Value=yes
16:42:42 Recovering Property: defaultquotatemplate, Value=No Quota
16:42:42 Recovering Property: securityvalidation-enabled, Value=True
16:42:42 End- Recovering original virtual server properties
16:42:42 Start- Recovering original virtual server prefixes
16:42:43 Start- spVirtualServer.Config.Prefixes.Add(personal, 1)
16:42:43 End- spVirtualServer.Config.Prefixes.Add(personal, 1)
16:42:44 Start- spVirtualServer.Config.Prefixes.Add(bigdeal, 2)
16:42:44 End- spVirtualServer.Config.Prefixes.Add(bigdeal, 2)
16:42:45 Start- spVirtualServer.Config.Prefixes.Add(reportserver, 2)
16:42:45 End- spVirtualServer.Config.Prefixes.Add(reportserver, 2)
16:42:46 Start- spVirtualServer.Config.Prefixes.Add(s, 2)
16:42:46 End- spVirtualServer.Config.Prefixes.Add(s, 2)
16:42:47 Start- spVirtualServer.Config.Prefixes.Add(reports, 2)
16:42:47 End- spVirtualServer.Config.Prefixes.Add(reports, 2)
16:42:47 End- Recovering original virtual server prefixes
16:42:47 Start- spVirtualServer.Config.QuotaTemplates.Add(q)
16:42:47 End- spVirtualServer.Config.QuotaTemplates.Add(q)
16:42:48 Portal creation failed Microsoft.SharePoint.SPException: The database schema is too old to perform this operation in this SharePoint cluster. Please upgrade the database and try again. ---> System.Runtime.InteropServices.COMException (0x81070571): The database schema is too old to perform this operation in this SharePoint cluster. Please upgrade the database and try again. at Microsoft.SharePoint.Library.SPRequestInternalClass.SetContentDatabaseMetainfo(Guid& gDatabaseId, Int32 lIISInstanceID, String bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, Int32& plCurrentSiteCount, Int32 lWarningSiteCount, Int32 lMaximumSiteCount, Int32 lStatus) at Microsoft.SharePoint.Library.a.a(Guid& A_0, Int32 A_1, String A_2, String A_3, String A_4, String A_5, Int32& A_6, Int32 A_7, Int32 A_8, Int32 A_9) --- End of inner exception stack trace --- at Microsoft.SharePoint.Library.a.a(Guid& A_0, Int32 A_1, String A_2, String A_3, String A_4, String A_5, Int32& A_6, Int32 A_7, Int32 A_8, Int32 A_9) at Microsoft.SharePoint.Administration.SPContentDatabase.Update() at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.Add(String strDatabaseServer, String strDatabaseName, String strDatabaseUsername, String strDatabasePassword, Int32 nWarningSiteCount, Int32 nMaximumSiteCount, Int32 nStatus) at Microsoft.SharePoint.Portal.Admin.c.f()
16:42:48 Enter UnextendVirtualServer
16:42:48 Unextending virtual server 'http://192.168.0.86/'. (52cf25fd-107f-44f0-ae80-3ca56c3deb60)
16:42:48 Removing virtual server 'http://192.168.0.86/' from configuration database. (52cf25fd-107f-44f0-ae80-3ca56c3deb60)
16:42:48 Exit UnextendVirtualServer
16:42:48 Enter SearchConfigure()

 

原因:

    出现该错误的原因在于,当前站点的SharePoint Portal Server 2003站点的版本与备份数据库所在的Portal站点的版本不一致所造成的。需要升级到一致的版本即可。

 

解决方案:

    升级到备份数据库服务器的SharePoint Portal Server 2003的版本,并执行Restore动作即可。

  查看当前站点版本。打开SYSDriver:\Program Files\SharePoint Portal Server\Bin;

  右键单击 Mssrch.dll 文件,然后单击 属性

      单击 版本 选项卡,然后单击 项目名称 下的 文件版本
      记下 Mssrch.dll 文件的版本号。 该版本号在 Mssrch.dll 的文件和相应的版本和 SharePoint Portal Server 的服务包级别如下所列。
      SharePoint Portal Server 2001

  1. 如果 Mssrch.dll 10.145.3914.3,SharePoint Portal Server 2001 的原始发行版已经安装在服务器上。
  • 如果 Mssrch.dll 文件的版本 10.145.4629,SharePoint Portal Server 2001 Service Pack 1 (SP1) 已经安装在服务器上。
  • 如果 Mssrch.dll 文件的版本 10.0145.6011.0,SharePoint Portal Server 2001 Service Pack 2 (SP2) 已经安装在服务器上。
  • 如果 Mssrch.dll 文件的版本 10.0145.6011.5,SharePoint Portal Server 2001 Service Pack 2a (SP2a) 安装在服务器上。
  • 如果 Mssrch.dll 文件的版本 10.0145.7329,SharePoint Portal Server 2001 Service Pack 3 (SP3) 已经安装在服务器上。
  1. SharePoint Portal Server 2003
  2. 如果 Mssrch.dll 文件的版本 11.0.5704.0,SharePoint Portal Server 2003 的原始发行版已经安装在服务器上。
  3. 如果 Mssrch.dll 文件的版本 11.0.6715.0,SharePoint Portal Server 2003 Service Pack 1 (SP1) 已经安装在服务器上。

    打相应的补丁即可。

posted @ 2009-11-12 16:57  David Dong  阅读(536)  评论(0编辑  收藏  举报