Network Access - again

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
rlh
Posts: 19
Joined: 08 Mar 2010 09:58

Network Access - again

Post by rlh »

I have just upgraded from 12.x to 17.40.0200, mainly because I hoped that the handling of Network shares would be better (it was a little flakey e.g. not displaying other hosts sometimes, and sometimes appearing to 'hang on to them' when they have been removed (e.g. powered down)). Unfortunately, it seems at first glance to be no better, maybe worse sometimes.

As this problem appears to have been bugging :wink: you for a while, I have done the tests below, hopefully they provide some help.

My network is Windows 7 --> XP --> Win2k. XY is running on the W7 system. For the following tests I have left the XP powered off at all times.

I read your thread 'Network Access' started by user raananb on 22-Nov-2015, and went through the actions you suggested to him. Certainly, setting NetworkNetServerEnum=1 works for me insofar as the target became immediately visible, and would become inaccessible when it was powered down, then accessible again when powered up. But then I set Enum back to 0, and it continued to respond in the same way as when it was set to 1. Note that after each alteration of Enum I saved the config file and did 'Menu -> File -> Restart without Saving'. Windows 7 was running the whole time through this test.

I then powered down both the W7 and Win2k systems, then restarted the W7. When it was up and running XY, Network naturally did not show the Win2k system. I then booted the Win2k system, but XY did not find it (double-clicking on 'Network', or right-clicking --> Browse for Network Server ... still no result, it wasn't displayed in the Browse window, nor in the XY tree).

I then set Enum back to 1, saved the file, and did 'Menu -> File -> Restart without Saving' and the Win2k system was immediately found and all shares were accessible.

Leaving Enum = 1, I shut down both systems, then restarted W7 and ran XY. Naturally no Win2k system was found. I then booted the Win2k system, but XY still did not show it. Now things become slightly different; Double-clicking on 'Network' had no effect, but right-clicking --> Browse for Network Server ... showed the Win2k system in the 'Browse for Network Server ...' window. However, after closing the window it still did not get displayed in the XY tree. Right-clicking, highlighting the Win2k system and then clicking 'OK' caused it to be displayed immediately in the XY tree and I could access it at will.

I can repeat these tests tomorrow using the XP system instead of the Win2k, if you think that may be useful. Or anything else that may help.

Roger

rlh
Posts: 19
Joined: 08 Mar 2010 09:58

Re: Network Access - again

Post by rlh »

I have just had a look at the release notes for the Beta version v16.00.0106 - 2015-11-22 16:40 (released in response to raananb's report), in which you appear to attribute the Network access problem (and fix) to some foreign-language characteristic.

Unfortunately, I am using plain-vanilla English, so it would seem to be something deeper.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Network Access - again

Post by admin »

What is the problem?

rlh
Posts: 19
Joined: 08 Mar 2010 09:58

Re: Network Access - again

Post by rlh »

The bottom line is that XY does not reliably notice a new system that becomes active on the network i.e. although I may know that a system has been booted and is now available, it still isn't visible when expanding the XY tree. Furthermore, right-clicking Network and selecting 'Browse for Network Server' sometimes still doesn't find the new system. To make it even more frustrating, (very) occasionally when a new system has been discovered by 'Browse for Network Servers', selecting that system in the browse window and clicking OK still doesn't cause it to be included in the Network tree. The problem isn't reliably affected by setting NetworkNetServerEnum=1. In general, it appears to be beneficial, but not always. In the cases where XY 'refuses' to display an available network machine, I think that the only solution is to exit XY and restart it, although I can't guarantee it.

As far as I can tell, Windows Explorer always reports the network correctly, so I assume that there isn't a network problem.

I have a fair bit of time free over the next couple of weeks, so if there is any useful set of tests that I could carry out, then ask away.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Network Access - again

Post by admin »

Here are 3 different methods to enumerate the network. Each is a line of script that you can run through the Address Bar. Does any of them show your complete network?

Code: Select all

text get("network", 0);

text get("network", 1);

enumshellfolderitems 61; 

rlh
Posts: 19
Joined: 08 Mar 2010 09:58

Re: Network Access - again

Post by rlh »

OK, W7 running, other machines powered off. The Network folder in XY shows only the shares that are on the current machine (I7-PC).
I then booted the W2K system and waited several minutes. Windows Explorer shows the W2K machine, XY doesn't.
I right-clicked on the Network folder and selected 'Browse for ...'. The Browse window still only showed the W7 machine.
I tried 'Refresh' and 'Refresh Tree' in the XY View menu, with no result. (Auto-Refresh is ticked).
I then ran ' text get("network", 0); '. The window still only showed the W7 machine.
I then ran ' text get("network", 1); '. The window showed both machines. Clicking on the Network folder now shows both machines, but
only expands to show the W7 machine. Double-clicking the W2K machine shown in the Network folder gives ' Location currently not available '.
Windows Explorer allows me normal access to the W2K machine.
I then ran ' enumshellfolderitems 61; '. This showed my network printer, the W7 machine, and my router. No W2K machine.

The above sequence has taken place during the approx 30 mins since booting the W2K machine. XY is still displaying the ' Location currently not available ' message from above, and the tree has only expanded to show I7-PC as a subfolder. I decided to try View --> Refresh again, and it immediately expanded the tree to include the W2K machine which I can now access as normal.

The XY .ini file contains NetworkNetServerEnum=1.

Roger

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Network Access - again

Post by admin »

Thanks for testing.

NetworkNetServerEnum=1
This seems to be a choice for your system.

Are you using the Mini Tree? (That might affect how a node it refreshed.)

I would suggest you cache your servers. This will solve all your refresh problems, and also speed up network browsing.
Tick this:
Configuration | Controls and More | Network | Cache network servers
Then manage your servers here:
Tools | List Management | Servers in Network Folder...

rlh
Posts: 19
Joined: 08 Mar 2010 09:58

Re: Network Access - again

Post by rlh »

Thanks for the suggestions, I'll try them.

NetworkNetServerEnum=1 As I noted a couple of posts ago, this 'seemed' to be beneficial, but I couldn't make any positive statement.

Mini Tree ? No, have never used it.

I'll let you know how it turns out, one way or the other.

Roger

Post Reply