Search This Blog

Tuesday, June 14, 2016

The report cannot be displayed. (rsprocessingaborted) in CRM 2011(Part-2)

A best practice is to install CRM using service accounts.

 Most administrators will do the same for SQL Server.  Many of the warnings about SPN’s during the install are igorned users. Many DBA’s will change the SQL service accounts after installation which will also cause issues.

CRM 2011 offers a new service called the Sandbox processing service. Failure to set the special SPN for this service while trying to run custom reports created with the report wizard will result in RS failure message.

SPN
A common configuration step when establishing a Kerberos authentication method is the use of a Service Principal Name, or SPN, to identify a specific service. This article shows you how to specify a user or computer account to be identified with that specific service by using the SetSPN utility.

An SPN is a reference to a specific service, for example, an instance of SQL or a web application run by IIS. Since SPNs are specific, they reference not only what the service is (such as an SQL server), but also which hostname runs the instance and on which port it’s running (however, you don’t have to specify the port if running on default ports).

Syntax:
-a    Add an entry to an account (explicitly)
-s    Add an entry to an account (only after checking for duplicates first)
-d    Delete an entry from an account
-x    Search the domain for duplicate SPNs

-q    Query the domain for a specific SPN

ext, check the SPN for the CRM server so that it has HTTP using the following command:
setspn -L ( crm service account) 
Look for http/servername and http/servername.FQDN you will need both.
To set them if missing:
setspn -A http/crmservername domainname\crmservice account
setspn -A http/crmservername.fqdn.com domainname\crmservice account

To view use the setspn -L with the service account name to see http has been set. (See screenshot below)

Eg:
CRM service account:       CRM_APP_SVC_TEST
domainname:                      iff.local
crmservername :                CRMDEV.iff.local
crmservername.fqdn.com:CRMDEV

setspn -l CRM_APP_SVC_TEST

setspn -a http/CRMDEV.iff.local iff.local\CRM_APP_SVC_TEST

setspn -a http/CRMDEV iff.local\CRM_APP_SVC_TEST

Now, on to the secret spn for the sandbox service..

setpsn -A MSCRMSandboxService domainname\crmsandbox service account

Once that has been completed on the CRM server, now head over to the SQL Server and check the service accounts for SQL. Let’s assume they are running under a SQL Service Account. IF the SQL service accounts were specified during the original install, the SPNs were created automatically.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.