{"id":2122,"date":"2015-12-08T10:37:07","date_gmt":"2015-12-08T05:07:07","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=2122"},"modified":"2022-09-02T16:42:17","modified_gmt":"2022-09-02T11:12:17","slug":"rsprocessingaborted-error-for-dynamics-crm-custom-reports","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2015\/12\/rsprocessingaborted-error-for-dynamics-crm-custom-reports\/","title":{"rendered":"RsProcessingAborted Error for Dynamics CRM Custom Reports"},"content":{"rendered":"<p><strong>Introduction:<\/strong><\/p>\n<p>We developed a custom SSRS report that is working just fine on the dev environment, which is a single box with CRM and SQL installed on the same machine. But when it was moved to production where CRM is installed on a separate box than the SQL server, it would not work and simple throw the \u201crsProcessingAborted\u201d error as shown below.<a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2015\/12\/RsProcessing.png\"><img decoding=\"async\" class=\"aligncenter wp-image-2123 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2015\/12\/RsProcessing.png\" alt=\"RsProcessing Error\" width=\"628\" height=\"243\" \/><\/a><\/p>\n<p>All OOB report were working\u00a0 just fine and it was showing this error for any custom report deployed on this CRM.<\/p>\n<p><strong>Resolution:<\/strong><\/p>\n<p>Looking at this error we did not get the exact cause of this issue. One of the solutions that worked previously is to open the 808 port, another is to ensure the fields referred in the query exist in the specified entity. But both of these were just fine in this case. To check the exact error look for the look files which can usually be found at the following location<\/p>\n<p><em>&lt;SQL INSTALLDIR&gt;\\MSRS11.MSSQLSERVER\\Reporting Services\\LogFiles.<a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2015\/12\/RsProcessing1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-2124 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2015\/12\/RsProcessing1.png\" alt=\"RsProcessingAborted Error for Dynamics CRM \" width=\"629\" height=\"149\" \/><\/a><\/em><\/p>\n<p>When we checked the error log file and found the exact error. We are getting following error in log file.<\/p>\n<p>To resolve this issue you need to run SETSPN command. Below is syntax for this command.<\/p>\n<p><strong>setspn \u2013a HTTP\/NETBIOSNAME DOMAIN\\SERVICEACCOUNT<\/strong><\/p>\n<ol>\n<li>NETBIOSNAME: You will get this name from IIS where your CRM is running as shown in below screenshot.<a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2015\/12\/RsProcessing2.png\"><img decoding=\"async\" class=\"aligncenter wp-image-2125 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2015\/12\/RsProcessing2.png\" alt=\"RsProcessing error\" width=\"568\" height=\"188\" \/><\/a><\/li>\n<\/ol>\n<ol start=\"2\">\n<li>SERVICEACCOUNT: Use account under which CRMAppPool is running.<a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2015\/12\/RsProcessing3.png\"><img decoding=\"async\" class=\"aligncenter wp-image-2126 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2015\/12\/RsProcessing3.png\" alt=\"RsProcessing error in crm\" width=\"630\" height=\"150\" \/><\/a><\/li>\n<\/ol>\n<p>Here is our final command that we run from command prompt.<\/p>\n<p><strong>setspn \u2013a HTTP\/AD7\u00a0 adventure7\\administrator <\/strong><\/p>\n<p>Once we execute the command then after our issue is resolved and we able to run the custom report successfully.<\/p>\n<p><strong>Conclusion:<\/strong><\/p>\n<p>To resolve the rsProcessingAborted \u00a0issue of custom reports, look into the log files to find out the actual error message. Most often than not, especially if SQL Server and CRM Server are 2 different servers you need to Kerberos by using the setspn command.<\/p>\n<h2 style=\"text-align: left;\"><div class=\"su-heading su-heading-style-default su-heading-align-center\" id=\"\" style=\"font-size:15px;margin-bottom:5px\"><div class=\"su-heading-inner\">Generate Your Own New Leads Within Microsoft Dynamics 365 CRM<\/div><\/div><\/h2>\n<p><em>Contact us for a <a href=\"https:\/\/www.maplytics.com\/maplytics-download\/?utm_source=highvisits&amp;utm_medium=technicalblog&amp;utm_campaign=hMaplytics\" target=\"_blank\" rel=\"noopener\">demo<\/a> to know more about how <a href=\"https:\/\/www.maplytics.com\/?utm_source=highvisits&amp;utm_medium=technicalblog&amp;utm_campaign=hMaplytics\" target=\"_blank\" rel=\"noopener\">Maplytics<\/a> can help you to generate new leads from within Microsoft Dynamics 365 CRM.<\/em><\/p>\n<p><em><a href=\"https:\/\/www.maplytics.com\/?utm_source=highvisits&amp;utm_medium=technicalblog&amp;utm_campaign=hMaplytics\" target=\"_blank\" rel=\"noopener\">Maplytics<\/a> is a 5-star rated, preferred business app on the <a href=\"https:\/\/appsource.microsoft.com\/en-us\/product\/dynamics-365\/inogic.f6f3c73f-29de-4fa8-a396-87ea8a07b6c4?tab=Overview\" target=\"_blank\" rel=\"noopener\">Microsoft AppSource<\/a> that is Certified for Microsoft Dynamics 365 (CfMD) and comes with powerful features like Appointment Planning, Sales Routing, Territory Management, Heat Maps, Geo-analytical Dashboards and more that empower organizations to add more value to their CRM data, improve sales &amp; service processes, and achieve high ROI.<\/em><\/p>\n<p><em>Get your <a href=\"https:\/\/www.maplytics.com\/maplytics-download\/?utm_source=highvisits&amp;utm_medium=technicalblog&amp;utm_campaign=hMaplytics\" target=\"_blank\" rel=\"noopener\">free trial<\/a> from our Website or <a href=\"https:\/\/appsource.microsoft.com\/en-us\/product\/dynamics-365\/inogic.f6f3c73f-29de-4fa8-a396-87ea8a07b6c4?tab=Overview\" target=\"_blank\" rel=\"noopener\">Microsoft AppSource<\/a>!<\/em><\/p>\n<p><em>&#8216;If data is the new oil, location intelligence is ??\u201d<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: We developed a custom SSRS report that is working just fine on the dev environment, which is a single box with CRM and SQL installed on the same machine. But when it was moved to production where CRM is installed on a separate box than the SQL server, it would not work and simple\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2015\/12\/rsprocessingaborted-error-for-dynamics-crm-custom-reports\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[19,58],"tags":[1512],"class_list":["post-2122","post","type-post","status-publish","format-standard","hentry","category-dynamics-crm","category-ssrs-reports","tag-rsprocessingaborted-error"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/2122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=2122"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/2122\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=2122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=2122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=2122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}