none
Lync Client Can't Download Address List and other problems

    Question

  • We're currently in the process of testing for a production Lync Server 2010 deployment and we're run into some problems. I've been digging around on the Internet and the Technet forums but can't find a solution to this problem.

    Whenever someone logs in with the Lync Client, they are immediately presented with prompts for user credentials. No credentials work. When you cancel out, you can still chat, but there is an error that says the Address Book can't be downloaded. I've confirmed that the SSL certificate works, I've made sure the Kerberos Account is configured properly, I've reinstalled the Web Components, and I've tried numerous other solutions I've found for this issue. Nothing seems to fix the problem. When I try to run test-csaddressbookservice in the Management Shell, I get the following:

    cmdlet Test-CsAddressBookService at command pipeline position 1
    Supply values for the following parameters:
    UserSipAddress: sip:user@company.com
            Connecting to web service : https://lync-pool1.company.com:443
    /WebTicket/WebTicketService.svc
            Using IWA authentication
            Successfully created connection proxy and website bindings
            Requesting new web ticket
            Sending Web-Ticket Request: <s:Envelope xmlns:s="http://schemas.xmlsoap.
    org/soap/envelope/">
      <s:Header>
        <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/
    addressing/none">http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue</Act
    ion>
      </s:Header>
      <s:Body>
        <RequestSecurityToken xmlns="http://docs.oasis-open.org/ws-sx/ws-trust/20051
    2">
          <TokenType>http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1
    #SAMLV1.1</TokenType>
          <RequestType>http://schemas.xmlsoap.org/ws/2005/02/trust/Issue</RequestTyp
    e>
          <AppliesTo xmlns="http://schemas.xmlsoap.org/ws/2004/09/policy">
            <EndpointReference xmlns="http://www.w3.org/2005/08/addressing">
              <Address>https://lync-pool1.company.com/WebTicket/WebTicketS
    ervice.svc</Address>
            </EndpointReference>
          </AppliesTo>
          <Entropy>
            <BinarySecret>I+ZKYvJkkqcD57OPeOX7MG6Tp8S4PhvMUOI6ZPKP/vg=</BinarySecret
    >
          </Entropy>
          <KeyType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/SymmetricKey</Ke
    yType>
        </RequestSecurityToken>
      </s:Body>
    </s:Envelope>
            Web-Ticket response: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soa
    p/envelope/">
      <s:Header />
      <s:Body>
        <s:Fault>
          <faultcode xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommun
    icationfoundation/dispatcher">a:InternalServiceFault</faultcode>
          <faultstring xml:lang="en-US">The server was unable to process the request
     due to an internal error.  For more information about the error, either turn on
     IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from th
    e &lt;serviceDebug&gt; configuration behavior) on the server in order to send th
    e exception information back to the client, or turn on tracing as per the Micros
    oft .NET Framework 3.0 SDK documentation and inspect the server trace logs.</fau
    ltstring>
        </s:Fault>
      </s:Body>
    </s:Envelope>


    TargetUri  : https://lync-pool1.company.com:443/abs/handler
    TargetFqdn : lync-pool1.company.com
    Result     : Failure
    Latency    : 00:00:00
    Error      : Failed to get a web ticket.

    Diagnosis  :

    I'm not real sure what to make of this. Any thoughts?

    • Moved by Noya LauModerator Wednesday, February 15, 2012 2:54 AM (From:Lync Clients and Devices)
    Tuesday, February 07, 2012 11:08 PM

Answers

  • The problem ended up requiring us to uninstall both the Web Components and IIS on the Lync server, then reinstall them.
    • Marked as answer by acbrown2010 Thursday, February 09, 2012 4:28 AM
    Thursday, February 09, 2012 4:28 AM

All replies

  • You Webticket authentication is not working.

    Please make sure that Certificate Based Authentication is enabled in Lync


    - Belgian Unified Communications Community : http://www.pro-lync.be -

    Wednesday, February 08, 2012 9:33 AM
  • Certificate Based Authentication is already enabled.
    Wednesday, February 08, 2012 5:10 PM
  • I agree with Deli , you failed to get a web ticket due to an internal error in the server.  you can use Lync Server 2010 Logging Tool to get more information about the error in lync server.
    Thursday, February 09, 2012 2:09 AM
  • The problem ended up requiring us to uninstall both the Web Components and IIS on the Lync server, then reinstall them.
    • Marked as answer by acbrown2010 Thursday, February 09, 2012 4:28 AM
    Thursday, February 09, 2012 4:28 AM
  • Can you tell me how you reinstalled Web Components please?
    • Proposed as answer by Marcos MKS Thursday, March 22, 2012 12:05 AM
    Thursday, March 15, 2012 12:08 PM
  • Can you tell me how you reinstalled Web Components please?

    Thursday, March 22, 2012 12:06 AM
  • Same issue

    when i try the command directly on the frontend it works form a another computer (mediation and monitoring computer) not

    i spend 2 days for configuring and be sure that the ab worksfine and well generated. Im sure that all the file for AB is present on the Share, i have checked the rights.. it is ok

    i found no issue and i dont want to uninstall web componant. ABS has always been a nightmare , since OCS , lync continue . each time we deploy lync we spend lots off time to resolve AB download.

    i think i will open a case support

    Laurent Teruin


    lteruin@hotmail.com http://unifiedit.wordpress.com/

    Tuesday, September 25, 2012 12:02 PM
  • Hi Laurent

    Did you find a solution on your problem?

    Best regards Henrik

    Thursday, October 17, 2013 1:05 PM
  • My situation was somewhat different but running Test-CsAddressBookService would fail with error:

    'The remote server returned an error: (404) Not Found.'

    All clients were unable to retrieve contact unless the full sip address was entered.

    Environment.

    Server: Lync2013 STD

    Client: Lync2010

    Did the following:

    Checked replication under the Topology tab in CSCP- mine had a green check.

    Reinstalled .net 4.5 via add/remove programs

    Registed .net by running the following from an elevated cmd (run from .net folder) : aspnet_regiss.exe -I

    uninstalled Lync webcomponents from add/remove programs

    From Lync install media- reinstalled webcomponents.msi (browse to \Setup\amd64\Setup)

    Checked IIS>Application Pool and ensured all ASP.NET and Lync components are set to v4.0 of the .Net Framework Version

    Launched the Lync setup and reran step 2: Stetup or Remove Lync Server Components.

    Reran Test-CsAddressBookService:  successful

    Tested Lync client: Successful

    Friday, June 20, 2014 7:27 AM