。net核心中的Stimulsoft Report Viewer本地化问题

问题描述 投票:0回答:1

我正在.net核心应用程序中使用Stimulsoft Report Viewer,并且在我将StiNetCoreViewerOptions中添加本地化之前,它工作正常且没有任何问题。查看器代码如下:

@Html.StiNetCoreViewer(new StiNetCoreViewerOptions()
{
    Actions =
    {
        GetReport = "GetReport",
        ViewerEvent = "ViewerEvent"
    },
    Appearance =
    {
        RightToLeft = true,
        ShowTooltips = false,
        ShowTooltipsHelp = false
    },
    Theme = StiViewerTheme.Office2013DarkGrayPurple,
    Localization = "~/Localization/fa.xml"
    //Localization = "Localization/fa.xml" tried this one -> not working
});

添加本地化后出现的问题是这个:

System.FormatException: 'The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.'

我阅读了大量文档并检查了此link,但我仍在努力解决此问题。

.net-core report stimulsoft
1个回答
0
投票

[Stimulsoft.Reports.Ultimate-Designer.2020.2.2中存在一个错误,在我将本地化添加到Stimulsoft .netCore Viewer后,它引发了错误。

通过将Stimulsoft Reports Ultimate Designer降级到2020.2.1版,您可以解决此问题。 (或升级到下一个版本)

© www.soinside.com 2019 - 2024. All rights reserved.