How can I customise error messages in SSRS? - reporting-services

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

Related

Report not rendering using SSRS 2008 R2

SSRS 2005 : I am writing RDL file in code itself & binding to a custom datasource(DATASET extension) & rendering using report viewer which is working fine. Now I have upgraded the Reporting server to SSRS 2008 R2. When executing the same codebase
(RDL & Dataset) it is throwing error on report viewer.
Error: An error has occurred during report processing query execution failed for dataset 'DataSet1'.
First, did you also upgrade the SQL database to 2008 R2 as well?
If so, try the following to update the report schema:
Open the .rdl in Report Builder 3.0. Expand Data Sources, select your Data Source, and switch to Use a connection embedded in my report
Build a new connection string to your SQL server and database, and ensure that you use Windows Authentication. I'm not sure why, but SQL Authentication errors out sporadically.
Test Connection and press OK.
For each of your Datasets, open them up and Refresh Fields and press OK.
Save the report.
I have experienced this in the past. This will essentially force a schema update of the report. It's a bit of a dirty workaround, but I've found it to be successful. If one of your datasets fails to refresh, you'll receive an error explaining what's wrong with the underlying SQL.

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

Where are my reports?

I can see the SSRS reports via the Report Manager in the browser. I know what database server it's pointing to.
How do I find where the source .rdl files are kept?
The source file is stored in the ReportServer database of the SSRS instance you're looking at.
See Report Server Database in Books Online:
The report server database is a SQL Server database that stores the
following content:
Items managed by a report server (reports and linked reports, shared
data sources, report models, folders, resources) and all of the
properties and security settings that are associated with those items.
You can download these RDL files through Report Manager.
In SSRS 2008 you will need to go to the report Properties and choose Edit -> Report Definition.
For SSRS 2008R2, you can just choose Download from the report's dropdown.
See Download \ Export RDL files from Report Server for more explicit details.

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 ensure that these reports are appearing or can be seen on SQL Server Reporting Services(SSRS) URL?

I am new to SSRS. I have developed some reports using BIDS using SQL Server Reporting Services(SSRS) when I run them from my machine reports are running ok. But there are not appearing from SQL Server Reporting Services(SSRS). Even when I open SQL Server Reporting Services(SSRS) in a web broswer
I can not see the reports on SSRS. How can I ensure that these reports are appearing or can be seen on SQL Server Reporting Services(SSRS) URL?
Please help.
Have you deployed them?
Right-Click on the report and go to Deploy
or
In the Build menu select "Deploy projectname"
You may have to set the project properties first for TargetServerURL to something like
http://SSRSserver/reportserver
They can be found in the Project menu under "projectname Properties"
There are two options to deploy your reports on server -
1] You can directly deploy it from your VS by right clicking on your report & selecting deploy option, here you need to mention target server -
http://[server name]/ReportServer
2] If you are able to access report server then web browser provide one option to upload your reports. So you can upload your report directly on report server (.rdl file). Here you need to set proper connnection string & permission rights to access the report.
Hope this will help you..!!