Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

ExecuteMultiple null reference exception

$
0
0
ExecuteMultipleRequest req = new ExecuteMultipleRequest();

RetrieveAttributeRequest retrieveAttributeRequest = new RetrieveAttributeRequest
{
EntityLogicalName = "account",
LogicalName = "name",
RetrieveAsIfPublished = true
};

req.Requests.Add(retrieveAttributeRequest); //Error



Error:

An unhandled exception of type 'System.NullReferenceException' occurred in 

Additional information: Object reference not set to an instance of an object.


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>