Lync MVP

Lync MVP
MVP AWARD

Thursday, January 17, 2013

Cannot open database "xds" requested by the login. The login failed.Login failed for user

When something went wrong during any Lync Installation, e.g. Topology was published with Errors and you tried to install a Lync Server, e.g. SBS, STD Edt, ...

You might see the following Error:
Cannot open database "xds" requested by the login.
The login failed.Login failed for user DOMAIN\ADMINUSER


If this is happened,

you fully need to uninstall:

1.) All Lync Server Components, beside:
- Administrative Tools, Core Components, Resources Kit (if ist installed)

2.) The entire local SQL Instance, including Client Tools !
- Ensure, also the local Folder: C:\Program Files\Microsoft SQL Server\MSSQL10.RTCLOCAL is entirely deleted!


3.) Restart your Server now.

If you are now going to reinstall Lync Server,

4.) make sure the Registry Key is clean:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
PendingFileRenameOperations


NOTE:
should the Lync Server Replica Replicator Agent should not have been proper uninstalled.
You Need to uninstall all Lync components including the exemptions listed above.
(RegKey: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Service\REPLICA)
The Replica Replicator Service is part from Lync Core Components!


and delete the following Folder:
C:\Program Files\Microsoft Lync Server
C:\Program Files\Common Files\Microsoft Lync Server 2010



Here you go and the Server can be reinstalled...!

4 comments:

  1. Thanks for explanation, it is pretty much simple.

    ReplyDelete
  2. Thanks, we had to do this today. Lync 2013 FE Enterprise install with SQL 2008 R2 latest SP back end. Hope Microsoft will look into these repeated failures -- lots of people finding the same issue it seems.

    ReplyDelete
  3. I am getting same error on edge server, edge is domain joined. Any help on that?

    ReplyDelete
    Replies
    1. Hi Ahmad,
      you have several issues.
      1. Edge MUST NOT a domain joined computer.

      So you need fully uninstall EDGE with all Lync components!
      Than reinstall after you disjoined the computer.
      make sure you fully follow the recommendations for Edge server.

      Delete