Advertisements

Archive

Archive for March 17, 2013

CrmSecurityException – Unable to access Organization

The other day, I was suddenly not able to access my CRM organization.

I was getting “Unhandled exception” message when I browse the Organization URL.

I tried to restart the my application server IIS, but no luck.

When I checked the event viewer for more details, I observed a below Warning message

Unable to connect organization

Unable to connect organization – CrmSecurityException

Exception type: CrmSecurityException

    Exception message: Could not find GUID for : {Machine Name}$ with SearchFilter: samAccountName

The local computer is not joined to a domain or the domain cannot be contacted.

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

   at Microsoft.Crm.SecurityUtils.GetGuid(String searchItem, String searchFilter, String searchItemLogInfo, Boolean exceptionIfNotfound)

Reason

  • Domain control (DC Server) machine was not accessible from my machine

Fix

  • We found DC machine was down and restarting the machine solved the problem

🙂

Advertisements