Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Error when adding distribution database to SQL 2014: using sp_adddistributiondb error: Destination path is not valid

$
0
0
I am trying to change the default mdf/ldf paths for a the distribution database when running sp_adddistributiondb and when I do so, I get the error"Destination path xxx is not valid. Unable to list directory contents. Specify a valid destination path." When I allow defaults by running exec sp_adddistributiondb @database = N'distribution', it works fine using the default sql install folder. The folder I am directing it to is the same folder other user databases are installed on and where I set the default user databases mdf/ldf log files to on install. This is standard edition, SQL 2014 a named instance. I did install replication components on install, the instance is on a fixed non-standard port.The sql server and agent service account has full rights on the folder. I compared the permissions with the default data folder that it will use when not specified and the only difference was the nt service\mssql$instance so I added that but still no luck. Any suggestions? Thank you

Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>