{"id":930,"date":"2015-06-30T17:10:38","date_gmt":"2015-06-30T15:10:38","guid":{"rendered":"https:\/\/technet.cloud4you.biz\/?p=930"},"modified":"2019-04-08T15:32:33","modified_gmt":"2019-04-08T13:32:33","slug":"rsprocessingaborted-crm-2011-x-custom-fetch-reports","status":"publish","type":"post","link":"https:\/\/technet.cloud4you.biz\/en\/rsprocessingaborted-crm-2011-x-custom-fetch-reports\/","title":{"rendered":"rsProcessingAborted &#8211; CRM 2011-X Custom Fetch Reports"},"content":{"rendered":"<p><span style=\"text-decoration: underline;\"><strong>Betroffene Systeme:<\/strong><\/span><br \/>\nMicrosoft Dynamics CRM Server 2011, 2013, 2015<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Genaue Beschreibung:<\/strong><\/span><br \/>\nBei der Ausf\u00fchrung eines selbsterstellten FetchXML-Reports wird einem anstatt des Reports nur folgender Fehler angezeigt:<\/p>\n<blockquote><p>The report cannot be displayed.\u00a0(rsProcessing Aborted)<\/p><\/blockquote>\n<p>Geht man nun auf den Reporting-Server und schaut in die Logs (Standardpfad:\u00a0C:\\Program Files\\Microsoft SQL Server\\&lt;Datenbank&gt;\\Reporting Services\\LogFiles), so wird man unter anderem folgende Meldungen finden:<\/p>\n<blockquote><p>System.ServiceModel.Security.SecurityNegotiationException: A call to SSPI failed, see inner exception.<br \/>\nSystem.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception.<br \/>\nSystem.ComponentModel.Win32Exception: The target principal name is incorrect<\/p><\/blockquote>\n<p><span style=\"text-decoration: underline;\"><strong>Ursache:<br \/>\n<\/strong><\/span>Die FetchXML-Abfrage muss einen hierf\u00fcr zust\u00e4ndigen HTTP SPN abfragen k\u00f6nnen, um korrekt mit dem Reporting-Server kommunizieren zu k\u00f6nnen. L\u00e4uft der CRM Application Pool unter einem Domain-Account, so wird diese Abfrage fehlschlagen, da der SPN nicht von Haus aus gesetzt wird.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Behebung:<\/strong><\/span><br \/>\nUm diesen Fehler zu beheben, sind folgende Schritte notwendig:<\/p>\n<ul>\n<li>Im IIS\u00a0gehen wir auf die CRM-Seite, klicken auf Authentication, highlighten &#8220;Windows Authentication&#8221; und aktivieren dann unter Advanced Settings den Haken f\u00fcr &#8220;Enable Kernel-mode authentication&#8221;.<\/li>\n<li>Anschlie\u00dfend setzen wir folgende Befehle in der Kommandozeile ab:<br \/>\nPS&gt; setspn -a &#8220;HTTP\/&lt;<em>CRM-Srv &#8211; Hostname<\/em>&gt;&#8221; &#8220;&lt;<em>Application Service User<\/em>&gt;&#8221;<br \/>\nPS&gt;\u00a0setspn -a &#8220;HTTP\/&lt;<em>CRM-Srv &#8211; FQDN<\/em>&gt;&#8221; &#8220;&lt;<em>Application Service User<\/em>&gt;&#8221;<\/li>\n<\/ul>\n<p>Damit sollten die FetchXML-Reports wieder laufen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Betroffene Systeme: Microsoft Dynamics CRM Server 2011, 2013, 2015 Genaue Beschreibung: Bei der Ausf\u00fchrung eines selbsterstellten FetchXML-Reports wird einem anstatt des Reports nur folgender Fehler angezeigt: The report cannot be displayed.\u00a0(rsProcessing Aborted) Geht man nun auf den Reporting-Server und schaut in die Logs (Standardpfad:\u00a0C:\\Program Files\\Microsoft SQL Server\\&lt;Datenbank&gt;\\Reporting Services\\LogFiles), so wird man unter anderem folgende Meldungen [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[77],"tags":[209,191],"class_list":["post-930","post","type-post","status-publish","format-standard","hentry","category-crm","tag-crm","tag-rsprocessingaborted"],"translation":{"provider":"WPGlobus","version":"3.0.6","language":"en","enabled_languages":["de","en"],"languages":{"de":{"title":true,"content":true,"excerpt":false},"en":{"title":false,"content":false,"excerpt":false}}},"_links":{"self":[{"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/posts\/930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/comments?post=930"}],"version-history":[{"count":2,"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/posts\/930\/revisions"}],"predecessor-version":[{"id":2477,"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/posts\/930\/revisions\/2477"}],"wp:attachment":[{"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/media?parent=930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/categories?post=930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/tags?post=930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}