Solved

Mapping Network Drive Error

Posted on 2008-10-20
24
381 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
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
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
 
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
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…

733 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