Mapping OneDrive / Bug Reports / NetSetMan Support

NetSetMan Support

Search for already answered questions about NetSetMan (Pro) or ask new ones

You are not logged in.

#1 2020-08-26 17:55

Peter_R
Member
Registered: 2016-04-23
Posts: 24

Mapping OneDrive

When mapping OneDrive I sometimes get an error:

This is from the logfile.
Here everything is ok:
[0:00] Net Drive: Start
           + P: https://d.docs.live.net/XXXXXXXXXXXXXXX
           + Q: \\192.168.1.170\_Multimedia
           + R: \\192.168.1.170\_Personal\Peter
           + S: \\192.168.1.170\_Miscellaneous
           + T: \\192.168.1.170\_Common
           + U: \\192.168.1.170\_Backup
[0:12] Net Drive: OK

Here there are an error:
[0:00] Net Drive: Start
           + P: https://d.docs.live.net/XXXXXXXXXXXXXXX
           + Q: \\192.168.1.170\_Multimedia
           + R: \\192.168.1.170\_Personal\Peter
           + S: \\192.168.1.170\_Miscellaneous
           + T: \\192.168.1.170\_Common
           + U: \\192.168.1.170\_Backup
[0:11] Net Drive: Error

Question:
Why is the error only comes sometimes?
If I remove OneDrive, there are no problem.
Could it be because NSM is mapping the drives to fast?
If there where a delay for lets say 2 seconds between each drive is being mapped, could that solve the problem?

Best regards
Peter Rasmussen

Offline

#2 2020-08-28 14:53

NetSetMan Support
Administrator
Registered: 2005-08-06
Posts: 1,831

Re: Mapping OneDrive

Is this really the full log you're getting? It looks like the main part between the first and the second entry is missing.

It should look like this:

[0:00] Net Drive: Start
           + R: \\192.168.1.170\_Multimedia
           + S: \\192.168.1.170\_Backup
[0:00] Connect R: \\192.168.1.170\_Multimedia
[0:00] Connect: OK
[0:00] Connect S: \\192.168.1.170\_Backup
[0:00] Connect: OK
[0:00] Wait...
[0:01] Net Drive: OK

Or if one of the net drives couldn't be mounted, there should be a specific error like this:

[0:12] Failed (53), Retry (10/10)
[0:13] Connect: Error 53
           The network path was not found (ErrorCode: 53)

Offline

#3 2020-08-31 07:55

Peter_R
Member
Registered: 2016-04-23
Posts: 24

Re: Mapping OneDrive

Hi
Yes, this is the log i am getting.
I have not removed anything from the log concerning mapping drives except my CID to OneDrive.

Offline

#4 2020-08-31 09:28

NetSetMan Support
Administrator
Registered: 2005-08-06
Posts: 1,831

Re: Mapping OneDrive

We've now went through the source code and we don't see how it could be possible that you don't get individual connection log lines for every connection attempt and result (as shown in our previous reply).

What NetSetMan version are you using? Are you sure you are using the latest version?

What's your value for "Retries" in the Net Drive dialog?

Offline

#5 2020-09-02 07:04

Peter_R
Member
Registered: 2016-04-23
Posts: 24

Re: Mapping OneDrive

Hi

The value for retries is set to 10 times.
Here are one of the logfiles, only CID to OneDrive has been removed.
I have enabled the log feature from Preferences - General: "Save activation log automatically".

##################################################################

[0:00] NetSetMan 4.7.2
[0:00] Start: HOME (18:37:42)

[0:00] Start: Ethernet
[0:00] Adapter found
[0:00] Program (Before): Start
           + DesktopInfo.exe  (C:\Program Files (x86)\Desktop Info\)
[0:00] Run: C:\Program Files (x86)\Desktop Info\DesktopInfo.exe
[0:00] Run: OK
[0:00] Program (Before): OK
[0:00] Adapter Status: Start
           Activate
[0:00] Adapter Status: OK
[0:00] Printer: Start
           Canon MF633C
[0:00] Printer: OK
[0:00] Net Drive: Start
           + P: https://d.docs.live.net/XXXXXXXXXXXX
           + Q: \\192.168.1.170\_Multimedia
           + R: \\192.168.1.170\_Personal\Peter
           + S: \\192.168.1.170\_Miscellaneous
           + T: \\192.168.1.170\_Common
           + U: \\192.168.1.170\_Backup
[0:11] Net Drive: Error
[0:11] Program (After): Start
           + PasswordDepot.exe "R:\Documents\Password Depot\Passwords_pbr.pswe"  (C:\Program Files\AceBIT\Password Depot\)
           + SyncBackPro.exe Backup_til_NAS  (C:\Program Files\2BrightSparks\SyncBackPro\)
[0:11] Run (Elevated, 1x): C:\Program Files\AceBIT\Password Depot\PasswordDepot.exe
[0:11] Run: OK
[0:11] Run (Elevated): C:\Program Files\2BrightSparks\SyncBackPro\SyncBackPro.exe
[0:11] Run: OK
[0:11] Program (After): OK

[0:11] Finish (18:37:54)

Offline

#6 2020-09-09 18:40

NetSetMan Support
Administrator
Registered: 2005-08-06
Posts: 1,831

Re: Mapping OneDrive

We're sorry, but we don't know how it would be possible that there is no log output for each individual network drive (as shown above in our example). Without it, there is no way for finding out why mapping your OneDrive path fails. At this point, the only thing we can recommend as a workaround, would be to map the network drives with a script instead. You can simply write "net use DRIVE: PATH"

net use P: https://d.docs.live.net/XXXXXXXXXXXX
net use Q: \\192.168.1.170\_Multimedia
...

Offline