Page 1 of 1

TC closes on connection to network share

Posted: 2019-09-19, 12:51 UTC
by wanderer
Here is the case:

- Windows XP (yes i know) in a vbox VM.
- TC 9.22a (x32 of course).

CTRL + D, I have saved a certain network dir and also the "target dir", which is also a networked one (actually it's the same PC, accessed via network (C$)). The main dir requires a password to connect because the currently logged in used does not have access to that network share.

As soon as i "CTRL + D" and then click on that dir, TC just closes - no error message. In the dir menu, i added the same directory in a new entry, without the "target dir" though. Clicking on that, it works as expected, it asks for a username and password.

P.S.: I don't know if this happens on other OSs, it's not easy to test atm, from the general behavior though, it doesn't seem to be os-dependent.

Re: TC closes on connection to network share

Posted: 2019-09-20, 13:43 UTC
by ghisler(Author)
Would the target also require a user name and password? It sounds like the two dialogs interfere with each other somehow.

Re: TC closes on connection to network share

Posted: 2019-09-23, 06:31 UTC
by wanderer
No, the target is the pc i'm on, i just accessed it via network instead of accessing the drive directly.

To better explain it, i'm using the same INI in both PCs, so i entered both drives as network shares.

Re: TC closes on connection to network share

Posted: 2019-09-23, 13:49 UTC
by ghisler(Author)
Try setting
UseShellConnect=-1
in wincmd.ini under [Configuration] - this tells TC to use its own user name and password dialogs. I had some reports that the Windows dialog crashes with certain display drivers.

Re: TC closes on connection to network share

Posted: 2019-09-24, 09:41 UTC
by wanderer
I tried "UseShellConnect=-1" today. I don't know if the display driver is to be blamed, but this setting fixed the problem. With TC's own dialogs, no crashes.
ghisler(Author) wrote: 2019-09-23, 13:49 UTCI had some reports that the Windows dialog crashes with certain display drivers.
Thanks for the tip Christian.

Re: TC closes on connection to network share

Posted: 2019-09-26, 13:42 UTC
by ghisler(Author)
Just a warning: It will still crash if you try to go to \\servername and not directly to \\servername\share (or network drive letter pointing to it), because Windows will display its own connect dialog automatically when you try to open \\servername.

Re: TC closes on connection to network share

Posted: 2019-09-26, 16:20 UTC
by wanderer
OK, Christian, thanks.

I have removed the "UseShellConnect=-1" setting from my INI however, because i realized that without it, when the password was the same in both PCs, TC connected directly without displaying any Windows password dialog. When i introduced "UseShellConnect=-1", TC always displayed its own dialog, even when the password was the same in both CPs and it could connect without asking for it.