How to create SSRS 2008r2 rdl using VS 2008 BIDS - reporting-services

I have installed SSRS 2008 and SSRS 2008r2 on my machine.
When I create a new Report Server Project , I also changed the TargetServerVersion to match SQL Server 2008 R2 and made sure that it is pointing to correct report server ( 2008 r2 ).
After doing this when I create a blank report and try to check view code , It has same schema as the rdls created for SSRS 2008
http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition
Is that ok ?
I know that SSRS 2008r2 supports new element called ReportSection so it must have new schema to support it.
How do I know that the rdl created by VS2008 is of SSRS 2008 or SSRS 2008r2 ?

You are correct to look at the schema version but the schema version will NOT change until you put a feature in the report that is specific to 2008r2.
As a test case make a quick report with the configuration targeting R2 with a very simple tablix based off a simple SQL statement.
On my machine this generated a rdl file with a 2008 schema.
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition">
Now add an entry under the PageName attribute.
On my machine the schema changed to the following:
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition">
I believe once you add an attribute that converts the rdl to 2008r2 you will not be able to edit it with the "non" r2 2008 BIDS.

Related

SSRS migration from 2008 to 2016

We need to migrate SSRS 2008 to SSRS 2016 which includes:
All RDL reports
Subscriptions
User Access
I cannot find any tool, can someone please help/suggest - We need to migrate everything from 2008 to 2016 server
There is no migration tool unfortunately. I did the same process (2008 -> 2016) late last year and below are the notes I made while I was going.
I've replaced my server names with generic names and in my case the old setup had SSRS running on a different server to the database engine so when you see OLD_DB_SERVER_NAME and OLD_SSRS_SERVER_NAME they may actually be the same server in you case.
Hope you find this useful.
There is no such thing.. you simply have to open the 2008 report in a new version of report designer or Visual studio and upload it to 2016. This "upgrades" the report. I'm pretty sure you can just upload the 2008 versions to 2016 as well..

Can I deploy deploy reports created on SQL 2008 R2 server onto the 2008 R2 server but used a SQL 2005 database on a different server as data source

I have a 2008 R2 Server and using it to create SSRS reports. The shared data source is actually located on a SQL 2005 server.
I tried to deploy a report to the local server (SQL 2008 R2) and got error :
"Cannot deploy the report because the shared data source that the
report references does not exist on the report server"
Is it possible to deploy these reports created on the 2008 R2 Server to the same machine(2008 R2 server)?
Yes, this is possible. Make sure you deploy the shared data source.
Look under the 'Shared Data Sources' folder in your Solution Explorer. Right click -> Deploy.

SSRS 2008 Deployment issue

I developed RDL using SSRS 2008 and when I deploy the reports on SSRS 2005 running server, It resulted below Error.
"The report definition is not valid. Details: The report definition
has an invalid target namespace
'http:/schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition'
which cannot be upgraded."
Any idea how can I deploy my reports without recreating the reports on SSRS 2005.
There are significant differences between SSRS 2008 and SSRS 2005. I don't think there is any easy way to deploy a 2008 .rdl to 2005.
There were some hacks that would let you deploy a 2005 .rdl to a SSRS 2000 server; but the differences in those formats were minor.
SSRS 2008 started using the tablix control for tables, lists and matrixes. These controls were different types in SSRS 2005.
Sorry for the bad news, but I think you will need to rebuild the report in 2005 or deploy to a 2008 server.
See Converting SQL2008 RDL file to SQL2005

Using SSRS 2008 Report in CRM 4.0 Application

Is it possible to design a 2008 SSRS report and use it in a CRM 4 application. 2008 Has much nicer controls and report designer.
Yes, it is more dependent on the backing database. If CRM is setup with SQL Server 2008 it will support Report Builder 2008 reports. If SQL Server 2005, the reports will need to be built in Visual Studio 2005 with the Business Intelligence Development Studio (BIDS) installed. 2005 reports can be easily upgraded to 2008 reports but 2008 reports are not backwards compatible and cannot be easily converted back to 2005 reports.
You can setup a SQL Server 2008 SSRS instance and use that for reporting while continuing to use SQL 2005 for the database.
Everything is explained here: CRM and SSRS 2008 Integration

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