Home

CMPivot from CAS - Issues

%3CLINGO-SUB%20id%3D%22lingo-sub-876657%22%20slang%3D%22en-US%22%3ECMPivot%20from%20CAS%20-%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-876657%22%20slang%3D%22en-US%22%3E%3CP%3EHas%20anyone%20tired%20CMPivot%20from%20CAS%3F%20with%20Double%20hop%20scenario%2C%20I%20have%20defined%20the%26nbsp%3B%3CSPAN%3Econstrained%20delegation.%20Any%20query%20is%20being%20passed%20from%20CAS%20to%20Primary%20and%20eventually%20clients%2C%20clients%20return%20the%20results%20and%20getting%20stored%20in%20primary%20DB%2C%20however%20the%20CMPivot%20window%20in%20CAS%20displays%20the%20following%20error%20%22Unable%20to%20access%20data%22.%20Followed%20by%20the%20below%20error%20on%20SMSprovider.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EInvalid%20object%20name%20'dbo.cmpivotresult'.%20%3A%20vSMS_CMPivotTask%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECould%20not%20use%20view%20or%20function%20'vSMS_CMPivotTask'%20because%20of%20binding%20errors.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECould%20not%20use%20view%20or%20function%20'vSMS_CMPivotTask'%20because%20of%20binding%20errors.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20i%20try%20to%20find%20the%20view%20on%20the%20CAS%20DB%20i%20could%20not%20find%20one%2C%20not%20sure%20why%20then%20this%20view%20is%20being%20referred.%20Eventually%20the%20CMPivot%20is%20not%20working%20from%20CAS.%3C%2FP%3E%3CP%3EAny%20help%20will%20be%20highly%20appreciated%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-876657%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECM%20current%20branch%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-889605%22%20slang%3D%22en-US%22%3ERe%3A%20CMPivot%20from%20CAS%20-%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-889605%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F415599%22%20target%3D%22_blank%22%3E%40Sudar123%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EvSMS_CMPivotTask%26nbsp%3B%20should%20be%20there%20on%20CAS%20and%20primary%20site%20database.%20It%20has%20dependency%20on%20the%20view%20CMPivotResult.%3C%2FP%3E%0A%3CP%3EThe%20error%20you%20saw%20means%20on%20the%20CAS%2C%20it%20has%20not%20successfully%20configured%20the%20SQL%20object%20CMPivotResult%2C%20that%20usually%20means%20the%20kerberos%20delegation%20is%20not%20configured%20properly.%20Or%20SPN%20for%20the%20SQL%20service%20is%20not%20registered%20properly.%3C%2FP%3E%0A%3CP%3EOn%20CAS%20site%20server%2C%20can%20you%20check%20rcmctrl.log%20to%20see%20if%20there%20is%20any%20error%20configuring%20the%20SQL%20object%20CMPivotResult%20(On%20CAS%2C%20it%20should%20be%20converted%20to%20a%20view%20that%20does%20distributed%20query%20against%20the%20primary%20site%20database%2C%20if%20CAS%20site%20server%20has%20permission%20to%20make%20the%20configuration)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%3C%2FP%3E%0A%3CP%3ERichard%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-916509%22%20slang%3D%22en-US%22%3ERe%3A%20CMPivot%20from%20CAS%20-%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-916509%22%20slang%3D%22en-US%22%3E%3CP%3Ehi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F418996%22%20target%3D%22_blank%22%3E%40Richard_ConfigMgr%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20have%20the%20same%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Einside%20the%20rcmctrl.log%2C%20i%20have%20this%20messages%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3Efailed%20to%20create%20view%20CMPivotResult.%20SMS_REPLICATION_CONFIGURATION_MONITOR%2016.10.2019%2010%3A46%3A12%207732%20(0x1E34)%0AError%3A%20Failed%20to%20configure%20view%20CMPivotResult.%20Please%20turn%20on%20verbose%20logging%20for%20more%20information.%20SMS_REPLICATION_CONFIGURATION_MONITOR%2016.10.2019%2010%3A46%3A12%207732%20(0x1E34)%0ASTATMSG%3A%20ID%3D7839%20SEV%3DI%20LEV%3DM%20SOURCE%3D%22SMS%20Server%22%20COMP%3D%22SMS_REPLICATION_CONFIGURATION_MONITOR%22%20SYS%3DCASSERVER.DOMAIN.NET%20SITE%3DCAS%20PID%3D2592%20TID%3D7732%20GMTDATE%3DMi.%20Okt%2016%2008%3A46%3A12.670%202019%20ISTR0%3D%22CMPivot%20CAS%22%20ISTR1%3D%22%22%20ISTR2%3D%22%22%20ISTR3%3D%22%22%20ISTR4%3D%22%22%20ISTR5%3D%22%22%20ISTR6%3D%22%22%20ISTR7%3D%22%22%20ISTR8%3D%22%22%20ISTR9%3D%22%22%20NUMATTRS%3D0%20SMS_REPLICATION_CONFIGURATION_MONITOR%2016.10.2019%2010%3A46%3A12%207732%20(0x1E34)%0ASTATMSG%3A%20ID%3D7838%20SEV%3DI%20LEV%3DM%20SOURCE%3D%22SMS%20Server%22%20COMP%3D%22SMS_REPLICATION_CONFIGURATION_MONITOR%22%20SYS%3DCASSERVER.DOMAIN.NET%20SITE%3DCAS%20PID%3D2592%20TID%3D7732%20GMTDATE%3DMi.%20Okt%2016%2008%3A46%3A12.748%202019%20ISTR0%3D%22CMPivot%20CAS%22%20ISTR1%3D%22%22%20ISTR2%3D%22%22%20ISTR3%3D%22%22%20ISTR4%3D%22%22%20ISTR5%3D%22%22%20ISTR6%3D%22%22%20ISTR7%3D%22%22%20ISTR8%3D%22%22%20ISTR9%3D%22%22%20NUMATTRS%3D0%20SMS_REPLICATION_CONFIGURATION_MONITOR%2016.10.2019%2010%3A46%3A12%207732%20(0x1E34)%0AProcessing%20Replication%20success.%20SMS_REPLICATION_CONFIGURATION_MONITOR%2016.10.2019%2010%3A46%3A13%207732%20(0x1E34)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3Eif%20i%20configure%20Verbose%20logging%20for%26nbsp%3BSMS_REPLICATION_CONFIGURATION_MONITOR%2C%20there%20wouldn't%20any%20other%20messages%20created%20for%20CMPivotResult%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Edo%20you%20have%20any%20idea%2C%20what%20i%20can%20do%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-935334%22%20slang%3D%22en-US%22%3ERe%3A%20CMPivot%20from%20CAS%20-%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-935334%22%20slang%3D%22en-US%22%3EI%20am%20still%20facing%20this%20issue%2C%20as%20you%20have%20mentioned%20i%20tried%20long%20back%20enabling%20verbose%20logging%2C%20nothing%20additional%20is%20getting%20logged%20%3A(%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-937205%22%20slang%3D%22en-US%22%3ERe%3A%20CMPivot%20from%20CAS%20-%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-937205%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F415599%22%20target%3D%22_blank%22%3E%40Sudar123%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20make%20sure%20the%20verbose%20logging%20is%20enabled%2C%20you%20will%20need%20to%20update%20%3CCMINSTALLDIR%3E%5Cbin%5Cx64%5Csmsexec.exe.config%20and%20change%20the%20value%20of%20switchValue%20to%20Verbose%3C%2FCMINSTALLDIR%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%20%3CSYSTEM.DIAGNOSTICS%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSOURCES%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSOURCE%20name%3D%22%26quot%3BSMS_REPLICATION_CONFIGURATION_MONITOR%26quot%3B%22%20switchvalue%3D%22%26quot%3BVerbose%26quot%3B%22%3E%3CBR%20%2F%3E...%3C%2FSOURCE%3E%3C%2FSOURCES%3E%3C%2FSYSTEM.DIAGNOSTICS%3E%3C%2FP%3E%0A%3CP%3Eand%20make%20sure%20to%20restart%20SMS_Executive%20service%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnd%20again%2C%20double%20check%20the%20SQL%20server%20configurations%20regarding%20to%20Kerberos.%3C%2FP%3E%0A%3CP%3EYou%20can%20check%20the%20SQL%20server%20log%20on%20the%20primary%20site%20SQL%20server%20to%20see%20if%20there%20is%20any%20Kerberos%20related%20error.%3C%2FP%3E%0A%3CP%3EBesides%20the%20delegation%20configuration%2C%20make%20sure%20the%20SQL%20svc%20SPN%20get%20published%20also.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-969306%22%20slang%3D%22en-US%22%3ERe%3A%20CMPivot%20from%20CAS%20-%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-969306%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F427134%22%20target%3D%22_blank%22%3E%40Josua_Burkard%3C%2FA%3E%26nbsp%3Bare%20you%20sure%20constrained%20delegation%20is%20working%3F%20And%20is%20the%20local%20group%20for%20ConfigMgr_DViewAccess%20populated%3F%20An%20ugly%20work-around%20could%20be%20to%20make%20your%20own%20linked%20server%20with%20a%20local%20SQL%20ID.%20I%20recall%20doing%20that%20long%20enough%20for%20CM%20to%20create%20the%20view.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Sudar123
New Contributor

Has anyone tired CMPivot from CAS? with Double hop scenario, I have defined the constrained delegation. Any query is being passed from CAS to Primary and eventually clients, clients return the results and getting stored in primary DB, however the CMPivot window in CAS displays the following error "Unable to access data". Followed by the below error on SMSprovider.

 

Invalid object name 'dbo.cmpivotresult'. : vSMS_CMPivotTask

Could not use view or function 'vSMS_CMPivotTask' because of binding errors.

Could not use view or function 'vSMS_CMPivotTask' because of binding errors.

 

When i try to find the view on the CAS DB i could not find one, not sure why then this view is being referred. Eventually the CMPivot is not working from CAS.

Any help will be highly appreciated 

5 Replies

@Sudar123 

vSMS_CMPivotTask  should be there on CAS and primary site database. It has dependency on the view CMPivotResult.

The error you saw means on the CAS, it has not successfully configured the SQL object CMPivotResult, that usually means the kerberos delegation is not configured properly. Or SPN for the SQL service is not registered properly.

On CAS site server, can you check rcmctrl.log to see if there is any error configuring the SQL object CMPivotResult (On CAS, it should be converted to a view that does distributed query against the primary site database, if CAS site server has permission to make the configuration)

 

Thanks

Richard

hi @Richard_ConfigMgr 

i have the same issue.

 

inside the rcmctrl.log, i have this messages:

failed to create view CMPivotResult. SMS_REPLICATION_CONFIGURATION_MONITOR 16.10.2019 10:46:12 7732 (0x1E34)
Error: Failed to configure view CMPivotResult. Please turn on verbose logging for more information. SMS_REPLICATION_CONFIGURATION_MONITOR 16.10.2019 10:46:12 7732 (0x1E34)
STATMSG: ID=7839 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_REPLICATION_CONFIGURATION_MONITOR" SYS=CASSERVER.DOMAIN.NET SITE=CAS PID=2592 TID=7732 GMTDATE=Mi. Okt 16 08:46:12.670 2019 ISTR0="CMPivot CAS" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_REPLICATION_CONFIGURATION_MONITOR 16.10.2019 10:46:12 7732 (0x1E34)
STATMSG: ID=7838 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_REPLICATION_CONFIGURATION_MONITOR" SYS=CASSERVER.DOMAIN.NET SITE=CAS PID=2592 TID=7732 GMTDATE=Mi. Okt 16 08:46:12.748 2019 ISTR0="CMPivot CAS" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_REPLICATION_CONFIGURATION_MONITOR 16.10.2019 10:46:12 7732 (0x1E34)
Processing Replication success. SMS_REPLICATION_CONFIGURATION_MONITOR 16.10.2019 10:46:13 7732 (0x1E34)

if i configure Verbose logging for SMS_REPLICATION_CONFIGURATION_MONITOR, there wouldn't any other messages created for CMPivotResult

 

do you have any idea, what i can do?

I am still facing this issue, as you have mentioned i tried long back enabling verbose logging, nothing additional is getting logged :(

@Sudar123 

Please make sure the verbose logging is enabled, you will need to update <CMInstallDir>\bin\x64\smsexec.exe.config and change the value of switchValue to Verbose

  <system.diagnostics>
    <sources>
      <source name="SMS_REPLICATION_CONFIGURATION_MONITOR" switchValue="Verbose" >
...

and make sure to restart SMS_Executive service

 

And again, double check the SQL server configurations regarding to Kerberos.

You can check the SQL server log on the primary site SQL server to see if there is any Kerberos related error.

Besides the delegation configuration, make sure the SQL svc SPN get published also.

 

Thanks

@Josua_Burkard are you sure constrained delegation is working? And is the local group for ConfigMgr_DViewAccess populated? An ugly work-around could be to make your own linked server with a local SQL ID. I recall doing that long enough for CM to create the view.

Related Conversations
collaboration and coauthoring issues in teams
Ethan Stern in Microsoft Teams on
6 Replies
Set Auto Refresh to Pivot Table as Source Data Changes
ratishkp in Excel on
2 Replies
Planner mobile on IOS issue to comment
ermedina in Microsoft Teams on
3 Replies
alert on External Sharing event
nExoR nExoiS in Microsoft Cloud App Security on
1 Replies