Link to home
Start Free TrialLog in
Avatar of M A
M AFlag for United States of America

asked on

Error accessing shared folders by server name (Not by IP)

When I access shared folders by \\servername it is showing the below error.
But if access it by ip it is working fine. and that even not all the pcs only 4/5 pcs.

'\severname is not accessible you might not have permission to use this network resource....contact the administrator....
Logon failure : the target account name is incorrect'

Your help is appreciated.

MAS
Avatar of de3mka
de3mka
Flag of Czechia image

Are you sure servername is resolvnig the right IP?
You can try also mapping a folder to some drive
In command prompt type
net use X: \\servername\sharedfolder /USER:username_which_has_access password

Open in new window

Avatar of M A

ASKER

I need that to be accessed by server name as it is an application server.
application is running  through the folders in that server.

MAS
Avatar of andypun
andypun

Might be a problem with the computer account. Try disjoining the computer from the domain, delete computer account in Active directory, and then join domain again.

Also, try flushing dns ("ipconfig /flushdns" in command prompt) on PC's which are having trouble accessing \\servername.
Avatar of M A

ASKER

I am not able to disconnect/rejoin it from domain it is showing the same error.
'Logon failure : the target account name is incorrect'

I tried flushdns and register dns. no improvement.

MAS
Kent is on this one. You can also try an entry in your hosts file.
Avatar of M A

ASKER

I am sorry I formatted the server and reinstalled a new dc as I don't have time to wait.
Thanks for all your kind support.

MAS
ASKER CERTIFIED SOLUTION
Avatar of M A
M A
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial