Page 1 of 1

Problem accessing Sharepoint network shares

Posted: 28 Oct 2013, 10:09
by owilsky
When I try to access a Sharepoint network share via UNC path all I get is this error message:

(67) The network share could not be found (Translated from German).

This error message comes very fast, it seems that Salamander is not trying long enough, maybe timeout too low?
If I open Windows Explorer and access the share there once, after that accessing the share in Salamander works just fine. This is very annoying.
I am willing to share every piece of information/logs that are helpful in fixing this behavior.

BTW: I guess it's just coincidence that it is a Sharepoint server, I remember having this problem with other shares as well.

Re: Problem accessing Sharepoint network shares

Posted: 28 Oct 2013, 10:34
by SelfMan
Are you sure your DNS is working properly?
Just for the sake of the test try to use the sharepoint server's IP address kinstead of the name.

Re: Problem accessing Sharepoint network shares

Posted: 28 Oct 2013, 10:37
by owilsky
SelfMan wrote:Are you sure your DNS is working properly?
Just for the sake of the test try to use the sharepoint server's IP address kinstead of the name.
Why would it work with Windows Explorer if DNS is not working properly?
And one information I forgot to add: Total Commander also works fine.

This is definitely some kind of too short timeout issue...

Re: Problem accessing Sharepoint network shares

Posted: 28 Oct 2013, 10:48
by SelfMan
Are you running Salamander as user or administrator? You did not say what OS you are accessing from which OS.

Re: Problem accessing Sharepoint network shares

Posted: 28 Oct 2013, 13:25
by owilsky
Sorry.

Altap Salamander 3.0 beta 3 (x64) on Windows 7 SP1 x64 as standard (limited) user. I have an admin account, but normally I work as standard user.
Our servers are Windows servers, not absolutely sure about the versions.

Re: Problem accessing Sharepoint network shares

Posted: 28 Oct 2013, 13:58
by SelfMan
Do you have the same problem on other computers?
Please check HKLM->System->CurrentControlSet->Control->NetworkProvider-> HwOrder
Does the key ProviderOrder contain "LanmanWorkstation" ?

Re: Problem accessing Sharepoint network shares

Posted: 28 Oct 2013, 17:23
by owilsky
SelfMan wrote:Do you have the same problem on other computers?
Yes, my colleagues all have the same problem.
SelfMan wrote: Please check HKLM->System->CurrentControlSet->Control->NetworkProvider-> HwOrder
Does the key ProviderOrder contain "LanmanWorkstation" ?
Yes:
SSCBFS3,RDPNP,LanmanWorkstation,webclient,!SecureLoginNPR

Re: Problem accessing Sharepoint network shares

Posted: 28 Oct 2013, 22:28
by SelfMan
Did you try the \\<ip>\share access? (no server name, just IP)
And what is the SSCBFS3 ? is is the SugarSync CallBack File System driver?
My entry is "RDPNP,LanmanWorkstation,webclient".

You might also want to change the order. (dont forget to backup first and reboot after change).

Re: Problem accessing Sharepoint network shares

Posted: 29 Oct 2013, 00:30
by Petr Solin
Please send me screenshot with error message, just to guess where exactly it is displayed.

Explorer is probably calling some other function to "set up" connection when it returns error 67 (ERROR_BAD_NET_NAME). We can find out what it is if you use Process Monitor (http://technet.microsoft.com/cs-cz/sysi ... 96645.aspx) and send me log by email (menu File / Save). Use filter "Process Name is not explorer.exe then Exclude". Use Capture (Ctrl+E) to stop/start capturing events and Clear (Ctrl+X) to clear captured events. What to do:
-restart computer
-start Process Monitor, stop capturing, clear events
-start Explorer, prepare to go to Sharepoint network share (but do not go there yet)
-start capturing in Process Monitor
-go to your Sharepoint network share in Explorer, wait until it connects and shows the share content
-stop capturing in Process Monitor, send me log (e.g. .7z compressed) to email petr.solin@altap.cz, send me also path to Sharepoint network share.

Thanks!

Re: Problem accessing Sharepoint network shares

Posted: 29 Oct 2013, 11:56
by owilsky
Hi Petr,

I just send you the logs.

Regards,
Oliver

Re: Problem accessing Sharepoint network shares

Posted: 29 Oct 2013, 14:04
by owilsky
SelfMan wrote:Did you try the \\<ip>\share access? (no server name, just IP)
No, not yet, because I need to reboot for the problem to reoccur. And a reboot lasts > 10 minutes here at my company :(
SelfMan wrote: And what is the SSCBFS3 ? is is the SugarSync CallBack File System driver?
Yes, that may be true. I just uninstalled SugarSync and now it's gone.

Re: Problem accessing Sharepoint network shares

Posted: 30 Oct 2013, 00:02
by Petr Solin
The problem is solved. Salamander detects this situation and asks shell to access this network path. Shell makes all needed actions to connect to network drive. Then UNC path is accessible from Salamander as if you use Explorer on it. Thanks to Oliver!

Fix will be available in next beta version.

Re: Problem accessing Sharepoint network shares

Posted: 30 Oct 2013, 07:46
by SelfMan
Petr, what you describe is a solution, but what was the problem please?

Re: Problem accessing Sharepoint network shares

Posted: 30 Oct 2013, 08:08
by Petr Solin
I know only very little about Sharepoint and its network shares. I guess it is necessary to start some services on local computer or something similar. Oliver wrote me that it takes about 5 seconds when he is first approaching that share. I have used rare error message (ERROR_BAD_NET_NAME) which it produces to distinguish it from other network errors, so I hope it will not have any side effects (there is a risk of longer timeout when server is not accessible due to shell trying to connect to it).