Solved

windows server 2008 sql server 2008 where are the reports stored

Posted on 2015-01-08
3
76 Views
Last Modified: 2015-01-12
We just got a new server with sql server 2008. There is a bunch of reports already created that you can run from  from a browser client and from the server (http://localhost/reports.). But i can't find the actual reports source and location. Some of them take a long time to run and i would like to see their source. I also see a database reportserver but i don't see anything either. Please help i am new to sql reports
0
Comment
Question by:Shen
3 Comments
 
LVL 52

Assisted Solution

by:Carl Tawn
Carl Tawn earned 250 total points
ID: 40538016
The reports are serialized and stored in the Catalog table of the ReportServer database.

You can query for the report definition using the following query (taken from http://mscrmuk.blogspot.co.uk/2009/05/reading-rdl-definitions-directly-from.html)
select convert(varchar(max), convert(varbinary(max), content))
from catalog
where content is not null

Open in new window

0
 

Author Comment

by:Shen
ID: 40538077
i executed the query but i only see information up to <description> .... I am mainly looking for the query string used in the report so that i can execute it.
Also is there a way to open these reports from visual studio to see a visual source?
0
 

Accepted Solution

by:
Bryon_connexus earned 250 total points
ID: 40538895
I'm assuming these are the Reporting Services reports that you are referring to? Jus want to make sure of that.

When you run the query above, search for the <CommandText></CommandText> tags and you will find the actual query in between those tags.

As for opening these up in Visual Studio, if you have enough permission rights in Reporting Services, just download the report directly from Reporting Services. Click the drop-down arrow to the right of the report name and click on Download. Then open up that RDL file in Visual Studio.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sql Stored Procedure 65 26
MS SQL + Insert Into Table - If Doesnt Exist 9 32
SQL Improvement  ( Speed) 14 26
Can > be used for a Text field 6 39
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question