Error: Remote computer could not initiate DCOM communications
A DCOM error occurred when the remote machine tried to communicate with the local machine. The local machine is the machine that is
running Visual Studio. This error can occur for several reasons:
The local machine has a firewall enabled.
Windows authentication from the remote machine to the local machine is not working.
To correct this error
If the local 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.
Test Windows authentication by trying to open a file share on the local machine from the remote server.
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.