Finally solved – Autodiscover error “The specified name is not a forest, Active Directory domain controller, ADAM instance, or ADAM configuration set.”
For a long time, my Exchange coding efforts have been hampered by this error from the Autodiscovery service:
Message: The specified name is not a forest, Active Directory domain controller, ADAM instance, or ADAM configuration set.
Every now and again, I’d come back to it to see if I can fix it, always without success (of course, why else would I have to keep coming back?) Well, today I fixed it. You might ask why didn’t I just Google it? I did, of course, but there was only one single result (in the MS Technet Forum), and that had no resolution. Once more, I thought I’d go through the configuration guides, but this time I read one I’d not read before. It said that the first thing that Autodiscover does is look for the DNS record at autodiscover.yourdomain.com . Interesting, I thought. I haven’t created that DNS record.
My hopes were high as I created the internal record, and tried to get EWS Editor to open the Default Exchange Service. Once more it failed. Desperately, I pinged the name. The ping failed. I remembered that I had had to configure my workstation DNS server list NOT to look at my local DNS server, because Windows 2008 Server is currently not working very well for me in this respect. And then it hit me (hand slaps forehead). No wonder it’s not working – it’s not even checking my internal DNS records. I changed the NIC’s DNS server lookup order to put my internal DNS server first, and it worked!
Now, then. Am I the only Exchange coder to have such a setup for my NIC? It’s hard to imagine that I am, and yet I got only a single result when I searched for that error message.
Anyway, hope this helps somebody.
By the way, I removed the autodiscover.yourdomain.com that I created earlier, and it still manages to work without it.
Leave a comment
Give your users all Exchange mailbox features on their mobile devices, no matter what kind of device they are using.
Features: Access to all mailbox folders, Public Folders, send and receive attachments, Out-of-Office. Easy to install server app. Unlimited users for only $175 per server. Demo download available.