SSRS and MS Dynamics CRM 4.0 - reporting-services

I had to do some changes in SSRS reports and deployed the same in the report server which is connected to CRM 4.0. I am unable to see the updated reports when I run the report in CRM 4.0. Any suggestions?
Thank you

You shouldn't update the report directly in Report Server. For CRM to pickup the changes, you must upload the report via CRM Customisations.
The reason for this is that CRM will modify the report to replace the connection strings and add hidden system-parameters to the report.

Related

Excel as Datasource in SSRS report

How can I give Excel as datasource in SSRS report I am developing SSRS report in Visual Studio 2008, please help me in this, I have read various links but unable to get desired results.
In Visual studio - there is an option to create a datasource from an ODBC connection. From these dialogs you should be able to create a machine dsn to the excel file you require.
So...... from your report in visual studio, Click Create new DataSource...

SSRS Report deployment without access to the server

Is it possible to deploy a SSRS report with my id to the report server, if I do not have access to the report server?
If yes, how?

Cannot connect to remote MS Dynamics CRM Fetch XML datasource from SSRS

I have Office 365 with Microsoft Dynamics CRM which contains business data and I have SQL Server Reporting Services on a stand-alone server that serves as a report container and my ASP.NET websites can execute these reports and people can deploy reports there.
In Visual Studio I've created Fetch XML datasource for my report supplying CRM server credentials and report runs smoothly, no problems at all. When I deploy it on SSRS server I can't execute it with the same credentials, it just throws following error:
Guid should contain 32 digits with 4 dashes
(xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
Ok, no big deal. I googled it and found out I had to enter SystemUserId and OrganizationId in credentials, although I couldn't query them directly on SQL Server I managed to get these values through MS Dynamic CRM. Entered them in datasource's login and password inputs, clicked "Test connection" and I got this error:
System.Data.SqlClient.SqlException: The EXECUTE permission was denied on the object 'p_GetCrmUserId', database 'MSCRM_CONFIG', schema 'dbo'.
Ok, google it again and obviously I have to fix SQL Server user permissions and I don't have any access (and never will) to MS Dynamics CRM's SQL Server to fix permissions issue. Why does it work in Visual Studio, but fails on SSRS server? What do I do to fix this conenction issue? Thanks.
You will not be able to run Fetch XML reports locally against a Dynamics CRM Online instance. You would need to deploy those reports to the Dynamics CRM Online organization and run them from Dynamics CRM.
It works in Visual Studio because the CRM Report Development extension makes it work for development, but it cannot be deployed directly to an SSRS server - the Fetch XML reports can only be deployed through Dynamics CRM to the SSRS server configured in CRM.

Create reports in Reporting Services in SQL Server 2008

I want to create a report in Reporting Services in SQL Server 2008 but I don't know how can I do that. I create a report in SQL Server Business Intelligence Development Studio but I don't know the relation between this report and Reporting Services in SQL Server 2008.
How can I use Reporting Services and create a report in it?
The report server is where you store your reports so that people can run them centrally. You can deploy your report from BIDS to the report server.
You can also log in to the report server and run a tool called report builder to create and deploy reports without having to use BIDS.
Have a look at the following link for how to get started with reporting services:
http://msdn.microsoft.com/en-us/library/bb522672(v=sql.105).aspx
Since you already create report, you can directly upload your .rdl file directly to reporting service. If you don't know how to configure your reporting service, please refer to here . You can also use reporting service manage URL to see your uploaded report, and you can also open from there to use report builder to directly edit your report.

How can I customise error messages in SSRS?

I have SSRS Report being accessed from a Report Server. Is there any way I can give an error message of my own, if my report fails to open there?
I can't think of any way to capture RS errors if you are using SSRS report manager. On the other hand, if you are using the report viewer control, you may have a higher chance of capturing the errors. The same goes if you use custom dataset extension for report rendering.
Browse to Report Manager folder. For SSRS 2005, its typical location
is
DRIVE:\Program Files\Microsoft SQL Server\MSSQL.x\Reporting
Services\ReportManager, where x is the instance; for SSRS 2008 and
SSRS 2008 R2, DRIVE:\Program Files\Microsoft SQL
Server\MSRS10.SSRS\Reporting Services\ReportManager.
Make a copy of the existing Web.config as backup
Open Web.config in a text editor, or in Visual Studio to get
Intellisense support
Under the section, locate the section
Modify the existing section, or insert a new one, with
the appropriate settings
Restart the Report Server
Custom error messages for SSRS 2008 have a look here