Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

SOLVED Message error to When I try to add a new boundary

  • Thread starter Thread starter tiagobial
  • Start date Start date
  • Replies Replies 18
  • Views Views 4K
Status
Not open for further replies.

tiagobial

Member
Messages
17
Solutions
2
Reaction score
0
Points
1
Hello,

I'm trying to add a new boundary on my SCCM however I'm getting the following message error does anybody know why ?
My SCCM is 2107.

1671252066718.png1671252079887.png

1671252246926.png
 
Solution
Finally, I got it solved after run the following sql query on the database.


USE master
GO



BEGIN
EXEC sp_configure 'show advanced options', 1;
RECONFIGURE
EXEC sp_configure 'disallow results from triggers', 0;
RECONFIGURE
END
I had a similar issue before (but not from boundaries).
I was able to install the servicing components without issue after rebooting the server.

I'm not sure if this is useful.
 
Yeap, my account is part of All instances Scope, and to answer your questions this is my first time trying to create a boundary in my company.

1671643583413.png


Thanks for the help.
 
Yeap, my account is part of All instances Scope, and to answer your questions this is my first time trying to create a boundary in my company.

View attachment 4950


Thanks for the help.
The error looks more specific to database (i guess), I could that you already rebooted the server, is ConfigMgr database also in the same server? if not please try rebooting your DB server as well. If this didnot please please upload Smsprov.log file. Thanks
 
This is what i got from SMSPROV.LOG, I agree there is something weird with the database I don't know what; I already rebooted the database too.

1671726773423.png


PutInstanceAsync SMS_Boundary SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
IExtClassManager::ValidateAuthenticationLevel... SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
CExtProviderClassObject::DoPutInstanceInstance 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'S609215-AD01\gramachotsa', N'12/22/2022 16:24:13', N'S609215-AD01\gramachotsa', 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]A trigger returned a resultset and the server option 'disallow results from triggers' is true. : 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]A trigger returned a resultset and the server option 'disallow results from triggers' is true. : 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'S609215-AD01\gramachotsa', N'12/22/2022 16:24:13', N'S609215-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]A trigger returned a resultset and the server option 'disallow results from triggers' is true. : 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'S609215-AD01\gramachotsa', N'12/22/2022 16:24:13', N'S609215-AD01\gramachotsa', N'12/22/2022 16:24:13')~;~ select scope_identity() [42000][524][Microsoft][SQL Server Native Client 11.0][SQL Server]A trigger returned a resultset and the server option 'disallow results from triggers' is true. : 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'S609215-AD01\gramachotsa', N'12/22/2022 16:24:13', N'S609215-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)
 
This is what i got from SMSPROV.LOG, I agree there is something weird with the database I don't know what; I already rebooted the database too.

View attachment 4954


PutInstanceAsync SMS_Boundary SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
IExtClassManager::ValidateAuthenticationLevel... SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
CExtProviderClassObject::DoPutInstanceInstance 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'S609215-AD01\gramachotsa', N'12/22/2022 16:24:13', N'S609215-AD01\gramachotsa', 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]A trigger returned a resultset and the server option 'disallow results from triggers' is true. : 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]A trigger returned a resultset and the server option 'disallow results from triggers' is true. : 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'S609215-AD01\gramachotsa', N'12/22/2022 16:24:13', N'S609215-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]A trigger returned a resultset and the server option 'disallow results from triggers' is true. : 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'S609215-AD01\gramachotsa', N'12/22/2022 16:24:13', N'S609215-AD01\gramachotsa', N'12/22/2022 16:24:13')~;~ select scope_identity() [42000][524][Microsoft][SQL Server Native Client 11.0][SQL Server]A trigger returned a resultset and the server option 'disallow results from triggers' is true. : 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'S609215-AD01\gramachotsa', N'12/22/2022 16:24:13', N'S609215-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)

This is what i got from SMSPROV.LOG, I agree there is something weird with the database I don't know what; I already rebooted the database too.

View attachment 4954


PutInstanceAsync SMS_Boundary SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
IExtClassManager::ValidateAuthenticationLevel... SMS Provider 12/22/2022 8:24:13 AM 13372 (0x343C)
CExtProviderClassObject::DoPutInstanceInstance 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'S609215-AD01\gramachotsa', N'12/22/2022 16:24:13', N'S609215-AD01\gramachotsa', 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]A trigger returned a resultset and the server option 'disallow results from triggers' is true. : 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]A trigger returned a resultset and the server option 'disallow results from triggers' is true. : 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'S609215-AD01\gramachotsa', N'12/22/2022 16:24:13', N'S609215-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]A trigger returned a resultset and the server option 'disallow results from triggers' is true. : 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'S609215-AD01\gramachotsa', N'12/22/2022 16:24:13', N'S609215-AD01\gramachotsa', N'12/22/2022 16:24:13')~;~ select scope_identity() [42000][524][Microsoft][SQL Server Native Client 11.0][SQL Server]A trigger returned a resultset and the server option 'disallow results from triggers' is true. : 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'S609215-AD01\gramachotsa', N'12/22/2022 16:24:13', N'S609215-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)
Actually I do not see vSMS_Boundary_iu (see screenshot) in my CM Database (Site version 2207)so I am not sure what this table contains. What is your Site version? can you please check what data this table/view contains?
What you can try do is:
1. is your Discovery Methods - Active Directory Forest Discovery enabled (not sure if related but worth checking)?
2. Try run SQL Profiler to trace down the error and find why it throws the SQL error - ask help from DB team.
3. or if you are running lower site version - try installing the latest version so it will update SQL with missed tables/views or remove the ones which are not required. Site Version 2211 is also now available to install.

1671729159099.png
 
Actually I do not see vSMS_Boundary_iu (see screenshot) in my CM Database (Site version 2207)so I am not sure what this table contains. What is your Site version? can you please check what data this table/view contains?
What you can try do is:
1. is your Discovery Methods - Active Directory Forest Discovery enabled (not sure if related but worth checking)?
2. Try run SQL Profiler to trace down the error and find why it throws the SQL error - ask help from DB team.
3. or if you are running lower site version - try installing the latest version so it will update SQL with missed tables/views or remove the ones which are not required. Site Version 2211 is also now available to install.

View attachment 4956
Can you tell me where those tables are? I could not find it.

1672181668869.png
 
I am not sure why you are able to find just one table/views, might be DB access not sysadmin role. were your team members can create boundaries or can see other tables?
Have you tried any points suggested?
Believe me, I have tried everything, I'm almost giving up, and installing a new SCCM don't make any sense.
 
Finally, I got it solved after run the following sql query on the database.


USE master
GO



BEGIN
EXEC sp_configure 'show advanced options', 1;
RECONFIGURE
EXEC sp_configure 'disallow results from triggers', 0;
RECONFIGURE
END
 
Solution
Plus, I was not sysadmin of the database I truly believe that if you become sysadmin the problem is going to be solved.
 
Status
Not open for further replies.

Forum statistics

Threads
7,149
Messages
27,911
Members
18,209
Latest member
hboateng

Trending content

Back
Top