Solved

Mapping Network Drive Error

Posted on 2008-10-20
24
372 Views
Last Modified: 2012-05-05
I am trying to map a network drive (that I have previously been able to map without a problem).

When I try, I get the error:

"The mapped network drive could not be created because the following error occured:
The network location cannot be reached."

I can map the drive from other machines so I know it's the settings on this machine.

I am mapping:

\\[server].[company].com\[username]

I can ping the server fine and I get an IP address, I can ping the IP address.
When I do ping the server, it brings up a different host name of:

\\[server].[region].[country].[company].com\[username]

I have tried mapping this and I get the same error.

I have tried fiddling with WINS setting but have had no luck so I reverted them.

Can anyone offer any advice?
0
Comment
Question by:ben_staples
  • 11
  • 8
  • 5
24 Comments
 
LVL 16

Expert Comment

by:JoWickerman
ID: 22756044
Hi ben_staples,

If you map the network drive with:

\\ip_address\[username]

does it work then?
0
 
LVL 1

Author Comment

by:ben_staples
ID: 22756056
Hi JoWickerman,

No I get the same error.

Thanks for the comment.
0
 
LVL 16

Expert Comment

by:JoWickerman
ID: 22756155
Ok. This seems to be a DNS issue. We can try and sort that out first.

What server OS are you running?
0
 
LVL 1

Author Comment

by:ben_staples
ID: 22756191
I am running XP Pro SP2 (IBM Client for e-busniess).

IP, DNS are both set to automatic.
0
 
LVL 1

Expert Comment

by:premiumnz
ID: 22756200
Is your PC name and your username the same?  They are not allowed to be and will cause these sorts of problems.  Also how long is your Computername?
0
 
LVL 16

Expert Comment

by:JoWickerman
ID: 22756218
Ok. You can add an entry in your hosts file to map to the server.

c:\windows\system32\drivers\etc\hosts

Right click on the hosts file and open with Notepad.

Enter the IP address and server name under the
127.0.0.1                      Local host
xxx.xxx.xxx.xxx          server_name

Save the file.

Click on start -> Run
type in ipconfig /flushdns

ping ip_address and see if it replies with the correct name.

If it does, try to map the drive.
0
 
LVL 1

Author Comment

by:ben_staples
ID: 22756285
premiumnz, no that's ok, my comouter name is 15 chars, it hasn't changed.

JoWickerman, I tried this but it just returns the IP not the name, I still get the same error when mapping.

Thanks again for comments.
0
 
LVL 16

Expert Comment

by:JoWickerman
ID: 22756298
If you use:

ping -a ip_address

What name does is resolve to?
0
 
LVL 1

Author Comment

by:ben_staples
ID: 22756307
using "ping -a [ip_address] return:
[server].[region].[country].[company].com\[username]

I'm not sure this is the problem though as I remember this always happening.
0
 
LVL 16

Expert Comment

by:JoWickerman
ID: 22756392
Ok... What happens if you click on Start -> Run

type in \\server_name

Does it open a box with shares?
0
 
LVL 1

Author Comment

by:ben_staples
ID: 22756407
I get the same error doing that, but I don't think the server is set up to allow that anyway.
0
 
LVL 16

Assisted Solution

by:JoWickerman
JoWickerman earned 100 total points
ID: 22756490
Hhhhmmm...

Ok, try this:

subst your_drive_letter: \\server_name\share
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 1

Author Comment

by:ben_staples
ID: 22756534
subst returns "Path not found" error. :-(
0
 
LVL 16

Expert Comment

by:JoWickerman
ID: 22756546
Ok. If this fails, then the share no longer exists. Someone deleted the share name, so I would suggest that it must be recreated.
0
 
LVL 1

Author Comment

by:ben_staples
ID: 22756552
I can access the share from other machines fine, the share is 100% working correctly.
0
 
LVL 16

Expert Comment

by:JoWickerman
ID: 22756609
Really?

What is your machine's IP address?

What is the server's ip address?
0
 
LVL 1

Expert Comment

by:premiumnz
ID: 22756617
Make sure that you have enabled NETBIOS under the advanced TCPIP options on the PC.  This could be set manually and if set wrong will give you this problem.
0
 
LVL 1

Author Comment

by:ben_staples
ID: 22756686
I checked NETBIOS and closed but when I go back in it is set back to DISABLED......?

I tried nbtstat -c and I get:

Failed to access NetBT driver -- NetBT may not be loaded

I have admin rights so I don't see why this is happening.
0
 
LVL 1

Author Comment

by:ben_staples
ID: 22756697
My IP is
x.151.60.54
server IP is
x.149.96.65
0
 
LVL 1

Assisted Solution

by:premiumnz
premiumnz earned 100 total points
ID: 22756739
Check the WINS configuration.  Also check the WINS settings on the Server's DHCP.  You will need to add a WINS server and also WINS-NBT to 0x8.

If that is all set correctly then you have a problem with the protocol stack on your local PC.  Check the PC for viruses, spyware (using Spybot Search and Destory) and Hijackthis.  There is also a utility to check the TCP stack called TCPFIX.  Check that out too.
0
 
LVL 1

Expert Comment

by:premiumnz
ID: 22756750
What is the default gateway address?  What is the subnet mask?  If it is being routed, is your router passing Netbios traffic?
0
 
LVL 1

Author Comment

by:ben_staples
ID: 22756771
subnet:
255.255.255.128
gateway:
x.151.60.1

I don't understand what you mean by 'You will need to add a WINS server and also WINS-NBT to 0x8.'

Do you mean on the server? I don't have access to the server.
0
 
LVL 1

Accepted Solution

by:
ben_staples earned 0 total points
ID: 22765822
I have resolved the problem.

I used /C netsh int ip reset to reset my NetBT settings from another ticket found in the Knowledge Base
0
 
LVL 1

Expert Comment

by:premiumnz
ID: 22772970
Thanks Ben.  I trust I was able to point you in the right direction.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now