Friday, October 23, 2009

Could not find GUID for server...

Interesting error today.

All of a sudden our development server stopped working. We got the following error in CRM:
Microsoft CRM Error Report:



Error Details:


Could not find GUID for server: CRMSERVER$


Full Stack:


[ActiveDirectoryObjectNotFoundException: The local computer is not joined to a domain or the domain cannot be contacted.]


at System.DirectoryServices.ActiveDirectory.Domain.GetComputerDomain()


at Microsoft.Crm.BusinessEntities.SecurityUtils.GetGuidFromServerName(String serverName)...
 
It seems that it was caused by the fact the the domain servers DNS was down. I have read of other causes for the same error, but make sure that the DNS service of the domain server is up and running.
 
Gustaf Westerlund
Microsoft Dynamics CRM Chief Architect

Logica
www.logica.com

6 comments:

  1. Hi Gustaf, I had same error today. How did you solve that. can you help me pls.

    ReplyDelete
  2. Could you post the solution for that please. Thank you.

    ReplyDelete
  3. Anonymous: Well, the solution is rather simple, go to the DNS that the CRM server is pointing to and make sure that the DNS service on that server is running, or restart it. If it still isn't working I would try rebooting the CRM-server again after the DNS service was restarted, as it might find it then.

    ReplyDelete
  4. Note: I had a simiar problem in my dev environment for my dev web server. My Dev Domain Controller has a dynamic IP address (not recommended). To fix, I used fixed DNS instead of dynamic, with my corporate production DNS server as the primary, and my Dev Domain Controller as the secondary. It works now!

    Thanks for the tip!

    ReplyDelete