Monday, March 2, 2015

Can't Publish Lync 2013 Topology

Important note to self:

If you have installed SQL express and uninstalled SQL express on a Lync 2013 Standard edition deployment make sure you delete the CSdata folder and all database files before republishing topology otherwise the system will throw an exception that it can't attach to the XDS database with an access denied message..













Trying to connect to Sql Server LyncFE1.acme.com\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 2100.
Sql version is acceptable.
Validating parameters...
DbName xds validated.
SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
DbFileBase xds validated.
DbPath C:\CsData\CentralMgmtStore\rtc\DbPath validated.
Effective database Path: \\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\DbPath.
LogPath C:\CsData\CentralMgmtStore\rtc\LogPath validated.
Effective Log Path: \\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\LogPath.
Checking state for database xds.
Checking state for database xds.
Checking state for database xds.
State of database xds is detached.
Attaching database xds from Data Path \\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\DbPath, Log Path \\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\LogPath.
Attaching Database xds. Data Path \\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\DbPath\xds.mdf, Log Path \\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\LogPath\xds.ldf.
Failed to attach database xds from Data Path \\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\DbPath\xds.mdf, Log Path \\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\LogPath\xds.ldf.
Directory lookup for the file "\\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\DbPath\xds.mdf" failed with the operating system error 5(Access is denied.).
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.LisDatabase'****
Initializing DbSetupBase
Parsing parameters...
Found Parameter: SqlServer Value LyncFE1.acme.com\rtc.
Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
Found Parameter: Adminacct Value acme\RTCUniversalServerAdmins.
Found Parameter: Roacct Value acme\RTCUniversalReadOnlyAdmins.
Found Parameter: DbPath Value C:\CsData\CentralMgmtStore\rtc\DbPath.
Found Parameter: LogPath Value C:\CsData\CentralMgmtStore\rtc\LogPath.
Trying to connect to Sql Server LyncFE1.acme.com\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 2100.
Sql version is acceptable.
Validating parameters...
DbName lis validated.
SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
DbFileBase lis validated.
DbPath C:\CsData\CentralMgmtStore\rtc\DbPath validated.
Effective database Path: \\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\DbPath.
LogPath C:\CsData\CentralMgmtStore\rtc\LogPath validated.
Effective Log Path: \\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\LogPath.
Checking state for database lis.
Checking state for database lis.
State of database lis is detached.
Attaching database lis from Data Path \\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\DbPath, Log Path \\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\LogPath.
Attaching Database lis. Data Path \\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\DbPath\lis.mdf, Log Path \\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\LogPath\lis.ldf.
Failed to attach database lis from Data Path \\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\DbPath\lis.mdf, Log Path \\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\LogPath\lis.ldf.
Directory lookup for the file "\\LyncFE1.acme.com\C$\CsData\CentralMgmtStore\rtc\DbPath\lis.mdf" failed with the operating system error 5(Access is denied.).

2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Very helpful Post!!! This is the first time I have read a post like this. ! Visit :- Skype Technical Support Also Call +1-800-231-4635 USA (Toll Free).

    ReplyDelete