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

Invalid Argument error in plugin ms dynamics crm 2013

$
0
0

Exception: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: attributeName (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault)., Correlation Id: cd2075b5-3d8a-4cc7-ab8c-19437881a5b8, Initiating User: 2fec096d-f7b4-e311-8649-005056b20f9f

Code:

 var lCompany = from comp in orgContext.AccountSet
                               join oppty in orgContext.OpportunitySet on comp.Id equals oppty.AccountId.Id
                               where oppty.Id == Record.Id
                               select new Account
                               {
                                   bnym_INS = comp.bnym_INS
                               };
              localContext.TracingService.Trace("After query" + lCompany.ToList().Count);//This throws an exception



Viewing all articles
Browse latest Browse all 79901

Trending Articles



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