Message: An unhandled error has occurred. To view details about this error, enable debugging in the web.config file or view the Windows event logs.
J’ai donc jeté un coup d’œil au journal d’évènements et voici ce que j’ai trouvé sur le serveur d’AOS:
Message #1
Unable to set parameter values before rendering the report. Contact your system administrator for assistance.
An error has occurred during report processing. (rsProcessingAborted)
[...]
Query execution failed for dataset 'Company'. (rsErrorExecutingCommand)
Message #2
[...]
Unable to cast object of type 'System.Int32' to type 'Microsoft.Dynamics.AX.ManagedInterop.Record'.
[...]
Et voici ce que j’ai trouvé sur le serveur SSRS
Unable to get version information using existing WCF configuration from local storage.
Exception details:
Microsoft.Dynamics.AX.Framework.Services.Client. MetadataServiceException: Exception occurred on the metadata service on client or server. See exception details below:
>Unable to log on to Microsoft Dynamics AX. ---> System.ServiceModel.FaultException: Unable to log on to Microsoft Dynamics AX.
Afin de résoudre le problème, j'ai dû ajouter les comptes BCProxy et d’AOS dans les groupes active directory suivant :
• Windows Authorization Access group
• Pre-Windows 2000 Compatibility Access group
Source: http://technet.microsoft.com/en-us/library/ee355041.aspx