How to change ReportServerUrl in Report Builder 3.0? - reporting-services

We have 2 reporting server. One for test and one for production. Our business analyst will build the reports (rdl files) using Report Builder 3.0. After they complete the development and test on test reporting server (e.g. http://test/reportserver), we will modify the "ReportServerUrl" and Datasource, and then upload to production reporting server (e.g. http://prod/reportserver).
The problem is I cannot find in the Report Builder 3.0 UI how to configure this change. The only way I find is open the RDL file using Notepad, locate and then change the URL.
Since our analyst are not programmers I want to avoid use notepad. May I know where is the button to change ReportServerUrl?

Each time you add a Shared DataSource to a report or edit an existing DataSource (and therefore connect to a Report Server), the current report server is updated. This is shown in the bottom left of your Report Builder window ("Current report server...") and also gets written to the <rd:ReportServerUrl> tag in the .rdl file itself. This is just an indicator of the last Report Server which was connected to by the report.
Therefore, if you wish to change the <rd:ReportServerUrl>, you just need to amend the DataSource(s) in the report to be ones which reside on the Report Server whose URL you wish to have appear.

Related

SSRS-Datasource won't change when reupload report

I got a report with 2 data sources and both are Shared Data source. I am trying to change both of them to Custom Data Source but when I re-upload the report in my Report Manager, it won't work.
Edit: I don't have an error because the report successfully uploads, but the data source doesn't change. If I have a field in the report, the report shows the new field, but the data source stays the same.
This might be because of caching that SSRS does with the datasource for the report on the server. Do the new datasources have the same name as the old ones?
You could create the custom datasources in the DataSources tab in the Manage menu for the report in the report manager.
To do this open up the Report Menu by click on the "..." then selecting Manage
Then click on the Data Sources Tab, then change the data source to Custom Datasource.
Then set up the datasource like you did in the report, you will need to select SQL Server for the Connection, add the connection string and choose the authentication type which in the image below is windows authentication but I am not sure how it is set up on your server. Then click Test Connection. Then Click Save (make sure you click Save before navigating away).
Or you could delete the old report in the report manager and then upload it again. Note that deleting the report will delete any schedules and other customization you have done ie. Name and Description.
Is there an error message? It won't work could be a bunch of things. I'd upload a picture of the error or whatever screen you can't get past. Let me know when you can do that, then it will be easier to troubleshoot. If you can't upload an image than I would:
Check your datasource connections are correct.
Check your datasets are using the correct connection.
This is a setting thats controlled from the deployment properties of the visual studio SSRS project. Right click the project name and select Properties. Then from the Property section of the general page notice "Overwrite Datasets" & "Overwrite Datasources". Change the one that's necessary and re-deploy to see it updated in the report portal.

Adding SSRS report through CRM2016: Prefiltering doesn't work?

I've created a custom Reporting Services report from within Visual Studio that is intended to use automatic prefiltering as described here.
So, I've created my query as follows:
select fullname, createdbyname, createdon
from FilteredContact as CRMAF_FilteredContact
order by createdon desc
However, once I add a new Report in CRM based on the report's .rdl file (as described under "Deploying the Report" here) it adds the report fine, but two things happen:
1) The shared data source for this report is initally invalid, both CRM and SSRS refuse to render it with the error:
"The report server cannot process the report or shared dataset. The shared data source 'MyOrg_MSCRM' for the report server or SharePoint site is not valid. Browse to the server or site and select a shared data source. (rsInvalidDataSourceReference)"
I have to manually set the DataSource from within SSRS to /MyOrg_MSCRM/CustomReports/MSCRM_DataSource to get it to work.
2) The report doesn't appear under "Run on Selected records" but under "Run on All Records", and doesn't perform any prefiltering.
Also, when I download the .rdl from SSRS it hasn't modified it, neither adding an extra parameter or changing the SQL query. as I would have expected based on this information.
What could I be doing wrong?
I'm using MS CRM 2016 update 1 (v8.1.0.359) on premise, with SQL Server 2014 Reporting Services and the SRS Data Connector installed on the same machine.
Apparently, you can use a shared data source reference, but you have to name it MSCRM_DataSource, just as the Data Source that MSCRM uses for its reports.
If you upload a Report in MSCRM like this, MSCRM recognizes this and automatically updates the data source to the valid /MyOrg_MSCRM/CustomReports/MSCRM_DataSource datasource, and also adds the prefiltering modifications.
You've created a Shared Data Source that you are using for multiple reports. When uploading reports through CRM this is not supported. Each report must have its own connection details embedded in the report.
I think the reason for this is, as you are trying to do, the report gets modified to add hidden CRM parameters and to alter the queries so that pre-filtering can take place.
To fix this, you have to modify each report and enter the Connection Details directly into the report rather than using a Shared Connection. Its a little annoying but should give you the results you are expecting to see

TFS 2013: Uploading new report

We have a fully working TFS 2013 and have access to the default reports of the process template that we are using. Now we created a new report and try to make it appear in the team explorer of VS2013. Searching the internet indicated that the only possible option would be to download the process template, change the reporting part (e.g. adding the new report as default report) and then upload the "default" reports then via command line tool (tfpt addprojectreports ...)
Since changing (including adding) areas, iterations and other stuff can be done in the "live" system (without editing the process TEMPLATE), it is hard for me to believe that there is no way to add reports without changing the process template.
Does anyone know how to upload a new report? Of course, in the end we would like to see the report in the team explorer...
try http://yourReportingServer/Reports/Pages/Folder.aspx
then navigate via collection, project to the folder you want the report to show up in, then "upload file".
You can directly upload the .rdl file to SSRS of your TFS instance.

SSRS - different data depending on whether previewing report or using report viewer

I'm using SQL Server 2008 R2 Reporting Services. I'm seeing different data in a dropdown that's on the report, depending on whether I'm running the report in 'preview' mode from VS2008, or whether I'm running it from the report viewer at http://localhost/ReportServer_SQL2008. Any suggestions?
I'm using SSRS via SQL Server 2008 R2 Report Server
When I preview my report (originally created by another developer) in VS2008 I see correct data in one of the dropdowns for my report:
When I run the report via the report viewer on my machine at http://localhost/ReportServer_SQL2008, I see an incorrect GUID displaying in place of some recently added items in the dropdown
I've re-built the report in VS2008, and I've manually re-uploaded the .rdl file to my report server using the Report Manager at http://local-machine-name/Reports_SQL2008/, but I still see the incorrect data when using the IE report viewer.
I've looked at where the data is coming from that's used for populating the dropdown, using Query Analyser - when both viewing the report preview and viewing the report through the report viewer, the data is coming from the same database, using exactly the same stored procedure call
The 'raw' data being pulled from SQL gets some processing before it's used in the relevant data field in the report - it gets processed by using a custom .NET assembly, to pull back a 'friendly' string based on the report user's locale. This uses .resx files held in the VS2012 project for the custom assembly , that transpose the data. The entries in the .resx all seem to be correct.
I've manually deployed a debug version of the custom assembly that does this locale translation to C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies (my own default location for custom assemblies)
When I debug against this assembly in VS2012 by attaching VS2008 to the debug process and running the report preview in VS2008, the correct program name e.g. 'GRIT CARDIO' is returned
So the question is 'why is this not being returned when I run the report in the IE report viewer'?

Configure Reporting Services 2008 to use more than one Report Builder version

In the process of deploying Reporting Services 2008, some users get confused with the new Report Builder 3.0 it comes with, especially its differences versus version 2.0 which came with SSRS 2005.
Is there a way to configure Reporting Services so it shows 2 buttons to run Report Builder? One pointing to current version, the other to the previous, so users can continue creating their reports whilst they explore 3.0's new options at their own pace.
If this is not possible, is there a way to configure Rep. Services so it uses Report Builder 2.0 and not 3.0?
Thanks in advance.
You need to set the "Custom Report Builder launch URL" in report manager. To do it go to report manager (usually http://<reportserverhost>/reports) and click Site Settings in the upper right corner. Then you'll see Custom Report Builder Launch URL field in the bottom of the General settings tab. By default it is blank but you can force a specific version of report builder to load from there. For Report Builder 2.0 you should be able to set the value to "/ReportBuilder/ReportBuilder_2_0_0_0.application".
The Site Settings Page (Report Manager) documentation topic and How to: Set Report Builder 2.0 as the Default ClickOnce Report Builder Version explains more detail.
I guess it is impossible to do some changes on the menu but I you can do a bit of a hack where you overwrite the ReportBuilder.application to an application that you self built which contains button to the version of the ReportBuilder you want to run something like this.
On that button you just define an event to do the following
ProcessStartInfo sInfo = new ProcessStartInfo("http://YourServer/LocationOfYourV2Appplication/ReportBuilder.application");
Process.Start(sInfo);
The following path where the files you need to manipulate is by default here C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\ReportBuilder