When trying to remote debug, I can connect to the msvsmon service on the remote machine, but for some reason the connection request is rejected by the remote debugger.
The error I get is:
2021/07/27 09:21:47.144|Could not retrieve processes:
System.Runtime.InteropServices.COMException (0x8004076B): Connection request was rejected by the remote debugger. Ensure that the remote debugger is running in 'Windows Authentication' mode.
at EnvDTE100.Debugger5.GetProcesses(Transport pTransport, String TransportQualifier)
at Skyline.VSX.ProtocolEditor.Toolwindows.ViewModel.QActionDllManager.AttachToSLScripting()
I have made sure to run both visual studio 2019 as Administrator on my local machine and the msvsmon.exe as administrator on the remote machine. I have also ensured that under Tools of the remote debugging service Windows Authentication mode is selected and given permissions to the "Everyone" under the Group or user names section, see screenshots attached.
Does anyone have any idea what I'm missing here?
Thank you,
Ryan
Could you please try to connect to the remote debugger via Visual Studio itself instead of DIS? That can be done via Debug > Attach to Process, and following the instructions that can be found here. Maybe that will provide you a more detailed error message and explanation of how to solve it.