长春闻荫 发表于 2022-4-8 12:42:52

activereport linux .net core 部署不能弹出打印标签





2022-04-08 12:25:13.757 +08:00 Executed endpoint 'Win_in.Sfs.Wms.Store.Controllers.HomeController.Index (Win_in.Sfs.Wms.Store.HttpApi.Host)'
2022-04-08 12:25:13.757 +08:00 Request finished HTTP/1.1 GET http://dev.cd-top.com:9097/ - - - 302 0 - 4.4544ms
2022-04-08 12:25:13.823 +08:00 Request starting HTTP/1.1 GET http://dev.cd-top.com:9097/swagger/index.html - -
2022-04-08 12:25:13.824 +08:00 Request finished HTTP/1.1 GET http://dev.cd-top.com:9097/swagger/index.html - - - 200 - text/html;charset=utf-8 1.2756ms
2022-04-08 12:25:14.107 +08:00 Request starting HTTP/1.1 GET http://dev.cd-top.com:9097/swagger/BaseData/swagger.json - -
2022-04-08 12:25:38.041 +08:00 Request finished HTTP/1.1 GET http://dev.cd-top.com:9097/swagger/BaseData/swagger.json - - - 200 - application/json;charset=utf-8 23933.5654ms
2022-04-08 12:29:16.632 +08:00 Request starting HTTP/1.1 GET http://dev.cd-top.com:9097/index ... a5889b3503f19aa6c25 - -
2022-04-08 12:29:16.632 +08:00 The file /index.html was not modified
2022-04-08 12:29:16.632 +08:00 Request finished HTTP/1.1 GET http://dev.cd-top.com:9097/index ... a5889b3503f19aa6c25 - - - 304 - text/html 0.2776ms
2022-04-08 12:29:16.799 +08:00 Request starting HTTP/1.1 POST http://dev.cd-top.com:9097/api/r ... gbq.rdlx/export/pdf application/json 185
2022-04-08 12:29:16.800 +08:00 Connection id "0HMGP1LSHOFGB", Request id "0HMGP1LSHOFGB:00000003": An unhandled exception was thrown by the application.
GrapeCity.ActiveReports.Aspnetcore.Viewer.ReportNotFoundException: Exception of type 'GrapeCity.ActiveReports.Aspnetcore.Viewer.ReportNotFoundException' was thrown.
   at GrapeCity.ActiveReports.Web.Viewer.I..(String fullPath)
   at GrapeCity.ActiveReports.Web.Viewer.I..(String reportName)
   at GrapeCity.ActiveReports.Web.Viewer.I..GetReport(String reportId)
   at GrapeCity.ActiveReports.Web.Viewer.I..ExportReport(String reportId, String exportType, RenderSettings renderSettings,  config)
   at GrapeCity.ActiveReports.Aspnetcore.Viewer.I....MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests(IHttpApplication`1 application)
2022-04-08 12:29:16.800 +08:00 Request finished HTTP/1.1 POST http://dev.cd-top.com:9097/api/r ... gbq.rdlx/export/pdf application/json 185 - 500 0 - 1.2936ms

James.Lv 发表于 2022-4-8 18:15:56

您好,我这边测试了一下,本地的工程发布打印是没问题的,用的示例工程:https://github.com/activereports/WebSamples15/tree/main/JsViewerSamples/JSViewer_MVC_Core编译发布的
页: [1]
查看完整版本: activereport linux .net core 部署不能弹出打印标签