Solved

Mapping Network Drive Error

Posted on 2008-10-20
24
383 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
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 
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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

688 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