Posted 24 July 2024, 11:10 pm EST - Updated 24 July 2024, 11:19 pm EST
Hi all,
I using AR v18 with .Net framework 4.7.2.
I want to save the report to database (by byte datatype) and load report from database (I don’t need physical files).
I just follow that:
https://developer.mescius.com/activereportsnet/docs/latest/online/use-shared-data-sources-in-web-designer.html
and the sample:
https://github.com/activereports/WebSamples18/tree/main/WebDesigner_CustomStore
I write this code in startup.cs:
public void Configuration(IAppBuilder app, IReportStore reportStore, IResourceRepositoryProvider resourceProvider)
{
app.UseReportViewer(config =>
{
config.Prefix = "/activereport";
});
app.UseReportDesigner(config =>
{
config.UseReportsProvider(reportStore);
config.UseResourcesProvider(resourceProvider);
config.Prefix = "/activereport";
config.OmitViewerConfiguration = true;
});
}
But seem it’s not working with .net framework.
Got error after run:
How can I fix that?