Hi.
I design report on stimul 2015 and get data from Sp of SQL server .it work fine in stimulsoft ,
in my MVC core project i add component from nuget (the same as manual in main site) i move report from desctop to wwwroot of my project , in create controller and view the same as manual,
https://www.stimulsoft.com/en/documenta ... viewer.htm
when i run project show report viewer and an error as popup "Error Pars", without description ,
my question is,
After transfer report from my folder to project is need to change sql connection in report or need to set sql connection to controller . whenever sql connetion set on appsetting.json
show report on mvc Core with sql server data
Re: show report on mvc Core with sql server data
Hello,
1. We couldn't reproduce this bug. Please check our samples:
https://github.com/stimulsoft/Samples-NET.Core-CSharp
2. Please check the following samples in which shows how to connect data:
https://github.com/stimulsoft/Samples-N ... in-Reports
You can change connection string, which storages in the report in the GetReportData event:
Thank you.
1. We couldn't reproduce this bug. Please check our samples:
https://github.com/stimulsoft/Samples-NET.Core-CSharp
2. Please check the following samples in which shows how to connect data:
https://github.com/stimulsoft/Samples-N ... in-Reports
You can change connection string, which storages in the report in the GetReportData event:
Code: Select all
StiRequestParams requestParams = StiNetCoreViewer.GetRequestParams(this);
requestParams.Connection.ConnectionString = "correct string";
return StiNetCoreViewer.GetReportDataResult(this, requestParams);