string crmConnectionString = ConfigurationManager.AppSettings["CRMConnectionString"];
CrmServiceClient service = new CrmServiceClient(crmConnectionString);
WhoAmIResponse whoAmIResponse = (WhoAmIResponse)service.Execute(new WhoAmIRequest());
QueryExpression query_Contacts = new QueryExpression("contact");
query_Contacts.ColumnSet = new ColumnSet("Accountname", "Fullname");
EntityCollection coll_Contacts = service.RetrieveMultiple(query_Contacts);
Can anyone tell me why I am getting error :
an unhandled exception of type system.nullreferenceexception occurred in Microsoft.XRM.Tooling.Connector.dll
*This post is locked for comments