SQL errors in SCCM 2012 Log
-
Tuesday, April 10, 2012 6:07 PM
Hello,
Every time that I attempt to create a new application package in SCCM 2012, it fails with the following errors in the logs. Any ideas?
*** *** Unknown SQL Error! $$<SMS Provider><04-10-2012 11:43:40.390+240><thread=2856 (0xB28)>
~*~*~*** Unknown SQL Error! ThreadID : 2856 , DbError: 50000 , Sev: 16~*~*~ $$<SMS Provider><04-10-2012 11:43:40.390+240><thread=2856 (0xB28)>
*** if (object_id('tempdb..#sp_setupci_resultstr') IS NOT NULL) select * from #sp_setupci_resultstr; else select N''; $$<SMS Provider><04-10-2012 11:43:40.390+240><thread=2856 (0xB28)>
*** [24000][0][Microsoft][SQL Server Native Client 10.0]Invalid cursor state $$<SMS Provider><04-10-2012 11:43:40.390+240><thread=2856 (0xB28)>
~*~*~[24000][0][Microsoft][SQL Server Native Client 10.0]Invalid cursor state *** Unknown SQL Error! ThreadID : 2856 , DbError: 0 , Sev: 0~*~*~ $$<SMS Provider><04-10-2012 11:43:40.391+240><thread=2856 (0xB28)>
*** if (object_id('tempdb..#sp_setupci_resultstr') IS NOT NULL) select * from #sp_setupci_resultstr; else select N'';;~ if (object_id('tempdb..#sp_setupci_resultstr') IS NOT NULL) drop table #sp_setupci_resultstr; $$<SMS Provider><04-10-2012 11:43:40.391+240><thread=2856 (0xB28)>
*** [24000][0][Microsoft][SQL Server Native Client 10.0]Invalid cursor state $$<SMS Provider><04-10-2012 11:43:40.391+240><thread=2856 (0xB28)>
~*~*~[24000][0][Microsoft][SQL Server Native Client 10.0]Invalid cursor state [24000][0][Microsoft][SQL Server Native Client 10.0]Invalid cursor state ThreadID : 2856 , DbError: 0 , Sev: 0~*~*~ $$<SMS Provider><04-10-2012 11:43:40.392+240><thread=2856 (0xB28)>
~*~*~e:\nts_sccm_release\sms\siteserver\sdk_provider\smsprov\ssputility.cpp(2105) : SQL command failed: if (object_id('tempdb..#sp_setupci_resultstr') IS NOT NULL) drop table #sp_setupci_resultstr;~ SQL Error: [24000][0][Microsoft][SQL Server Native Client 10.0]Invalid cursor state~*~*~ $$<SMS Provider><04-10-2012 11:43:40.392+240><thread=2856 (0xB28)>
~*~*~SQL command failed: if (object_id('tempdb..#sp_setupci_resultstr') IS NOT NULL) drop table #sp_setupci_resultstr; [24000][0][Microsoft][SQL Server Native Client 10.0]Invalid cursor state~*~*~ $$<SMS Provider><04-10-2012 11:43:40.392+240><thread=2856 (0xB28)>
ERROR: SQL command failed: if (object_id('tempdb..#sp_setupci_resultstr') IS NOT NULL) drop table #sp_setupci_resultstr;~ $$<SMS Provider><04-10-2012 11:43:40.393+240><thread=2856 (0xB28)>
All Replies
-
Wednesday, April 11, 2012 9:55 AMWhat is SQL Server edition and version?
http://uk.linkedin.com/in/ramjaddu
-
Wednesday, April 11, 2012 1:57 PM
It's SQL 2008 R2 SP1 with CU4....
I opened up a Microsoft ticket and they asked me to ensure that the TRUSTWORTHY option was enabled/ON for the database, however I'm still having this issue even with the TRUSTWORTHY option enabled.
-
Thursday, April 12, 2012 7:04 AMModerator
Hi DavidPCF,
Thank you for your update.
Regarding to the error message and your description, seems might be related to SCCM issue. It’s better for you to link to System Center Configuration Manager forums http://social.technet.microsoft.com/Forums/en/category/configurationmanager
For SCCM12 issue please redirect to appropriate forum for better responses http://innovation.connect.microsoft.com/discussions?ProjectName=configmgrbeta.Regards, Amber zhang
- Marked As Answer by amber zhangModerator Wednesday, April 18, 2012 6:24 AM

