Last post Nov 03, 2017 03:15 AM by Kelmen
Nov 02, 2017 08:14 AM|Kelmen|LINK
I'm running a RDLC with local mode processing.
I can pass parameter no problem.
the problem is when I want to display/render that parameter (string), i keep getting unhelpful error in report viewer.
removing that parameter textbox, it will work.
Nov 02, 2017 08:53 AM|Deepak Panchal|LINK
is this a same issue like you mentioned in thread below?
RDLC ASP.NET report viewer - default empty datasource
if not , please try to provide detailed information about your issue and steps to reproduce the issue.
you said that error is unhelpful. but you did not post the error.
if you post the error then it will be helpful for us to understand the issue in better way.
it is also possible that you are not passing the value properly causing the error.
so try to provide the detailed information.
we will try to provide you further suggestions to solve the issue.
Nov 02, 2017 09:50 AM|Kelmen|LINK
the error is:
this is the parameter setting code:
var rptParams = new List<ReportParameter>();
rptParams.Add(new ReportParameter("Disclaimer", @"Disclaimer: blablabla."));
in the report, i just change a textbox expression from blank (not showing anything) or =Parameters!Disclaimer.Value (attempt to show the parameter)
the later will get error.
this is from the rdlc, i only use the designer to work.
Nov 03, 2017 03:15 AM|Kelmen|LINK
stumble on this:
then i remove/disable anything about Microsoft.ApplicationInsights (2.4) in web.config, and it worked
not using anything of Microsoft.ApplicationInsights, so it can go