Reporting Error in CRM - The report cannot be displayed. (rsProcessingAborted)

 

Los síntomas de recibir el siguiente error al intentar ejecutar informes creados en CRM con el asistente ó utilizando MSCRM_FetchDataSource:

En el servidor de SSRS: Your browser does not support scripts or has been configured not to allow scripts.

En las máquinas clientes:
An error occurred during client rendering.
An error has occurred during report processing.
Cannot create a connection to data source ‘CRM’.
For more information about this error navigate to the report server on the local
server machine, or enable remote errors.

En CRM :

Reporting Error
The report cannot be displayed. (rsProcessingAborted
)

 

Pueden tener las siguientes causas:

1. SPN's no configurados
2. Falta de permisos de la cuenta de servicio de SSRS Service en el AD y en SQL
3. Site de CRM ApplicationHost.config no configurado para utilizar las credenciales de Windows Authentication del AppPoolCredentials

 

Prueba las alguna de las siguientes alternativas para solucionarlo:

 

1. Configurar los SPNs en el servidor especificado:

 

Servidor CRM
SETSPN -a HTTP/CrmServerName Domain\CRMAppPool
SETSPN -a HTTP/CrmServerName.Domain.com Domain\CRMAppPool

Servidor SSRS/SQL Server: SETSPN -a HTTP/SsrsServerName Domain\SRSAppPool
SETSPN -a HTTP/SsrsServerName.Domain.com Domain\SRSAppPool

Para SQL:
SETSPN -a MSSQLSvc/SqlServerName:1433 Domain\SQLServerSvcAcct
SETSPN -a MSSQLSvc/SqlServerName.Domain.com:1433 Domain\SQLServerSvcAcct

 

2. Configurar los permisos de la cuenta de servicio de SSRS Service en el AD y modificar los permisos del grupo SQLAccessGroup en SQL como dice el artículo:

Error message when you run a report in Microsoft Dynamics CRM 4.0: "Reporting Error. The report cannot be displayed"
https://support.microsoft.com/kb/946585 

Sección: Complete the following steps if SQL Reporting Services is running as a domain user account

 

3. Añadir/cambiar la siguiente sección el fichero ApplicationHost.config del site de CRM Site en un editor de texto . (%windir%\system32\inetsrv\config\. Para todos los ficheros bajo la ruta del Default Web Site)

Poner el elemento WindowsAuthentication del atributo useAppPoolCredentials a true.

 

Por ejemplo:

 

<system.webServer>

   <security>

      <authentication>

        <windowsAuthentication enabled="true" useAppPoolCredentials="true" />

      </authentication>

   </security>

</system.webServer>   

 

Si el servidor de CRM 2012 esta configurado en SQL Cluster habrá que añadir un par de SPNs más como explica el siguiente artículo:

Microsoft Dynamics CRM 2011: Reports created by report wizard may fail when executing

https://support.microsoft.com/kb/2590774 

 

Maria Esteban

Ingeniero de Soporte de Reporting Services