Click here to Skip to main content
15,891,904 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my domain name is Ajcserver. for finding i gave
VB
Dim adPath As String = "LDAP://ajcserver/CN=Users,DC=ajcserver"

Then executing error is showing "server is not operational".
but when i give
Dim adPath As String = "LDAP://192.1.1.151/CN=Users,DC=ajcserver" then it is working fine
please help me.
Posted
Updated 6-Sep-11 5:50am
v3

1 solution

Add ajcserver to your host file or make sure it is appearing in your local DNS server.

Machine dependent but basically will live around here somewhere (depending on the drive you installed the OS and what the Windows folder got named.
C:\Windows\System32\drivers\etc
 
Share this answer
 
Comments
jincyn 6-Sep-11 12:15pm    
how we can add ajcserver to hostfile?
DaveAuld 6-Sep-11 12:52pm    
the file is called hosts and lives in the path shown. just open it with notepad and add an entry as shown in the example within the file. If you ping the ajcserver at the command prompt and it works, then you do not need to edit the hosts file and the dns is responding fine.
jincyn 6-Sep-11 12:33pm    
it is appearing in dns server
jincyn 7-Sep-11 0:29am    
when i added to hostfile like this
196.1.1.253 ajcserver then it is working
jincyn 7-Sep-11 6:35am    
plese plese help me

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900