Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Gourd_J
Helper I
Helper I

error running a paginated report with subreports in the on-premise reportViewer.aspx control

Power BI Report server version: Version 1.3.6816.37243 (August 2018)

 

I have a paginated SSRS report that reads the report server database's catalog in order to list reports available to be run. 

When a user clicks a row the action for the textbox uses this piece of code to show the report in the Catalog.Path in the server's reportViewer:

=Globals!ReportServerUrl + "/ReportServer/Pages/ReportViewer.aspx?%20" + Fields!Path.Value + "&rs:Command=Render"

This works great for all standard paginated reports. But, I just created one with a subreport and it is throwing the following error:

e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. ---> System.UriFormatException: Invalid URI: A Dos path must be rooted, for example, 'c:\'.

I can run the report by directly clicking it on the report server, but when it is run through the reportViewer.aspx control it fails.

 

Any ideas?

 

1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User

Why do you have the %20 in front of the path? I would try removing that as it seems like the error is complaining about the path being incorrect and I can't think why you would need this. 

View solution in original post

2 REPLIES 2
d_gosbell
Super User
Super User

Why do you have the %20 in front of the path? I would try removing that as it seems like the error is complaining about the path being incorrect and I can't think why you would need this. 

That fixed it!
So weird that it only affected the report with a subreports, I guess it blew up the path of the subreports?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.