web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to debug - rsProcessingAborted - Reporting Error

(0) ShareShare
ReportReport
Posted on by 125

Hello,

We have built a custom entity in our CRM database which includes fields that I would like to build a report from. Using BIDS (Visual Studio) I have been able to link to our CRM as a data source, and was able to locate our custom entity in the Dataset's folder. I have access to all of the fields needed to create my port, which I have partially completed. Running the report from Visual Studio works great, it pulls the data as expected and generates a proper report.

 

I saved the working report as an .RDL file, went to CRM through my web browser and created a new report in my workplace. I select "existing file" and browse to the created .RDL file, which brings the customized report into CRM as a report. All out of the box reports work just fine, but when I try to run my custom one (that works in visual studio just fine) it gives me the below error;

 

Reporting Error

The report cannot be displayed. (rsProcessingAborted)

 

Here is the log that is thrown in SQL server

"webserver!ReportServer_0-4!fcc!05/20/2011-09:36:35:: e ERROR: Reporting Services error Microsoft.ReportingServices.Diagnostics.Utilities.RSException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset 'DataSet1'. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException:

System.Data.SqlClient.SqlException: The SELECT permission was denied on the object 'new_testinspection', database 'Blackhawk_MSCRM', schema 'dbo'. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: The SELECT permission was denied on the object 'new_testinspection', database 'Blackhawk_MSCRM', schema 'dbo'."

 

So my question is, are we going about this correctly to achieve our goal of creating a report from a custom entity?

 

We did try another angle, using the XML fetch string instead of my above process - but this won't give us access to our custom entity so we're not able to build a form with the fields needed. Is this the proper way of doing this?

 

Please let me know if more information is needed, and thanks in advance!

Any info provided is greatly appreciated!!

*This post is locked for comments

I have the same question (0)
  • alf Profile Picture
    17,915 on at
    Re: How to debug - rsProcessingAborted - Reporting Error

    Hi,

    WIth crm 2011 online the reports you upload need to use fetch xml instead of sql.  With fetch you CAN access your custom entities and custom fields.

    The error above is definitely related to using sql instead of fetch:

    The SELECT permission was denied on the object

    The easiest way to generate the fetch is to start with an advanced find, then click download Fetch XML.  

  • bdemartino Profile Picture
    125 on at
    Re: How to debug - rsProcessingAborted - Reporting Error

    Thanks for the quick response! Just want to make sure it is known that we are actually using CRM on premise. 

     

    We are having an issue now using the fetch xml approach you suggested; here is our steps -

     

    Initiate Report Wizard (In Visual Studio)

    Set data type to "Microsoft Dymanix CRM Fetch" (Using Windows Authentication credentials)

    Enter our URL for the connection string

    On the next screen I paste in my query string which I obtained through the advanced find feature (as suggested)

    Then I'm given this error;

     

    TITLE: Microsoft SQL Server Report Designer

    ------------------------------

    An error occurred while the query design method was being saved. The specified record type does not exist in Microsoft Dynamics CRM. The entity "new_inspection" cannot be found. Specify a valid query, and try again.

    -----------------------------

    BUTTONS:

    OK

    ------------------------------

     

     

    We know the entity exists, so we're clueless at this point.

  • bdemartino Profile Picture
    125 on at
    Re: How to debug - rsProcessingAborted - Reporting Error

    Okay, Scratch the last message - We have gotten past that issue and are able to see our fields in Visual Studio after using the correct XML fetch code.

    However, after attempting to run the report with just a few fields on it I'm now getting this error;

    "An attempt has been made to use a data extension "MSCRMFETCH" that is either not registered for this report server or is not supported in this edition of Reporting Services."

    I'm able to preview the report just fine, but if i run it - this is the error I get.

    Thanks in advance for any assistance!

  • alf Profile Picture
    17,915 on at
    Re: How to debug - rsProcessingAborted - Reporting Error

    Do you have the crm srs connector installed in the srs server?

  • bdemartino Profile Picture
    125 on at
    Re: How to debug - rsProcessingAborted - Reporting Error

    As far as we understand, it was already installed. However, we uninstall-ed it, and ran the installer again - are there any other steps needed to be taken?

  • Verified answer
    alf Profile Picture
    17,915 on at
    Re: How to debug - rsProcessingAborted - Reporting Error

    I'd recomend also installing update rollup 1 for crm server , email router, and srs connector.  And reboot the srs server after installing the srs connector.

  • bdemartino Profile Picture
    125 on at
    Re: How to debug - rsProcessingAborted - Reporting Error

    Thanks very much, that did the trick, we're off and running now!

  • BenHOC Profile Picture
    20 on at
    Re: How to debug - rsProcessingAborted - Reporting Error

    How did you solve this error:

    TITLE: Microsoft SQL Server Report Designer

    ------------------------------

    An error occurred while the query design method was being saved. The specified record type does not exist in Microsoft Dynamics CRM. The entity "new_inspection" cannot be found. Specify a valid query, and try again.

    -----------------------------

    BUTTONS:

    OK

    ------------------------------

    Thanks !

  • Bharat Sahani Profile Picture
    65 on at
    Re: How to debug - rsProcessingAborted - Reporting Error

    Hi

    I am relatively new to MSCRM 2011 so kindly bear with me.

    Ok, I am developing a report using FETCH Xml (A simple query on Accounts containing data (3-4 records)).

    I have installed SQL Server 2008 and BIDS extension for reporting as well.

    I created the report by making a data source (FETCH type) and completed the wizard.

    When I am previewing the report I am getting all the data. But, as soon as I try to Run it I get this error

    “An error occurred during local report processing

    An error has occurred during report processing.

    As attempt has been made to use a data extension 'MSCRMFETCH' that is either not registered for this report server or is not supported in this edition of Reporting Services”

    I have already installed rollup 4 on CRM server.

    No Firewall issue

    Have Necessary Access

    Can any one please revert back

    Cheers

    Bharat

  • Suggested answer
    Gus Gonzalez Profile Picture
    27,113 on at
    Re: How to debug - rsProcessingAborted - Reporting Error

    Did you install the CRM SRS Connector on the SQL Reporting Services Server?

    If not, please complete the installation and also install the CRM SRS Connector UR 4 installation.

    After that is completed, reboot the CRM server and try running your report again. :)

    Good Luck!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#2
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans