StimulSoft报告查看器无法在IP中使用端口8818有效

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

我在MVC Web应用程序中使用StimulSoft Ver:2015.2我在自己的视图中使用此代码:

@Html.Stimulsoft().RenderMvcViewerScripts();
<div>
    @Html.Stimulsoft().StiMvcViewerFx(options: new StiMvcViewerFxOptions
    {
        Theme = StiThemeFx.Office2013,
        Actions =
        {
            GetReportSnapshot = "GetReportSnapshotForPeriodic",

            // ViewerEvent = "ViewerEvent",
            //Interaction = "Interaction",
            //DesignReport = "GetReportTemplate"
        },
        Appearance =
        {

        },
        Toolbar =
        {

            ShowParametersButton = true
        }
    })
</div>

[当我运行该应用程序时,它在LocalNetwork中可以正常工作,但是当我使用微技术将我的有效IP重定向到我的本地,并且我从有效ip运行网站时,出现错误:

Failed to load resource: the server responded with a status of 404 (Not Found)

Infact GetReportSnapshot = "GetReportSnapshotForPeriodic",在端口8818或任何其他端口的服务器上找不到如何使用相同的IP和端口重定向到Getreportsnapshot?

asp.net-mvc stimulsoft
1个回答
2
投票

我应该在哪个文件中插入此代码?

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