The Distributed Views do not get created in ConfigMgr 2012 SP1 because of the login issue.

This post has been republished via RSS; it originally appeared at: Configuration Manager Archive articles.

First published on TECHNET on Oct 18, 2013

https://blogs.technet.microsoft.com/umairkhan/2013/10/18/the-distributed-views-do-not-get-created-in-configmgr-2012-sp1-because-of-the-login-issue/

 

Hi Folks,

 

The below post in of the new feature (Distributed views) in the DRS that was introduced in the ConfigMgr 2012 SP1 release. Distributed view in simple terms avoid the flow of the site data across the hierarchy as the views directly can fetch the data from the primary database. The views get created on the CAS site. I had an issue where the Distrbuted views were not getting created on the CAS site. Below is the description -


Issue:

=====

The Distributed Views do not get created in ConfigMgr 2012 SP1 because of the login issue. The Link is active as its catering only the Global data.

 

RCMCtrl.log:

 

STATMSG: ID=7835 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_REPLICATION_CONFIGURATION_MONITOR" SYS=NDCSCCMCAS01.xxx.xxxx SITE=FMC PID=11016 TID=10600 GMTDATE=Tue Apr 30 14:12:35.637 2013 ISTR0="Keyboard_DATA" ISTR1="Microsoft.SqlServer.Management.Smo.FailedOperationException: Create failed for View 'dbo.Keyboard_DATA'.  ---> Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch. ---> S" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_REPLICATION_CONFIGURATION_MONITOR 30/04/2013 8:12:35 AM 10600 (0x2968)
 
SqlException number: [18456] SMS_REPLICATION_CONFIGURATION_MONITOR 30/04/2013 8:12:35 AM 10600 (0x2968)
 
Exception message: [Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.~~OLE DB provider "SQLNCLI11" for linked server "ndcsccmsql02.xxx.xxxx" returned message "Invalid connection string attribute".] SMS_REPLICATION_CONFIGURATION_MONITOR 30/04/2013 8:12:35 AM 10600 (0x2968)
 
Exception stack trace: [   at Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSql(ExecuteTSqlAction action, Object execObject, DataSet fillDataSet, Boolean catchException)~~   at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)] SMS_REPLICATION_CONFIGURATION_MONITOR 30/04/2013 8:12:35 AM 10600 (0x2968)
 
ERROR: Failed to configure view Keyboard_DATA. Please turn on verbose logging for more information. SMS_REPLICATION_CONFIGURATION_MONITOR 30/04/2013 8:12:35 AM 10600 (0x2968)
 
WARNING: Failed to configure view Keyboard_DATA. SMS_REPLICATION_CONFIGURATION_MONITOR 30/04/2013 8:12:35 AM 10600 (0x2968)

Environment:

===========

 

ConfigMgr 2012 SP1 CU1

CAS - Site code:  FMC  Site server- NDCSCCMCAS01

SQL 2012

Windwos 2012

this is where we are creating the distributed view
SQL / Provider : NDCSCCMSQL01

Primary- Site code: NSS : NDCSCCMNSS01

SQL/Provider : NDCSCCMSQL02

SQL 2012

Windows 2012

 

Findings:

=======

Testing from the Management studio:

-> logged onto SQL01, opened SSMS and tested connection to linked server - works - this is single hop

-> Logged onto SQL02, opened SSMS and tested connection to linked server - it fails with the same error Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

 

 

SPNs are registered correctly with FQDNs and port number but double hop delegation is false.

 

SPN_Account

Account: NDCSCCMSQL01$

Domain: DC=xx,DC=xxxx

DistinguishedName: LDAP://CN=NDCSCCMSQL01,OU=xxxx,OU=xxxx,OU=xxxx,OU=xxx,DC=xxx,DC=xxxx

AccountType:

User Account Control (UAC): 4096 (0x1000)

TrustedForDelegation: False

Sensitive: False

ConstrainedDelegationEnabled: False

 

Warning: Account must be trusted for delegation in order for Kerberos delegation to succeed.

 

We found NDCSCCMSQL01$ is missing 'trusted for delegation' property for double hop to work.

 

Once we enabled it. The ConfigMgr RCM was able to create the views and the site data went up to the CAS.

 

Hope it helps !!

 

Umair Khan

Support Escalation Engineer Microsoft System Center Configuration Manager  

Disclaimer: This posting is provided "AS IS" with no warranties and confers no rights

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.