REAL WORKING FIX he subreport could not be found at the specified location. Please verify that the subreport has been published and that the name is correct
Data retrieval failed for the subreport
subreport could not be shown
ASP.NET MVC C# report viewer RDLC
------------------------------------------------------------------------
My stackoverflow answer:
stackoverflow....
1- The subreport could not be found at the specified location.
Cause: the file structure of the the subreport is not as the file structure of the main report, the main report may run on an rdlc xml standard version 2008 and the subreport run on version 2016. That happens once you use "parameters"
2-Data retrieval failed for the subreport
Cause: you did not give the subreport the data / dataset / data source it needs, you need to inject an event listener to the main report to be called when the main report encounter a subreport.
for more information watch my full video here :
3-subreport could not be shown
This happens when any exception happen during the execution of subreport code or subreport event listener, to find the issue, run vs debugging mode and watch the output window
------------------------------------------------------------------------
Негізгі бет [ SOLVED ] The subreport could not be found at the specified location. report viewer RDLC
Пікірлер: 30