SCCM - SQL Server无效的列名称

时间:2016-06-24 17:27:49

标签: sql sccm

我升级了SCCM 1511,然后将旧数据库中的数据附加到新数据库。我的SCCM无法连接到站点数据库。我查看了smsprov.log并看到了这些错误消息。有人可以帮忙吗?

Execute SQL =select  all SMS_Identification.License,SMS_Identification.LocaleID,SMS_Identification.DaysLeft,SMS_Identification.ServiceAccountName,SMS_Identification.SMSAvailableConsoleVersion,SMS_Identification.SMSBuildNumber,SMS_Identification.SMSMinBuildNumber,SMS_Identification.SMSProviderServer,SMS_Identification.SMSSiteServer,SMS_Identification.SMSVersion,SMS_Identification.ThisSiteCode,SMS_Identification.ThisSiteName,SMS_Identification.UIManifestHash,SMS_Identification.UIManifestHashAlgorithm from vSMSData AS SMS_Identification ~  $$<SMS Provider><06-24-2016 08:41:20.930+420><thread=15724 (0x3D6C)>
*** [42S22][207][Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid column name 'SMSAvailableConsoleVersion'.  $$<SMS Provider><06-24-2016 08:41:20.982+420><thread=15724 (0x3D6C)>
~*~*~[42S22][207][Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid column name 'SMSAvailableConsoleVersion'.     ThreadID : 15724 , DbError: 207 , Sev: 16~*~*~  $$<SMS Provider><06-24-2016 08:41:20.982+420><thread=15724 (0x3D6C)>
*** [42S22][207][Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid column name 'UIManifestHash'.  $$<SMS Provider><06-24-2016 08:41:20.982+420><thread=15724 (0x3D6C)>
~*~*~[42S22][207][Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid column name 'UIManifestHash'.   [42S22][207][Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid column name 'SMSAvailableConsoleVersion'.  ThreadID : 15724 , DbError: 207 , Sev: 16~*~*~  $$<SMS Provider><06-24-2016 08:41:20.982+420><thread=15724 (0x3D6C)>
*** [42S22][207][Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid column name 'UIManifestHashAlgorithm'.  $$<SMS Provider><06-24-2016 08:41:20.983+420><thread=15724 (0x3D6C)>
~*~*~[42S22][207][Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid column name 'UIManifestHashAlgorithm'.   [42S22][207][Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid column name 'UIManifestHash'.  ThreadID : 15724 , DbError: 207 , Sev: 16~*~*~  $$<SMS Provider><06-24-2016 08:41:20.983+420><thread=15724 (0x3D6C)>
Results returned : 0 of -1~  $$<SMS Provider><06-24-2016 08:41:20.983+420><thread=15724 (0x3D6C)>
<*><*> CANT CONNECT TO SQL, RETURNING ERROR <*><*>~  $$<SMS Provider><06-24-2016 08:41:20.984+420><thread=15724 (0x3D6C)>
Found IClassManger: Opal SMS CSsp Provider Extension Implementation.~  $$<SMS Provider><06-24-2016 08:41:20.984+420><thread=15724 (0x3D6C)>
CExtUserContext::LeaveThread : Releasing IWbemContextPtr=803762080~  $$<SMS Provider><06-24-2016 08:41:20.984+420><thread=15724 (0x3D6C)>
SMSPROV DllMain - DLL_PROCESS_DETACH...calling  AfxTermExtensionModule~  $$<SMS Provider><06-24-2016 08:41:51.282+420><thread=21708 (0x54CC)>
EXTNPROV DllMain DLL_PROCESS_DETACH~  $$<SMS Provider><06-24-2016 08:41:51.285+420><thread=21708 (0x54CC)>

1 个答案:

答案 0 :(得分:0)

从错误消息中,看起来数据库已损坏,尝试恢复SCCM数据库的另一个良好备份(如果有)。如果没有,要检查smsprov.log,我想还有其他关于连接数据库失败的错误,请逐一检查表。