Hello All
I am at my wits end with this. I know for a fact that the plugin fetchXML has the error. The problem is .. where do I go to find the error ? It doesn't show on the Server Windows Log, Plugin Profiler trace won't work since you need to attach the error txt file to debug and I tried adding a try catch exception block to the plugin to catch the InvalidPluginExecutionException but to no avail.
This is the fetchXML that is getting generated from the code
<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'>
<entity name='new_entity_finance_transactional_finance'>
< all-attributes />
<filter type='and'>
<condition attribute='new_name' operator='eq' value= 'finance_transactional_finance-Test' /></filter></entity></fetch>
and I know for a fact the retrieve is the error line ..
EntityCollection result = Service.RetrieveMultiple(new Microsoft.Xrm.Sdk.Query.FetchExpression(fetch2));
but where do I go to trace it ?