[In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/pabloperalta] September 2011 - Posts - Pablo Peralta's Blog

September 2011 - Posts

Hi,

I came up this issue when trying to run any report within my Dynamics CRM 2011 implementation:

 

image

Eventlog:

Web service request GetDataSourceContents to Report Server http://crm-vm/reportserver/ReportService2005.asmx failed with SoapException. Error: The item '/SharedReports/5.0.xxxx/MSCRM_FetchDataSource' cannot be found.

 

This was a deployment where Reporting Extensions were installed much more later than CRM installation and Reporting Services where reinstalled so do Reporting Extensions afterwards but reports happened to not work.

So, I am gonna share here how I sorted this out in case somebody else faces something similar:

 

  • Logged in the CRM Server with the administrator account that Dynamics CRM was previously installed with.

 

  • First off, I disabled UAC for the account. [Control Panel –> User Accounts –> Change User Account Control Settings].

image

  • Restarted server (yes, it’s needed Sad smile)

 

  • After restarting, entered Report Manager (http://myserver/reports) and explicitly added setup account with all roles in Report Manager

image

  • Within Report Manager, I added the account as System administrator in Reporting Services [Site Settings –> Security]

image

  • Finally, using command prompt, I run publishreports.exe using the name of my organization (I had only one org on that deployment).

This command is located at \Program Files\Microsoft CRM folder\Tools folder and is used to synchronize the reports between CRM and SSRS.

So, the syntax was:

publishreports MyOrgName

 

After the above steps my reports started to work properly Smile.

image

 

Hope it saves somebody else’s time.

PP [twitter: @pabloperalta]

Hi,

Installing a completely new Dynamics CRM 2011 on top of Windows Server 2008 R2 and a separate SQL Server 2008 R2 I faced the following issue:

Microsoft.Crm.Setup.Server.GrantConfigDBDatabaseAccessAction failed

Windows NT user or group 'MYDOMAIN\SQLAccessGroup' not found. Check the name again.

 

[Cause]

Everything was right (the account I was using had enough privileges, the group exists in the AD, etc.).

After some research I found some links that talked about the problem but didn’t match at all with my scenario (i.e. one talks about a german deployment issue). Then, I came up with this thread, where I found some (unbelievable) clue: it seemed the install process was not able to create the login in SQL Server because a SQL Server Management Studio query window was open and locked one of the system DB.

Odd, but true :p). But, just by closing SSMS was not enough.

 

[Solution]

In my case, I had a Remote Desktop Session opened with my SQL Server.

So, my solution was: just logoff SQL Server remote desktop session :p)

This way everything was closed.

Then, got back to my Dynamics CRM setup and clicked on “Retry”. Installation continued smoothly :)

 

Hope it helps to save somebody else’s time.

PP [twitter: @pabloperalta]

More Posts