?
Solved

windows server 2008 sql server 2008 where are the reports stored

Posted on 2015-01-08
3
Medium Priority
?
88 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 52

Assisted Solution

by:Carl Tawn
Carl Tawn earned 1000 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 1000 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

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses

762 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