Solved

Reporting Services - Linked Report w/ subreport error

Posted on 2009-07-02
6
579 Views
Last Modified: 2012-05-07
I have uploaded a report to Report Manager in Reporting Services 2008.  The report includes a subreport and everything runs fine from the folder where the report is uploaded.  I've created a Linked Report from the main report and placed it in a different folder in Report  Manager.  When I try to run the Linked Report, I'm getting a "Subreport could not be shown" error.  I've tried uploading the subreport to the same folder as the linked report, but I still get the same error.  I've searched online for help, but am not coming across an answers.  Hoping someone here might have some ideas.
Thanks!
0
Comment
Question by:alibah
  • 3
  • 2
6 Comments
 
LVL 14

Expert Comment

by:rob_farley
Comment Utility
The subreport is still in its original location, which the user may not have access to.

I would recommend making a special folder for Subreports. You can always set it to Hidden, so that people don't realise it's there. Then tell the original report to get the Subreport from there instead.

I know it's a pain, I wish it was different too.

Rob
0
 

Author Comment

by:alibah
Comment Utility
I can't seem to get my original report to call the subreport properly when it's in a different folder.  I've read online that I should use a relative path instead of just the file name, but I must be doing it wrong because it never works for me.  
0
 
LVL 14

Expert Comment

by:rob_farley
Comment Utility
You're using forward-slash rather than backslash, right?

Like... ../SubReportFolder/SubReport.rdl

Rob
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:alibah
Comment Utility
Yeah, but maybe I'm doing the first part wrong.  What goes before /SubReportFolder?  Is it <servername>/Reports/SubReportFolder or just /SubReportFolder?
0
 
LVL 9

Expert Comment

by:Tone' Shelby
Comment Utility
I have run into this situation if the data souce on both the sub report and the main report is not using a SQL Native data source connection string.
You do need a SQL Native Data Source setting as historically  it is not supported by OLEDB. ( not sure if MS has changed this yet but it was in discussion) You may want to look at your Data Source for Native.
0
 
LVL 14

Accepted Solution

by:
rob_farley earned 500 total points
Comment Utility
It's two dots, to mean 'parent folder'
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
STDEVP in SQL 2 33
SQL Find correct record using  ;WITH 7 18
sQL pivot 9 39
How much extra disk space I need for sql backup? 7 44
Hi, In my previous Article  (http://www.experts-exchange.com/Database/Reporting/A_15199-Introduction-to-Microstrategy.html)I discussed some basic understanding of Microstrategy that how we can get in Intro of Microstrategy (MSTR). Now it's tim…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

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

17 Experts available now in Live!

Get 1:1 Help Now