Debugger Error: "The system tried to join a drive to a directory on a joined drive."

When trying to start the debugger, in the Debugger Console I get the message, “The system tried to join a drive to a directory on a joined drive.” Then debug mode turns off.

The strange thing is, the debugger used to work. I’m currently on AS 4.9, but I used to have this issue on AS 4.5. In both cases, the debugger worked for a while after installation, but then it quit for no apparent cause. I believe that reinstalling AS 4.5 didn’t fix it.

Does anybody know what the joined drive might be? Maybe in Windows I need to go clean something up?

Hi, I have no idea. but google says: The error message “The system tried to join a drive to a directory on a joined drive” typically occurs on Windows systems. It means that the system is trying to mount or map a drive (e.g., a network drive or a virtual drive) to a directory that is already part of another mounted drive. This is not allowed in Windows. Qustions from me, do you start Automation Studio as a admin?Do you have one automation studio open or more? do you have some more IDE opens at the same time?

Hi Rachel, can you update us about your findings and close this topic? :slight_smile:

I just solved this today. It was not multiple AS editions, running as admin or another IDE conflicting.

The debugger message said it was trying to connect to 127.0.0.1:2323.

When I ran the following command, I saw that port 2323 was excluded and couldn’t bind.
netsh interface ipv4 show excludedportrange protocol=tcp

A stack overflow post said that Windows Hyper-V could be excluding those ports, which I had used for trialing some things with Docker a long time ago. I ran this command to disable Hyper-V.
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V

After a restart, the debugger now works.

Links that helped me get to the solution:

https://stackoverflow.com/questions/48478869/cannot-bind-to-some-ports-due-to-permission-denied/62359555#62359555

1 Like