jyx7711055 发表于 2024-7-17 18:59:04

导出页面到EXECL时提示错误求指导

在执行导出操作时,未知的异常出现。请再次尝试。
{
"ClassName": "System.ArgumentOutOfRangeException",
"Message": "Specified argument was out of the range of valid values.",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": "   at GrapeCity.Documents.Excel.va.get_Item(String name)
   at Forguncy.Server2.Controllers.a.a(PivotTableCellType A_0, IPivotTable A_1)
   at Forguncy.Server2.Controllers.a.a(GcExcelSheetWrapper A_0, PivotTableCellType A_1, IRange A_2, String A_3, IPivotCache A_4)
   at Forguncy.Server2.Controllers.a.c()
   at Forguncy.Server2.Controllers.a.b(Boolean A_0)
   at Forguncy.Server2.Controllers.a.c(Boolean A_0)
   at Forguncy.Server2.Controllers.a.i()
   at Forguncy.Server2.Controllers.HomeController.a(Object A_0)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233086,
"Source": "GrapeCity.Documents.Excel",
"WatsonBuckets": null,
"ParamName": null,
"ActualValue": null
}

CurrentMethodName: ExportToExcelThread

Lay.Li 发表于 2024-7-17 18:59:05


感谢各位大佬的支持~
导出数据透视表时会有这些限制,可以检查一下排除这些限制

successit 发表于 2024-7-18 08:37:50

如果能有个DEMO或者相关的图示,可能更方便理解问题所在

jyx7711055 发表于 2024-7-18 09:19:18

successit 发表于 2024-7-18 08:37
如果能有个DEMO或者相关的图示,可能更方便理解问题所在



就是在导出页面增加透视表后导出就会报错, 但删除透视表后,单独导出下面表格页面是正常的
页: [1]
查看完整版本: 导出页面到EXECL时提示错误求指导