Answered by:
Crm Dynamics 2011 Report Error

Question
-
Dear CRM support,
I am having error running custom reports in our CRM Dynamics instance as shown below:
Please help on how to resolve.
Thanks and regards,
Honey
Tuesday, September 9, 2014 1:12 PM
Answers
-
Check following:
1, The SPN listings are correct.
2, The group nesting shouldn’t be performed – all accounts needs to be added directly into the CRM groups and not via another AD group
3, The group membership goes like this:
PrivReportingGroup – This should always contain the account running SSRS service.
PrivUserGroup – This should always contain the account running CRMAppPool.
This should always contain the account running SSRS service
The account running email router also should be a member of this group.
The account running CRM Asynchronous service also should be a member of this group.
ReportingGroup – All CRM users should be a member of “ReportingGroup”.
SQL Access Group - The account running CRMAppPool needs to be a member of this group
The account running CRM Asynchronous service also should be a member of this group.4, The scope of all these groups should be “Domain Local” so that CRM can be used across domains.
5, The “SharedReports\5.0.xxxx” folder which contains all out of box reports should be given the following “Role Assignments” which in turn will be inherited down. Please ensure that you give it at this level (open reports URL, click “SharedReports”, then click to open “5.0.xxxx” folder and this will list all reports, now click “Folder Settings | Security”) so that it inherits down. Click “New Role Assignment” to add new roles.
The required roles are:
1), BUILTIN\Administrators – “Content Manager”
2), PrivReportingGroup – “Browser for Microsoft CRM”
3), ReportingGroup – “Browser for Microsoft CRM”
4), SQLAccessGroup – “Publisher for Microsoft CRM”
6, The permissions given in SQL should be as follows:
1), PrivReportingGroup – This should have “CRMReaderRole” and “Public” database roles for all CRM organization databases and also for MSCRM_CONFIG database.
2), ReportingGroup - This should have “Public” database role and “CRMReaderRole” for all CRM organization databases.
3), SQLAccessGroup - This should have “db_owner” and “Public” database roles for all CRM organization databases and also for MSCRM_CONFIG database.
4), The SSRS Service account – On “ReportServer” database and on “ReportServerTempDB” database this account should have “Public” and “db_owner” role.
On “master” database this account should have “public” and “RSExecRole”
On “msdb” databases this account should have “public” , “RSExecRole” – let the remaining roles be there.- Marked as answer by Honey Dulatre Friday, September 12, 2014 4:10 AM
Wednesday, September 10, 2014 7:16 AM -
Hi Honey,
You are in the right direction.
Can you please verify that nexus\honeyd and Reporting Services Configuration Manager -> Execution Account user are the same? If yes then IISRESET and try to run your report.
There is no need to attach all the user to belwo groups.Only Execution Account user needs to be added to the below groups.
-PrivReportingGroup
-ReportingGroup
-SqlAccessGroup
-PrivUserGroup
Regards,
Saad- Edited by Mohd Saad Friday, September 12, 2014 3:58 AM added clarification on Groups
- Marked as answer by Honey Dulatre Friday, September 12, 2014 4:09 AM
Friday, September 12, 2014 3:54 AM
All replies
-
Hi Honey,
Please provide the Event Viewer Error details for this Error.
Tuesday, September 9, 2014 1:15 PM -
Hi Sir,
Here's the logs from event viewer:
The Sandbox Host service has terminated a Sandbox Worker process.
Source: Microsoft.Crm.Sandbox.HostService.exe (12840)
Worker: {cac3afbc-042d-4dd0-981a-d525fb4a8633}:9332
Reason: TerminateOtherHere's the other one
Report Server (MSSQLSERVER) cannot load the TERADATA extension.
Thank you for the response. Looking forward to see another for this.
Regards,
Honey
Wednesday, September 10, 2014 2:02 AM -
Hi Honey,
The above log seems to be for something else.
Go to application Server and run the Report and try to find Event log in Event Viewer related to MSCRMReporting.
Create a simple custom Report without any query. Just display text and try to run it.
What credentials are used to run Sandbox Service (Network Service / AD user)?
Are your CRM application and SQL Server running on same server?
Please answer the questions to help me understand your system.
Regards,
Saad
Wednesday, September 10, 2014 4:16 AM -
Hi Saad,
I'll try to look for related logs of MSCRMReporting. For the other questions,
Sandbox Service uses Network Service credentials
CRM and SQL application is on a single server only.
Thank you so much for the support. I'll get back to you once i have the event viewer logs.
Regards,
Honey
Wednesday, September 10, 2014 5:10 AM -
Hi Saad,
Here's another event viewer logs:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"><Provider Name="MSCRMReporting" /><EventID Qualifiers="49152">19970</EventID><Level>2</Level><Task>0</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime="2014-09-10T05:37:25.000000000Z" /><EventRecordID>1222419</EventRecordID><Channel>Application</Channel><Computer>crm.int.nexustech.com.ph</Computer><Security /></System><Data>An error has occurred during report processing. (rsProcessingAborted)</Data><Data>w3wp</Data><Data>D:\Program Files\Microsoft Dynamics CRM\CRMWeb\</Data></EventData></Event>Wednesday, September 10, 2014 5:39 AM -
Check following:
1, The SPN listings are correct.
2, The group nesting shouldn’t be performed – all accounts needs to be added directly into the CRM groups and not via another AD group
3, The group membership goes like this:
PrivReportingGroup – This should always contain the account running SSRS service.
PrivUserGroup – This should always contain the account running CRMAppPool.
This should always contain the account running SSRS service
The account running email router also should be a member of this group.
The account running CRM Asynchronous service also should be a member of this group.
ReportingGroup – All CRM users should be a member of “ReportingGroup”.
SQL Access Group - The account running CRMAppPool needs to be a member of this group
The account running CRM Asynchronous service also should be a member of this group.4, The scope of all these groups should be “Domain Local” so that CRM can be used across domains.
5, The “SharedReports\5.0.xxxx” folder which contains all out of box reports should be given the following “Role Assignments” which in turn will be inherited down. Please ensure that you give it at this level (open reports URL, click “SharedReports”, then click to open “5.0.xxxx” folder and this will list all reports, now click “Folder Settings | Security”) so that it inherits down. Click “New Role Assignment” to add new roles.
The required roles are:
1), BUILTIN\Administrators – “Content Manager”
2), PrivReportingGroup – “Browser for Microsoft CRM”
3), ReportingGroup – “Browser for Microsoft CRM”
4), SQLAccessGroup – “Publisher for Microsoft CRM”
6, The permissions given in SQL should be as follows:
1), PrivReportingGroup – This should have “CRMReaderRole” and “Public” database roles for all CRM organization databases and also for MSCRM_CONFIG database.
2), ReportingGroup - This should have “Public” database role and “CRMReaderRole” for all CRM organization databases.
3), SQLAccessGroup - This should have “db_owner” and “Public” database roles for all CRM organization databases and also for MSCRM_CONFIG database.
4), The SSRS Service account – On “ReportServer” database and on “ReportServerTempDB” database this account should have “Public” and “db_owner” role.
On “master” database this account should have “public” and “RSExecRole”
On “msdb” databases this account should have “public” , “RSExecRole” – let the remaining roles be there.- Marked as answer by Honey Dulatre Friday, September 12, 2014 4:10 AM
Wednesday, September 10, 2014 7:16 AM -
You can run a trace using Diagnostics tool for Microsoft Dynamics CRM 2011 and get a detailed error log. Please try to find out what is the issue in the logWednesday, September 10, 2014 9:01 AM
-
Hi,
Is this the first report you have created for the CRM system and are trying to run or is it a new report you have created that isn't working and you have others that are working?
regards,
Matt
Wednesday, September 10, 2014 9:28 AM -
Hi Matt and other support people.
Reports are working before for both out of the box and custom reports i made. But now i need to change some columns on a custom report i have made before. Upon running the report the error above appeared. I don't know why it is not working now and experiencing such error.
Thanks and regards,
Honey
Thursday, September 11, 2014 3:30 AM -
Hi Honey,
Can you share the specific error log when you run the report?
Also are you able to run this report on VS locally.
Saad
Thursday, September 11, 2014 4:38 AM -
Hi Saad,
Where should i get the logs? on the event viewer?
Also, i only run the reports using CRM > Reports entity.
Thanks and regards,
HOney
Thursday, September 11, 2014 5:20 AM -
Hi Saad and other support people,
I got this error from event viewer.
<Provider Name="MSCRMReporting" /><EventID Qualifiers="49152">19969</EventID><Level>2</Level><Task>0</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime="2014-09-11T05:21:46.000000000Z" /><EventRecordID>12820</EventRecordID><Channel>Application</Channel><Computer>DBDEV2.int.nexustech.com.ph</Computer><Security /></System><Data>SetDataSourceCredentials</Data><Data>http://dbdev2/reportserver</Data><Data>An error has occurred during report processing. (rsProcessingAborted)</Data><Data>w3wp</Data><Data>D:\Program Files\Microsoft Dynamics CRM\CRMWeb\</Data></EventData></Event>
Thank you!
Honey
Thursday, September 11, 2014 5:22 AM -
Hi Honey,
Are your other Custom Reports running fine. If not, then rollback the changes that you have done and try to run reports again.
Thursday, September 11, 2014 5:34 AM -
Hi Saad,
All custom reports and default reports have same error.
Thanks and regards,
Honey
Thursday, September 11, 2014 5:39 AM -
Hi Honey,
Last option will be to run a trace using "Diagnostics tool for Microsoft Dynamics CRM 2011"and get a detailed error log.
Share the error log and let me check whats wrong.
Saad
Thursday, September 11, 2014 6:54 AM -
Hi Saad,
Please see below details of the logs. I have included Application and Reports for the category of the Trace. Looking forward to your feedback. Thank you so much for the support.
Regards,
Honey
# CRM Tracing Version 2.0
# LocalTime: 2014-09-11 17:50:15.517
# Categories: Application.*:Verbose;Reports.*:Verbose
# CallStackOn: No
# ComputerName: CRM
# CRMVersion: 5.0.9901.0003
# DeploymentType: OnPremise
# ScaleGroup:
# ServerRole: AppServer, AsyncService, DiscoveryService, ApiServer, HelpServer, DeploymentService, SandboxServer, DeploymentManagementTools
[2014-09-11 17:50:15.517] Process:ReportingServicesService |Organization:00000000-0000-0000-0000-000000000000 |Thread: 142 |Category: Reports |User: 00000000-0000-0000-0000-000000000000 |Level: Info |ReqId: | DataExtensionConnectionBase.ValidateCaller ilOffset = 0x5
>Validating immediate caller.
[2014-09-11 17:50:15.637] Process:ReportingServicesService |Organization:00000000-0000-0000-0000-000000000000 |Thread: 142 |Category: Reports |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: | ExceptionManager.Assert ilOffset = 0x17
>Immediate caller NEXUS\honeyd has insufficient privilege to run report as user S-1-5-20.
[2014-09-11 18:07:43.581] Process:ReportingServicesService |Organization:00000000-0000-0000-0000-000000000000 |Thread: 1 |Category: Reports |User: 00000000-0000-0000-0000-000000000000 |Level: Info |ReqId: | DataExtensionConnectionBase.ValidateCaller ilOffset = 0x5
>Validating immediate caller.
[2014-09-11 18:07:43.628] Process:ReportingServicesService |Organization:00000000-0000-0000-0000-000000000000 |Thread: 1 |Category: Reports |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: | ExceptionManager.Assert ilOffset = 0x17
>Immediate caller NEXUS\honeyd has insufficient privilege to run report as user S-1-5-20.
Thursday, September 11, 2014 10:14 AM -
Hi Honey,
can you please share under what credentials/account your Reporting Services Configuration Manager -> Execution Account is running?Also please check the following link:
https://community.dynamics.com/crm/b/crminogic/archive/2012/05/29/solutions-to-issues-with-reports-in-dynamics-crm-2011.aspx
Saad
- Edited by Mohd Saad Thursday, September 11, 2014 12:23 PM added link
Thursday, September 11, 2014 12:19 PM -
Hi Saad,
Here's the credentials for the reporting services configuration manager.. account is same with nexus\honeyd
Thanks and regards,
Honey
Thursday, September 11, 2014 12:45 PM -
Hi Saad,
I was now able to view some of the default reports, but i have observe that i cannot view the custom reports when i use a different account aside from nexus\honeyd
Here's the things i have done
Add nexus\honeyd service account to the following group
-PrivReportingGroup
-ReportingGroup
-SqlAccessGroup
-PrivUserGroupPlease advise on how i can resolve the viewing of custom report.
Also, I'm trying to access the reports found on the SharedReports/5.0xxxx from the reports server URL however it asks for a credential to be used, when i mapped the account nexus\honeyd it resulted to same error.
One more thing, do i need to add all the users from these groups as well?
-PrivReportingGroup
-ReportingGroup
-SqlAccessGroup
-PrivUserGroupThank you for the usual support.
Regards,
Honey
Thursday, September 11, 2014 2:30 PM -
Hi Honey,
You are in the right direction.
Can you please verify that nexus\honeyd and Reporting Services Configuration Manager -> Execution Account user are the same? If yes then IISRESET and try to run your report.
There is no need to attach all the user to belwo groups.Only Execution Account user needs to be added to the below groups.
-PrivReportingGroup
-ReportingGroup
-SqlAccessGroup
-PrivUserGroup
Regards,
Saad- Edited by Mohd Saad Friday, September 12, 2014 3:58 AM added clarification on Groups
- Marked as answer by Honey Dulatre Friday, September 12, 2014 4:09 AM
Friday, September 12, 2014 3:54 AM -
Hi Saad,
It's working now. i have tried both default and custom report and both reports worked :)
Thank you so much for helping me out. I still have to check the rest of the reports. Nevertheless, it's working already. Thank you again for the patience of helping me resolve the issue.
Regards,
Honey
Friday, September 12, 2014 4:09 AM -
Hi Wilson,
Thank you for this list, it helped a lot too.
Regards,
Honey
Friday, September 12, 2014 4:10 AM