Monthly Archives: September 2009

Could not find GUID for server when opening CRM


The following error occured with one of our clients when they opened CRM. Error while finding AD GUID for ServerName HB1781$ Crm Exception: Message: Could not find GUID for server: HB1781$, ErrorCode: -2147214038, InnerException: System.Runtime.InteropServices.COMException (0x800703FA): Retrieving the COM class

Tagged with: , ,
Posted in CRM 4

Get the name of a lookup that is not resolved


I often have to check the name value of a lookup field. In normal cases one would use the code crmForm.all.new_lookupfield.DataValue[0].name to retrieve this value. In case of an ambiguous or failed lookup, this datavalue will be null. Ambiguous lookup

Tagged with: ,
Posted in CRM 4