?
Solved

Mapping Network Drive Error

Posted on 2008-10-20
24
Medium Priority
?
387 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Plug and play, no additional software required!

The ATEN UE3310 USB3.1 Gen1 Extender Cable allows users to extend the distance between the computer and USB devices up to 10 m (33 ft). The UE3310 is a high-quality, cost-effective solution for professional environments such as hospitals, factories and business facilities.

 
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 400 total points
ID: 22756490
Hhhhmmm...

Ok, try this:

subst your_drive_letter: \\server_name\share
0
 
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 400 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

765 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