dj_relentless
asked on
Unable to run reports from CRM
Hi Guys
I've been struggling to get reports running on a crm system. Rollup 2 was applied recently but I'm not absolutely sure the reports were functioning prior to this.
I have seen the MS article that describes the tracelog error but I'm not going across a trust for domain queries and I'm not importing companies so I don't think it applies to me.
The configuration is a CRM server then behind that an sql server with reporting services, there is a provisioning server as well.
There are a few other CRM servers with reports functioning correctly with a similar setup in this environment but for the life of me I can't see where the problem lies.
I've been over and verified microsofts additional steps when SQL RS is install on a seperate server from CRM and it all fits. The crm IIS site runs as a service account and the reporting service iis runs as the network service.
From the user perspective they receive the error crm window in IE with the following
Reporting error
The report cannot be displayed
From the CRM servers event log.
Web service request SetDataSourceCredentials to Report Server http://server.domain/ReportServer failed with SoapException. Error: An error has occurred during report processing. (rsProcessingAborted)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 1/05/2009 8:52:43 a.m.
Event time (UTC): 30/04/2009 8:52:43 p.m.
Event ID: 34f16dca62ca417a83a702819f 5d7de0
Event sequence: 11895
Event occurrence: 18
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT-1-1288551 1407307149 2
Trust level: Full
Application Virtual Path: /
Application Path: c:\inetpub\wwwroot\
Machine name: SERVER
Process information:
Process ID: 3220
Process name: w3wp.exe
Account name: DOMAIN\SERVICEACCOUNT
Exception information:
Exception type: CrmReportingException
Exception message: An error has occurred during report processing. (rsProcessingAborted)
Request information:
Request URL: http://EXTERNALURL/CRMReports/rsviewer/reportviewer.aspx
Request path: /CRMReports/rsviewer/repor tviewer.as px
User host address: HOSTIP
User: {9693860f-c118-de11-9982-0 05056973ca f}
Is authenticated: True
Authentication Type: CrmPostAuthentication
Thread account name: DOMAIN\SERVICEACCOUNT
Thread information:
Thread ID: 1
Thread account name: DOMAIN\SERVICEACCOUNT
Is impersonating: False
Stack trace: at Microsoft.Crm.Web.Reportin g.SrsRepor tViewer.Se tExecution Credential s(ServerRe port report)
at Microsoft.Crm.Web.Reportin g.SrsRepor tViewer.Co nfigurePag e()
at Microsoft.Crm.Application. Controls.A ppUIPage.O nPreRender (EventArgs e)
at System.Web.UI.Control.PreR enderRecur siveIntern al()
at System.Web.UI.Page.Process RequestMai n(Boolean includeStagesBeforeAsyncPo int, Boolean includeStagesAfterAsyncPoi nt)
Custom event details:
For more information, see Help and Support Center at
From the Reporting Services tracelog
w3wp!processing!5!4/30/200 9-20:09:29 :: e ERROR: Throwing Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssingExcep tion: Cannot create a connection to data source 'CRM'., ;
Info: Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssingExcep tion: Cannot create a connection to data source 'CRM'. ---> System.DirectoryServices.D irectorySe rvicesCOME xception (0x80072030): There is no such object on the server.
at System.DirectoryServices.D irectoryEn try.Bind(B oolean throwIfFail)
at System.DirectoryServices.D irectoryEn try.Bind()
at System.DirectoryServices.D irectoryEn try.get_Ad sObject()
at System.DirectoryServices.P ropertyVal ueCollecti on.Populat eList()
at System.DirectoryServices.P ropertyVal ueCollecti on..ctor(D irectoryEn try entry, String propertyName)
at System.DirectoryServices.P ropertyCol lection.ge t_Item(Str ing propertyName)
at Microsoft.Crm.BusinessEnti ties.Secur ityUtils.G etSidFromA D(Guid objectGuid)
at Microsoft.Crm.Reporting.Da taConnecto r.SrsExtCo nnection.V alidateCal ler(Guid systemUserId, Guid organizationId)
at Microsoft.Crm.Reporting.Da taConnecto r.SrsExtCo nnection.M icrosoft.R eportingSe rvices.Dat aProcessin g.IDbConne ction.Open ()
at Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssing.Repo rtRuntimeD ataSourceN ode.OpenCo nnection(D ataSource dataSourceObj, ReportProcessingContext pc)
--- End of inner exception stack trace ---
w3wp!processing!5!4/30/200 9-20:09:29 :: e ERROR: Data source 'CRM': An error has occurred. Details: Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssingExcep tion: Cannot create a connection to data source 'CRM'. --->8:18 p.m. 30/04/2009.
w3wp!processing!5!4/30/200 9-20:09:29 :: e ERROR: An exception has occurred in data source 'CRM'. Details: Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssingExcep tion: Cannot create a connection to data source 'CRM'. ---> System.DirectoryServices.D irectorySe rvicesCOME xception: There is no such object on the server.
w3wp!processing!5!4/30/200 9-20:09:29 :: i INFO: Merge abort handler called. Aborting data sources ...
w3wp!processing!5!4/30/200 9-20:09:29 :: e ERROR: Throwing Microsoft.ReportingService s.ReportPr ocessing.P rocessingA bortedExce ption: An error has occurred during report processing., ;
Info: Microsoft.ReportingService s.ReportPr ocessing.P rocessingA bortedExce ption: An error has occurred during report processing. ---> Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssingExcep tion: Cannot create a connection to data source 'CRM'. ---> System.DirectoryServices.D irectorySe rvicesCOME xception: There is no such object on the server.
I've been struggling to get reports running on a crm system. Rollup 2 was applied recently but I'm not absolutely sure the reports were functioning prior to this.
I have seen the MS article that describes the tracelog error but I'm not going across a trust for domain queries and I'm not importing companies so I don't think it applies to me.
The configuration is a CRM server then behind that an sql server with reporting services, there is a provisioning server as well.
There are a few other CRM servers with reports functioning correctly with a similar setup in this environment but for the life of me I can't see where the problem lies.
I've been over and verified microsofts additional steps when SQL RS is install on a seperate server from CRM and it all fits. The crm IIS site runs as a service account and the reporting service iis runs as the network service.
From the user perspective they receive the error crm window in IE with the following
Reporting error
The report cannot be displayed
From the CRM servers event log.
Web service request SetDataSourceCredentials to Report Server http://server.domain/ReportServer failed with SoapException. Error: An error has occurred during report processing. (rsProcessingAborted)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 1/05/2009 8:52:43 a.m.
Event time (UTC): 30/04/2009 8:52:43 p.m.
Event ID: 34f16dca62ca417a83a702819f
Event sequence: 11895
Event occurrence: 18
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT-1-1288551
Trust level: Full
Application Virtual Path: /
Application Path: c:\inetpub\wwwroot\
Machine name: SERVER
Process information:
Process ID: 3220
Process name: w3wp.exe
Account name: DOMAIN\SERVICEACCOUNT
Exception information:
Exception type: CrmReportingException
Exception message: An error has occurred during report processing. (rsProcessingAborted)
Request information:
Request URL: http://EXTERNALURL/CRMReports/rsviewer/reportviewer.aspx
Request path: /CRMReports/rsviewer/repor
User host address: HOSTIP
User: {9693860f-c118-de11-9982-0
Is authenticated: True
Authentication Type: CrmPostAuthentication
Thread account name: DOMAIN\SERVICEACCOUNT
Thread information:
Thread ID: 1
Thread account name: DOMAIN\SERVICEACCOUNT
Is impersonating: False
Stack trace: at Microsoft.Crm.Web.Reportin
at Microsoft.Crm.Web.Reportin
at Microsoft.Crm.Application.
at System.Web.UI.Control.PreR
at System.Web.UI.Page.Process
Custom event details:
For more information, see Help and Support Center at
From the Reporting Services tracelog
w3wp!processing!5!4/30/200
Info: Microsoft.ReportingService
at System.DirectoryServices.D
at System.DirectoryServices.D
at System.DirectoryServices.D
at System.DirectoryServices.P
at System.DirectoryServices.P
at System.DirectoryServices.P
at Microsoft.Crm.BusinessEnti
at Microsoft.Crm.Reporting.Da
at Microsoft.Crm.Reporting.Da
at Microsoft.ReportingService
--- End of inner exception stack trace ---
w3wp!processing!5!4/30/200
w3wp!processing!5!4/30/200
w3wp!processing!5!4/30/200
w3wp!processing!5!4/30/200
Info: Microsoft.ReportingService
ASKER
I had debated doing rollup 3 on these servers but I didn't want to compound the problem by possibly introducing new ones.
Though I get the feeling this is exactly what microsoft will say if I put the call through to them.
Though I get the feeling this is exactly what microsoft will say if I put the call through to them.
I have gone through your error information
You got to check couple of things
1) when you login to your reportserver,http://<Servername>/ Reports - you could navigate to the CRM <Organization_MSCRM>. you would find CRM datasource, open it and check the SQL connection string is pointing to the right server.
2) In SQLSERVER, expand the database_MSCRM and check if user or administrator who has installed the Reportserver has CRMReaderrole assigned.
You got to check couple of things
1) when you login to your reportserver,http://<Servername>/
2) In SQLSERVER, expand the database_MSCRM and check if user or administrator who has installed the Reportserver has CRMReaderrole assigned.
ASKER
Thanks for your comment.
In the Connection string it shows the correct server, here is the full string minus company info.
Data Source=server.domain.local ;Initial Catalog=company_MSCRM;Inte grated Security=SSPI
In the sqlserver, the administrator doesn't have the crmreaderrole currently. I've tried assigning the db rights but it doesn't seem to make any different to what is logged.
In the Connection string it shows the correct server, here is the full string minus company info.
Data Source=server.domain.local
In the sqlserver, the administrator doesn't have the crmreaderrole currently. I've tried assigning the db rights but it doesn't seem to make any different to what is logged.
Can you try adding the role CRMReaderRole to your CRM database?
Also i would like to know if CRM and SRS is installed in one server and SQL in another? If yes, then install CRM 4.0 Connector for SQL Server Reporting Services.
Also i would like to know if CRM and SRS is installed in one server and SQL in another? If yes, then install CRM 4.0 Connector for SQL Server Reporting Services.
I've not tried this yet, but it looks to have some tools that can aid in debugging report server.
http://blogs.msdn.com/benl ec/archive /2008/03/0 4/crmdiagt ool4-for-m icrosoft-c rm-4-0-has -been-rele ased.aspx
http://blogs.msdn.com/benl
Yesterday I resolve this error for a client
1. You have to install data connector on sql box
2. publish the all the reports to report server <install location of crm/tools/publishreport.ex e <<orgname>>
3. Go to report server , open report manager you will see orgname_mscrm folder
4. you will see folder 4.0
5. Scroll down to datasource
6. Select from datasource --> crm extensons
7. Credential will be provided by user at run time
issreset
1. You have to install data connector on sql box
2. publish the all the reports to report server <install location of crm/tools/publishreport.ex
3. Go to report server , open report manager you will see orgname_mscrm folder
4. you will see folder 4.0
5. Scroll down to datasource
6. Select from datasource --> crm extensons
7. Credential will be provided by user at run time
issreset
You dont need to do second step just do 6th and 7th step that should help
ASKER
I haven't installed the diag tools yet.
sql and reporting services is on the same box with crm on a different box.
The crmreaderrole is already added to the databases
rakesh, the datasource configuration inside the 4.0 folder is configured as you've suggested.
If I run the report from the reporting services page (from the sql server) and not via crm I receive this message.
(it does request user id and pass before the report runs)
An error has occurred during report processing. (rsProcessingAborted)
Cannot create a connection to data source 'CRM'. (rsErrorOpeningConnection)
Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-x xxxxxxxxxx x).
sql and reporting services is on the same box with crm on a different box.
The crmreaderrole is already added to the databases
rakesh, the datasource configuration inside the 4.0 folder is configured as you've suggested.
If I run the report from the reporting services page (from the sql server) and not via crm I receive this message.
(it does request user id and pass before the report runs)
An error has occurred during report processing. (rsProcessingAborted)
Cannot create a connection to data source 'CRM'. (rsErrorOpeningConnection)
Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-x
ASKER
Though after I checked I realised that error is normal if run from the reporting services.
Have you given permission for NT AUTHORITY\NETWORK SERVICE with CRMReaderrole? I think its better to reinstall CRM Connector 4.0 and check if its giving the same issue
ASKER
I did test giving the network service (which is what the crm iis site runs as) crmreaderrole on the companies database but it didn't make any difference at the time.
I've reinstalled the rs connector on the sql server before.
Something I haven't mentioned yet which may make quite a difference is that the user logging in has a different upn to the domain.
I've reinstalled the rs connector on the sql server before.
Something I haven't mentioned yet which may make quite a difference is that the user logging in has a different upn to the domain.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I am having the same issue. Can you clarify your solutions a little?
I'm having the same issue, but don't understand what you're referring to in your solution. Could you please clarify, or walk through the steps a little?
It's possible that you got the first version of Rollup 2, which may have caused your errors. Try going to Rollup 3 to see if that will resolve your problems:
http://www.microsoft.com/d