Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

windows server 2008 sql server 2008 where are the reports stored

Posted on 2015-01-08
3
Medium Priority
?
92 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 Huffman 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
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.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

636 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