Problems Reading Shared File "the Local Device Name Is Already In Use"
#1
Posted 10 March 2008 - 12:08 PM
After a lot of trial and error I have got the internet working on both machines, I have successfully connected the printer wirelessly from my laptop and have set up both pcs to share files from My Documents (and Documents on vista). This seems to be working mostly as I can read the laptop files from the desktop and the laptop recognises the shared desktop folder. I can even right click the shared desktop drive and get correct properties.
However, when I try to access the desktop drive from the laptop it goes into a spin and eventually comes back with the message "The local device name is already in use" . I have tried changing the drive
letters and altering the network name of the desktop folder but everything results in the same error message.
This sounds like I have done the hard bit but it is just not quite there. I'm not a complete novice in these things but
It's probably something obvious. Can anyone help?
Barrie
#2
Posted 10 March 2008 - 12:50 PM
net use
Post the output of that command as a reply.
Billy3
#3
Posted 11 March 2008 - 05:04 AM
Thanks for the prompt reply. This is what I currently get:
Quote
Copyright © 2006 Microsoft Corporation. All rights reserved.
C:\Users\barrie>net use
New connections will be remembered.
Status Local Remote Network
-------------------------------------------------------------------------------
Disconnected X: \\desk\mydocuments Microsoft Windows Network
The command completed successfully.
On my desktop machine (Called DESK) the equivalent command gives me the correct LAPTOP drive currently connected to the G: drive.
Regards
C:\Users\barrie>
#4
Posted 11 March 2008 - 08:09 AM
net use x: /delete
then reconnect the network drive and see what happens...
Billy3
#5
Posted 11 March 2008 - 08:50 AM
#6
Posted 11 March 2008 - 12:46 PM
then
net use /persistent:yes net use x: \\desk\mydocuments <PASS> /user:DESK\<USER> /savecred
make sure you fill in <PASS> and <USER> with the password and user, respectively, for logging on to the remote machine.
see if that works.
I think this is caused by a bug in explorer, which is causing it to try to recreate the connection whenever the connection is disconnected, rather than simply disconnecting it.
#7
Posted 11 March 2008 - 03:11 PM
The persistent command works OK but I get the following error message when I type in the second line I get an error message
A command was used with conflicting switches.
By trial and error I found that it was the final switch (/savecred) which it doesn't like. However leaving this off produces the same results as before. I think the explorer bug thing does sound reasonable. Any further ideas?
#8
Posted 11 March 2008 - 03:46 PM
Billy3
#9
Posted 11 March 2008 - 05:29 PM
#10
Posted 11 March 2008 - 06:50 PM
Okay, try this:
Go to Control Panel
User Accounts and Family Safety
User Accounts
Manage My Network Passwords (On the tasks pane)
Remove any entries for DESK
Click ok and close a ton of times
Then try net use x: \\desk\mydocuments <PASS> /user:DESK\<USER> again
If that still does not work, delete the mapping, and then try
net use /persistent:no
net use x: \\desk\mydocuments <PASS> /user:DESK\<USER>
The only problem with the persistence thing is that the mapping will be lost on logoff. But I want to see if it works first. We can add an autostarting batch file to add it for you if it works.
Billy3
#11
Posted 11 March 2008 - 06:52 PM
Billy3
#12
Posted 11 March 2008 - 06:55 PM
Go to the server machine (Win2k?) and type the following at the command prompt:
net config server /autodisconnect:-1
Billy3
#13
Posted 12 March 2008 - 09:29 AM
Ok. There were no references to DESK on the network passwords, in fact there were no entries at all.
Mapping to x: worked in the CMD screen without the /savecred but gave the same results as before.
Taking persistent off gave me a slightly different error message i.e. "The Specified Network Name Is No Longer Available". However, the X:drive is still there according to net use.
I used to use Zone Alarm as a firewall on DESK but turned this off when I first had problems and am relying on the firewall in the router (possibly a bit dangerous).
I use the good old Windows Defender on the laptop.
On both machines I use AVG as virus checker and have PC Tools Spyware Doctor on both too.
My immediate thought was the firewall but that does not really explain why I can read laptop files on DESK and why I can use the printer which is plugged into DESK .
That was where I got to last night (if you haven't realised I am in the UK) when my wife turned the DESK machine off because it was "too late".
Ran the config sys command on DESK (yes it is Win 2k) and still got "The Specified Network Name Is No Longer Available"
I then started again from scratch but this time shared only a single DESK folder within My Documents with only a few files in it. Surprise surprise this works!!!!
I have no idea why but I guess it may be either one of the folders in My Documents is suspect or because My Documents is somehow special.
Anyway, I do really appreciate your help in this and am very grateful for your perseverance. If you wouldn't mind I would be grateful for advice as to whether to reset the persistent and config settings. Also do you advise firing up Zone Alarm?
Thanks once again
Barrie
#14
Posted 12 March 2008 - 09:41 AM
One thing that I have noticed is that the LAPTOP displays a growing green line across the top of Windows Explorer whenever I try to read DESK files I sort of expected it to take some time to list all of the folders and files in My Documents but the latest folder only has 5 files in it.
So back to square 1
#15
Posted 12 March 2008 - 12:41 PM
Try this: Unmap all of the drives.
Then type \\desk\mydocuments into the windows vista search bar in the start menu. You should get a working listing there. The issue is caused by the mapping to a disk drive. If you use the unc path like above, it will work. The problem with this is that most applications cannot work inside of a unc path like that. But I want to see if that works first. If it does, we can rule out the Win2k machine as causing the problem.
Oh, and you should re-enable zonealarm.
Billy3
Edit: Fixed odd problem where the forum doubled what I wrote.
This post has been edited by Billy O'Neal: 12 March 2008 - 12:44 PM

Help


Back to top









