Server channel security authorization failed for client {NT AUTHORITY\NETWORK SERVICE}

Answered Server channel security authorization failed for client {NT AUTHORITY\NETWORK SERVICE}

  • 2012年6月19日 6:36
     
     

    Guys,

    SQL-server as "Cache Provider"

    Im getting the below exception when i changed the application pool identity as "Network Service", it was working fine if the application pool identy is "ApplicationPoolIdentity".

    Server channel security authorization failed for client {NT AUTHORITY\NETWORK SERVICE}. To grant access, use Grant-CacheAllowedClientAccount command

    I have granted the account in the powersheel, In InetMgr my system name is
               Kumar(NMCINTRA\Venkata_kumar)

    I have granted the account in powershell as follows NMCINTRA\Venkata_kumar, i crossed checked the account using Get-CacheAllowedClientAccounts also..is there any wrong in giving the account name ?

    any one pls help me in understanding where im going wrong !!

全部回复

  • 2012年6月20日 5:13
     
     
    any one faced this issue ?
  • 2012年6月21日 4:41
     
     已答复 包含代码

    you need to grant access to the account your cache client is using.

    From the link

    http://msdn.microsoft.com/en-us/library/ff921012(v=azure.10).aspx

    Note that if the client application is running as a built-in machine account, such as "NT Authority\Network Service", you can grant the machine access to the cache cluster. To do this, use the machine account, which is the domain name and machine name with an appended dollar sign. The following example grants cache cluster access to a machine named Server1 in a domain named DOMAIN1.

    Grant-CacheAllowedClientAccount -Account "DOMAIN1\Server1$"
    


    MSFT

  • 2012年6月22日 7:07
     
     
    Thanks alot, it solved my problem !