Question

Unable to run reports from CRM

Asked by: dj_relentless

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: 34f16dca62ca417a83a702819f5d7de0
Event sequence: 11895
Event occurrence: 18
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1/ROOT-1-128855114073071492
    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/reportviewer.aspx
    User host address: HOSTIP
    User: {9693860f-c118-de11-9982-005056973caf}
    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.Reporting.SrsReportViewer.SetExecutionCredentials(ServerReport report)
   at Microsoft.Crm.Web.Reporting.SrsReportViewer.ConfigurePage()
   at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
 
Custom event details:

For more information, see Help and Support Center at


From the Reporting Services tracelog

w3wp!processing!5!4/30/2009-20:09:29:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'CRM'., ;
 Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'CRM'. ---> System.DirectoryServices.DirectoryServicesCOMException (0x80072030): There is no such object on the server.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.PropertyValueCollection.PopulateList()
   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
   at Microsoft.Crm.BusinessEntities.SecurityUtils.GetSidFromAD(Guid objectGuid)
   at Microsoft.Crm.Reporting.DataConnector.SrsExtConnection.ValidateCaller(Guid systemUserId, Guid organizationId)
   at Microsoft.Crm.Reporting.DataConnector.SrsExtConnection.Microsoft.ReportingServices.DataProcessing.IDbConnection.Open()
   at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ReportRuntimeDataSourceNode.OpenConnection(DataSource dataSourceObj, ReportProcessingContext pc)
   --- End of inner exception stack trace ---
w3wp!processing!5!4/30/2009-20:09:29:: e ERROR: Data source 'CRM': An error has occurred. Details: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'CRM'. --->8:18 p.m. 30/04/2009.

w3wp!processing!5!4/30/2009-20:09:29:: e ERROR: An exception has occurred in data source 'CRM'. Details: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'CRM'. ---> System.DirectoryServices.DirectoryServicesCOMException: There is no such object on the server.

w3wp!processing!5!4/30/2009-20:09:29:: i INFO: Merge abort handler called. Aborting data sources ...
w3wp!processing!5!4/30/2009-20:09:29:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing., ;
 Info: Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'CRM'. ---> System.DirectoryServices.DirectoryServicesCOMException: There is no such object on the server.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-04-30 at 14:01:51ID24370728
Tags

CRM SQL Reporting Services

Topic

Microsoft Dynamics

Participating Experts
5
Points
0
Comments
15

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. CRM
    I don't know a thing about CRM so my question may look stupid: Can I deliver a CRM solution without delivering a data warehouse? How does it work?
  2. Cannot install the SRS Connector in CRM 4.0
    Hi, Having issues connecting the SRS Connector in CRM The error is - Unable to validate SQL Server Reporting Services report server installation. Please check that it is installed correctly on the local machine. Our CRM install is on Server1 and our SQL is on Server2 doe...
  3. CRM Outlook unable to connect to CRM Server
    Am getting following error when trying to configure CRM outlook with the Microsoft CRM server. There is a problem communicating with the Microsoft CRM server. The server might be unavailable. Try again later. If the problem persists, The systems are in a workgroup not in the ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: crm_infoPosted on 2009-04-30 at 14:14:04ID: 24274496

One quick suggestion: Microsoft actually released Update Rollup 2, then Update Rollup 2 version 2 (because the first version caused so many problems) and then, more recently, they released Update Rollup 3.

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/downloads/details.aspx?familyid=05453fa4-9551-4a88-9852-634a9ad0e140&displaylang=en&tm

 

by: dj_relentlessPosted on 2009-04-30 at 14:27:58ID: 24274608

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.

 

by: Aftab_KhateebPosted on 2009-04-30 at 15:34:05ID: 24275027

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.

 

by: dj_relentlessPosted on 2009-04-30 at 16:01:34ID: 24275185

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;Integrated 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.

 

by: Aftab_KhateebPosted on 2009-05-01 at 06:25:14ID: 24278980

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.

 

by: crm_infoPosted on 2009-05-01 at 06:57:58ID: 24279379

I've not tried this yet, but it looks to have some tools that can aid in debugging report server.

http://blogs.msdn.com/benlec/archive/2008/03/04/crmdiagtool4-for-microsoft-crm-4-0-has-been-released.aspx

 

by: rakeshAgarwalPosted on 2009-05-01 at 08:05:35ID: 24280107

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.exe  <<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

 

by: rakeshAgarwalPosted on 2009-05-01 at 08:35:42ID: 24280468

You dont need to do second step   just do  6th and 7th step that should help

 

by: dj_relentlessPosted on 2009-05-02 at 17:20:44ID: 24288192

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-xxxxxxxxxxxx).

 

by: dj_relentlessPosted on 2009-05-02 at 17:27:09ID: 24288210

Though after I checked I realised that error is normal if run from the reporting services.

 

by: Aftab_KhateebPosted on 2009-05-02 at 20:17:50ID: 24288552

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

 

by: dj_relentlessPosted on 2009-05-02 at 21:16:05ID: 24288660

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.

 

by: dj_relentlessPosted on 2009-05-10 at 22:31:58ID: 24351664

Problem turned out to be AD permissions inregards to reporting group visibility.

 

by: CoventryFirstPosted on 2009-11-12 at 07:32:39ID: 25805383

I am having the same issue.  Can you clarify your solutions a little?

 

by: customertraxPosted on 2010-03-17 at 11:58:20ID: 27731697

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?

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...