home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Plugin Development
NetworkNeighborhoodResourceProvider and failing lookup of server on Win7
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="cschlote" data-source="post: 1071893" data-attributes="member: 146918"><p>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.</p><p></p><p>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.</p><p></p><p>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.</p><p></p><p>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.</p><p></p><p>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.</p><p></p><p>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...</p><p></p><p>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.)</p><p></p><p>Greets</p><p>Carsten</p></blockquote><p></p>
[QUOTE="cschlote, post: 1071893, member: 146918"] 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 [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
NetworkNeighborhoodResourceProvider and failing lookup of server on Win7
Contact us
RSS
Top
Bottom