All my servers are in the same domain on the same network. ServerA cannot access ServerB through UNC path. However DNS resolves correctly for ServerB from ServerA. For example "ping ServerB" works as expected.
ServerB can reach ServerA through UNC path without any problem. Likewise all other servers and clients can reach ServerB through UNC path without any problem. The software firewall on ServerB is not turned on and there are no hardware firewalls getting in the way.
This makes no sense and I don't know how to troubleshoot it. Nothing shows up in the event logs of ServerA and ServerB has one event (repeatedly): Event ID: 3019, Source: MrxSmb.
ServerA is Server 2008 R2. ServerB is Server 2003 R2. I have other 2008 R2 servers that connect without any problem.
If you can't reach a computer's hostname / computer name, but you can ping its IP address, you have DNS problems. Most likely you have duplicate DNS entries for the unreachable computer, and the short-term fix is to just delete the outdated entry. Tweaking the expiration settings is the long-term fix, but it takes some reading to get it right (mostly because the terminology is pretty arcane).
Are you trying to access a share in your UNC path, or just the server? What about permissions on your share (the share you are attempting to access on ServerB)?
Can ServerA access any other SMB resources via UNC? Is NetBIOS over TCP/IP enabled and verified working correctly on ServerA?
Try to check if there is some drive mapping already.
To do that, open the explorer windows, then choose tools -> disconnect network drive. Ins the list of connections check if there is already a connection to the server / drive that you're trying to do.
Then choose it and press ok to disable it.
This issue cannot be solved any longer because the servers do not exist anymore.