错误看起来更具体的数据库(我猜),我可以认为你已经重新启动了服务器,ConfigMgr数据库也在同一台服务器上吗?如果没有,请尝试重新启动您的DB服务器。如果没有,请上传Smsprov.log文件。谢谢
这是我从SMSPROV.LOG得到的,我同意有一些奇怪的数据库,我不知道什么;我也重启了数据库。
查看附件4954
PutInstanceAsync SMS_Boundary SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
IExtClassManager: ValidateAuthenticationLevel……短信供应商12/22/2022 8:24:13 AM 13372 (0x343C)
CExtProviderClassObject:oPutInstanceInstance SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
*** insert into vSMS_Boundary (BoundaryFlags, BoundaryType, DisplayName, Value, CreatedBy, CreatedOn, ModifiedBy, ModifiedOn) values (0,1, N ", N' azure ', N'' 609215- ad01 \gramachotsa', N'12/22/2022 16:24:13', N'12/22/2022 16:24:13')~;~ select scope_identity() SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
*** [42000][524][Microsoft][SQL Server Native Client 11.0][SQL Server]一个触发器返回一个结果集,并且服务器选项'disallow results from triggers'为真。: vSMS_Boundary_iu SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
*~*~[42000][524][Microsoft][SQL Server Native Client 11.0][SQL Server]一个触发器返回一个结果集,并且服务器选项'disallow results from triggers'为真。: vSMS_Boundary_iu ThreadID: 13372, DbError: 524, Sev: 16~*~* SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
*~*~C:\__w\1\s\src\SiteServer\SDK_Provider\SMSProv\ssputility.cpp(1880): SQL command failed: insert into vSMS_Boundary (BoundaryFlags, BoundaryType, DisplayName, Value, CreatedBy, CreatedOn, ModifiedBy, ModifiedOn) values (0,1, N ", N' azure ', N' 609215- ad01 \gramachotsa', N'12/22/2022 16:24:13', N' 609215- ad01 \gramachotsa', N'12/22/2022 16:24:13')~;~ select scope_identity()~ SQL Error:[42000][524][Microsoft][SQL Server Native Client 11.0][SQL Server]一个触发器返回一个结果集,并且服务器选项'disallow results from triggers'为真。: vSMS_Boundary_iu~*~* SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
*~*~SQL command failed: insert into vSMS_Boundary (BoundaryFlags, BoundaryType, DisplayName, Value, CreatedBy, CreatedOn, ModifiedBy, ModifiedOn) values (0,1, N ", N' azure ', N'' 609215- ad01 \gramachotsa', N'12/22/2022 16:24:13', N' 609215- ad01 \gramachotsa', N'12/22/2022 16:24:13')~;~ select scope_identity() [42000][524][Microsoft][SQL Server Native Client 11.0][SQL Server]一个触发器返回一个结果集,服务器选项'disallow results from triggers'为真。: vSMS_Boundary_iu~*~* SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
ERROR: SQL command failed: insert into vSMS_Boundary (BoundaryFlags, BoundaryType, DisplayName, Value, CreatedBy, CreatedOn, ModifiedBy, ModifiedOn) values (0,1, N ", N' azure ', N'' 609215- ad01 \gramachotsa', N'12/22/2022 16:24:13', N'' 609215- ad01 \gramachotsa', N'12/22/2022 16:24:13')~;~ select scope_identity() SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
CExtUserContext::LeaveThread: Releasing IWbemContextPtr=-633345056 SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
实际上,我在我的CM数据库(站点版本2207)中没有看到vSMS_Boundary_iu(见截图),所以我不确定这个表包含什么。你的网站版本是什么?请检查这个表/视图包含哪些数据?这是我从SMSPROV.LOG得到的,我同意有一些奇怪的数据库,我不知道什么;我也重启了数据库。
查看附件4954
PutInstanceAsync SMS_Boundary SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
IExtClassManager: ValidateAuthenticationLevel……短信供应商12/22/2022 8:24:13 AM 13372 (0x343C)
CExtProviderClassObject:oPutInstanceInstance SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
*** insert into vSMS_Boundary (BoundaryFlags, BoundaryType, DisplayName, Value, CreatedBy, CreatedOn, ModifiedBy, ModifiedOn) values (0,1, N ", N' azure ', N'' 609215- ad01 \gramachotsa', N'12/22/2022 16:24:13', N'12/22/2022 16:24:13')~;~ select scope_identity() SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
*** [42000][524][Microsoft][SQL Server Native Client 11.0][SQL Server]一个触发器返回一个结果集,并且服务器选项'disallow results from triggers'为真。: vSMS_Boundary_iu SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
*~*~[42000][524][Microsoft][SQL Server Native Client 11.0][SQL Server]一个触发器返回一个结果集,并且服务器选项'disallow results from triggers'为真。: vSMS_Boundary_iu ThreadID: 13372, DbError: 524, Sev: 16~*~* SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
*~*~C:\__w\1\s\src\SiteServer\SDK_Provider\SMSProv\ssputility.cpp(1880): SQL command failed: insert into vSMS_Boundary (BoundaryFlags, BoundaryType, DisplayName, Value, CreatedBy, CreatedOn, ModifiedBy, ModifiedOn) values (0,1, N ", N' azure ', N' 609215- ad01 \gramachotsa', N'12/22/2022 16:24:13', N' 609215- ad01 \gramachotsa', N'12/22/2022 16:24:13')~;~ select scope_identity()~ SQL Error:[42000][524][Microsoft][SQL Server Native Client 11.0][SQL Server]一个触发器返回一个结果集,并且服务器选项'disallow results from triggers'为真。: vSMS_Boundary_iu~*~* SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
*~*~SQL command failed: insert into vSMS_Boundary (BoundaryFlags, BoundaryType, DisplayName, Value, CreatedBy, CreatedOn, ModifiedBy, ModifiedOn) values (0,1, N ", N' azure ', N'' 609215- ad01 \gramachotsa', N'12/22/2022 16:24:13', N' 609215- ad01 \gramachotsa', N'12/22/2022 16:24:13')~;~ select scope_identity() [42000][524][Microsoft][SQL Server Native Client 11.0][SQL Server]一个触发器返回一个结果集,服务器选项'disallow results from triggers'为真。: vSMS_Boundary_iu~*~* SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
ERROR: SQL command failed: insert into vSMS_Boundary (BoundaryFlags, BoundaryType, DisplayName, Value, CreatedBy, CreatedOn, ModifiedBy, ModifiedOn) values (0,1, N ", N' azure ', N'' 609215- ad01 \gramachotsa', N'12/22/2022 16:24:13', N'' 609215- ad01 \gramachotsa', N'12/22/2022 16:24:13')~;~ select scope_identity() SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
CExtUserContext::LeaveThread: Releasing IWbemContextPtr=-633345056 SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)