[solved] NetworkNeighborhoodResourceProvider and failing lookup of server on Win7 (1 Viewer)

cschlote

New Member
March 23, 2014
1
4
50
Home Country
Germany Germany
Yesterday I installed MP-2 and built it from Scratch. Fine code work and build system. Now my problem: It was impossible to add my NAS to the global shares. Yes, I provided credentials. I also checked the logs on the NAS and debugged MP2-Server.

The access was perfectly fine, but the call "NetworkResourcesEnumerator.EnumerateResources(ResourceScope.GlobalNet, ResourceType.Disk, ResourceUsage.All, ResourceDisplayType.Server);" just takes ages. Long enough to trigger the timeout for the operation. I tried to increase the TimeOut value in the UPnP lib - doesn't help much, because there seem to be other timeouts happening.

So next back to the roots of the problem. Why is the method taking such a long time? And, yes, also Explorer takes ages to lookup all my hosts.

The solution: Check your Network interfaces. You might have VMWare or similiar installed and as well some virtual network interfaces. You must uncheck the network topology client/server services for these interfaces at least. And optionally any other service I won't need for these interfaces.

Now the servers will lookup within 30 seconds. I can add SMB shares now with MP2 (todays dev git branch). I didn't check, if the increased timeout for UPnP is still required. If such an increased timeout should be needed, some more code work would be required.

For the GUI it would be nice to report on the timeout and give some hints on the network interfaces. For a simple test the user just needs to deactivate all interfaces except of the primary interface. Maybe I will add some code for this...

So just in case somebody else has problems with SMB shares and MediaPortal 2, I hope it helps. (Might apply for MP1, didn't checked that.)

Greets
Carsten
 
Last edited:

Users who are viewing this thread

Similar threads

Hi all. Odd problem. :giggle: I have stand alone TV Server and TV Client setup. Both running latest test release of MP1, both in Win10 machines. TV Server device has 2 networks active - 192.168.1.230/24 on WiFi and 192.168.2.230/24 wired into Powerline [just as switch here, it's for keyboard & mouse share, network is not routed...
Hi all. Odd problem. :giggle: I have stand alone TV Server and TV Client setup. Both running latest test release of MP1, both...
Hi all. Odd problem. :giggle: I have stand alone TV Server and TV Client setup. Both running latest test release of MP1, both...
Replies
0
Views
1K
I found the resolution: I had set this registry value set to 0: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM] "EnableEvents"="0" As soon as I set it back to the default value 1, TV server did no longer say port 554 is bound and TV was working. On MediaPortal 1.4.0 and earlier the reg value could be set to 0 without any problem...
I found the resolution: I had set this registry value set to 0: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM]...
I've described my problem here: https://forum.team-mediaportal.com/threads/satellite-tv-not-working-in-mediaportal-1-28.140530/ And...
Replies
1
Views
677
P.S. - Strangely, the TV Server my single seat setup (1.27 on a modest machine running Windows 10 Pro x64) is working from my office machine MP client. Same exact network, firewall, Defender settings. It's a slightly older version of Win 10 though - I haven't updated to 20Hx on it yet. Maybe I shouldn't (or maybe I should image it...
P.S. - Strangely, the TV Server my single seat setup (1.27 on a modest machine running Windows 10 Pro x64) is working from my...
Let me start by asking if anyone has TV Server running PROPERLY on a Windows 10 machine, and if so are you using RTSP or UNC share...
Replies
9
Views
775
It's very strange, but you can see that it happens. The logic of NSIS is a complete mystery. :)
It's very strange, but you can see that it happens. The logic of NSIS is a complete mystery. :)
We have just released MediaPortal 1.28 Summer Breeze Highlights of this release Bugfixes: [MP1-5053] - TV framerate is not...
Replies
12
Views
1K
We'll, again I have posted a problem then found the solution myself :whistle: I incorrectly used "Multi seat setup: use UNC paths" when I was setting up initially and having some trouble with paths. I had clicked help for that setting before I tried using it, but many of the help links in the config utility are broken. Today I...
We'll, again I have posted a problem then found the solution myself :whistle: I incorrectly used "Multi seat setup: use UNC paths"...
I've been a MP1 user for a very long time. I had been using Argus for OTA ATSC recording and viewing which has been flawless...
Replies
1
Views
2K
Top Bottom