Error: Unable to initiate DCOM communication
For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.
A DCOM error occurred when the local machine tried to communicate with the remote machine. This is caused by a firewall on the remote server or broken Windows authentication on the remote machine.
If the remote machine has Windows Firewall enabled, see Set Up the Remote Tools on the Device for instructions about how to configure the firewall for local debugging.
To restore Windows authentication, try rebooting both machines. Examine event logs on local and remote machines for Kerberos errors and contact domain administrators for known problems.