sql server - Why I cannot connect to remote database when using tablediff.exe? -


i trying sync tables on differenet servers (local 1 , remote one) using code rum command prompt:

"c:\program files\microsoft sql server\120\com\tablediff.exe" -sourceserver localpc\sql2014 -sourcedatabase localdb -sourceschema sche -sourcetable table1 -destinationserver remotepc\sqlexpress -destinationdatabase remotedb -destinationschema sche -destinationtable table1 -et difference -f d:\table1_differences.sql 

but recieve error : unable access database remotedb

the local db sql server 2014 express edition remote db sql server 2014 express edition firewall turned off. assigned admin user logon account sql service on remote server.

note can connect remote db c# application or local sql server . thanks,

solved assigning -destinationuser , -destinationpassword parameters


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -