Solved

windows server 2008 sql server 2008 where are the reports stored

Posted on 2015-01-08
3
75 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how the fundamental information of how to create a table.

744 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now