M B

M B

  • NA
  • 61
  • 12k

Unable to cast object of type 'microsoft.crm.reporting.datae

Feb 16 2017 4:10 AM
Hi All,

I am trying to create a report in CRM Online where I am getting the following error

Unable to cast object of type 'Microsoft.Crm.Reporting.DataExtension.Client.Fetch.FetchProxy' to type 'Microsoft.Crm.Sandbox.SandboxFetchProxy'.

For this I have created the following FetchXML

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="opportunity" enableprefiltering="1" >
<attribute name="name" />
<attribute name="opportunityid" />
<attribute name="customerid" />
<attribute name="estimatedvalue" />
<attribute name="estimatedclosedate" />
<attribute name="statuscode" />
<attribute name="new_mostrecentreview" />
<order attribute="name" descending="false" />

<filter type="and">
<condition attribute="statecode" operator="in">
<value>0
<value>1



<link-entity name="new_review" from="new_reviewid" to="new_mostrecentreview" link-type="outer" alias="MRR">
<attribute name="new_reviewid" />
<attribute name="new_score" />

<attribute name="new_reviewdate" />






Please help me to solve this issue.