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

CRM 2015 on Premise ( not update 1 ) - no error is displaying from plugin

$
0
0

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 ?


Viewing all articles
Browse latest Browse all 46379

Trending Articles



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