473,839 Members | 1,553 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mapped Drive Disconnects

4 New Member
I have a mapped drive of a Windows Server 2k system that keeps disconnecting after a while. I have already checked/tried the following:

registry edits of holdon, keepAlive, keepAliveInterv al, autodisconnect, etc....none made a difference.

Deleted map and turned persistent off, bounced, and then remapped. No resolve.

Used Ethereal to capture packets, but I did not come up with anything obvious.

Note that the system that is the file server is also the Domain Controller.

When the map is disconnected, there are a few things that happen.
1) net use shows it is disconnected, but windows does not show an X on it, so it looks connected.
2) When I try to access the share, the system hangs
3) I eventually get:
"An error occurred while reconnecting L: to \\[server ip]\share
Microsoft Windows Network: The local device name is already in use.
This connect has not been restored."

This was an error mentioned on microsoft's knowledge base as a conflict from McAfee, but it has to do with a different engine version than I am running, so it should not be a problem.

4) If I do delete the map and try to add it again without rebooting, I get a message the the name I am attempting to use is the name I used to log on with...so it fails.

5) Help!
Aug 8 '07 #1
5 17790
sicarie
4,677 Recognized Expert Moderator Specialist
I Googled your error message and found:

http://www.smartcomputing.com/techsu...&ErrorID=22012 and
http://www.pctoday.com/techsupport/d...&ErrorID=23380
Aug 8 '07 #2
raredesign
4 New Member
I Googled your error message and found:

http://www.smartcomputing.com/techsu...&ErrorID=22012 and
http://www.pctoday.com/techsupport/d...&ErrorID=23380
The problem is that it is not just failed to restore connection, it is saying it is already in use.
When I receive the error trying to re-establish the connection to [ip]\share, and I just try to access \\[ip] ....then I am prompted to connect via entering credentials. When I enter my username and password, I receive the following:
"Logon unsuccessful:
The user name you typed is the same
as the user name you logged in with.
that user name has already been
tried. A domain controller cannot be
found to verify that user name."

My internet connect, and everything still works...and I can ping the ip that the share is to.
Remember, the DC is also the file server.
Aug 8 '07 #3
raredesign
4 New Member
The problem is that it is not just failed to restore connection, it is saying it is already in use.
When I receive the error trying to re-establish the connection to [ip]\share, and I just try to access \\[ip] ....then I am prompted to connect via entering credentials. When I enter my username and password, I receive the following:
"Logon unsuccessful:
The user name you typed is the same
as the user name you logged in with.
that user name has already been
tried. A domain controller cannot be
found to verify that user name."

My internet connect, and everything still works...and I can ping the ip that the share is to.
Remember, the DC is also the file server.
Thanks dude...the problem was DNS.
Aug 8 '07 #4
raredesign
4 New Member
I was wrong...it was not DNS....don't think DNS would do that since I am mapping to an IP.
I have tried many things...even disabled McAfee Antivirus. wins is not used...
Aug 9 '07 #5
Bob McKee
1 New Member
I found the information in http://support.microso ft.com/kb/297684 very helpful. Apply KeepCon, AutoDisconnect values to registry and run net config... to the server.

I have a mapped drive of a Windows Server 2k system that keeps disconnecting after a while. I have already checked/tried the following:

registry edits of holdon, keepAlive, keepAliveInterv al, autodisconnect, etc....none made a difference.

Deleted map and turned persistent off, bounced, and then remapped. No resolve.

Used Ethereal to capture packets, but I did not come up with anything obvious.

Note that the system that is the file server is also the Domain Controller.

When the map is disconnected, there are a few things that happen.
1) net use shows it is disconnected, but windows does not show an X on it, so it looks connected.
2) When I try to access the share, the system hangs
3) I eventually get:
"An error occurred while reconnecting L: to \\[server ip]\share
Microsoft Windows Network: The local device name is already in use.
This connect has not been restored."

This was an error mentioned on microsoft's knowledge base as a conflict from McAfee, but it has to do with a different engine version than I am running, so it should not be a problem.

4) If I do delete the map and try to add it again without rebooting, I get a message the the name I am attempting to use is the name I used to log on with...so it fails.

5) Help!
Aug 31 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
5814
by: giloosh99 | last post by:
Hello, Im grabbing tables via VB code using visual foxpro ODBC drives. The tables directory is in a mapped network drive. The code works fine and does the job, however if the computer is idle for a while the network drive apears to have a red X on the icon and the drive becomes disconnected. this seems to effect the VB code from grabbing the tables. I get an error saying the specific table cannot be found. If i manually open the mapped...
5
21582
by: Niloday | last post by:
Hi All, I am trying to access a mapped network drive from a service that I have created. The service needs to create/delete folders/files on a network drive. When I tried to connect to a folder on mapped network drive (eg. N:\Storage that corresponds to \\FS1NS\SharedDir\), I get an error as "Could not find part of path N:\".
3
2123
by: Bonj | last post by:
I have a service which is a Windows Service, but it is running under a User account - I enter my own credentials on installing. It can access network files by specifying the full UNC path, i.e. \\server\share, but it can't use mapped drive letters. Is there anyway I can modify it so that it can? Thanks
5
4478
by: Nirosh | last post by:
Hi All, Can any one suggest me a best way to do this .. I have a thrid party tool "EXE" that we need to use with our web service to manipulate some complex XML files, which reside in a seperate files server. we have mapped the fodler to a different folder and need to allow the EXE to process on the mapped drive. When I trigger the EXE via web service the EXE get the permission of the launching user (mean ASP.NET user) resulting a...
5
1582
by: Marc | last post by:
I am trying to run a web service that has pre-compiled dll's that reference dll's that are on a mapped drive. The web service can not load because it does not see that mapped drive and returns an error of "Can not file specified module". Mapped drive is added to path. Thanks, Marc
0
1270
by: Manu | last post by:
Hi, To enumerate the Mapped drive in Windows 2000 box, I am using the "Win32_NetworkConnection". I can see the instance of the Mapped drive in local system, when I try to do the same with remote box its not showing any instance of Mapped drive, even though the remote box having the Mapped drive, I am using WMI CIM studio for checking this. Can any one help me out why remotely it is not showing the instances of ...
1
2039
by: Jack | last post by:
Hi, My OS is Windows XP. I mapped a drive on another machine running Windows 2000. I set the permission of the mapped drive on the Windows 2000 machine to be "accessible to everyone". On the Windows XP machine I can access the mapped drive through Explore. By one of my third party software can not access the mapped drive if I only use the drive ID of the mapped drive, like E:. If I use UNC, e.g., \\host\\directory, the third party...
5
6099
by: mcfly1204 | last post by:
I have one user that has one mapped drive disappear periodically. The drives are connected by a batch file that runs when they login. Users have two drives that map, each going to a different server, but the one disconnects almost daily. The odd part is that this user, like most others, is on a thin client access a win 2k3 sp2 system running terminal services. I would assume that this would have something to do with the server that the...
5
5371
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I am trying to accesss a Mapped Drive from my asp.net code running on IIS 6.0. I am using a FileUpload control and fileUpload.SaveAs() to save the file to the server. I want to save the file to a mapped drive that is mapped to a share on the network. When I save to "C:\temp\myFile.txt it works but when I save to Z:\temp\myFile.txt is will not work. I also want to copy, delete and move these files. I have found some pages on the net...
0
9696
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10645
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10290
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9425
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7827
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7015
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4482
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4063
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3131
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.