请选择 进入手机版 | 继续访问电脑版
 找回密码
 立即注册

QQ登录

只需一步,快速开始

Zdaoyu

金牌服务用户

39

主题

91

帖子

418

积分

金牌服务用户

积分
418
Zdaoyu
金牌服务用户   /  发表于:2022-6-8 16:45  /   查看:1854  /  回复:3
2金币
服务器端报表已经生成,但点击下载就报错了:Exception happened, please check the log file to get more detail information.以下是服务器的日志:


Tid:79 2022/6/8 16:36:41: Assembly: Forguncy.Server2, Version=7.0.103.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------
{
  "ClassName": "System.IO.FileNotFoundException",
  "Message": "Could not load file or assembly 'System.Net.Mail, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.",
  "Data": null,
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   at Forguncy.Server2.Controllers.HomeController.c(ExportParam A_0)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Forguncy.Server2.Controllers.HomeController.c(ExportParam A_0)
   at Forguncy.Server2.Controllers.HomeController.ExportFile(String key)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Forguncy.Server2.KatanaMiddleware.ReportsMiddleware.InvokeAsync(HttpContext context, ICacheService cacheService, IReportServerService reportServerService)
   at Forguncy.KatanaMiddleware.ServerCommandMiddleware.InvokeAsync(HttpContext context)
   at Forguncy.KatanaMiddleware.j.InvokeAsync(HttpContext context)
   at Forguncy.KatanaMiddleware.i.InvokeAsync(HttpContext context)
   at Forguncy.Server2.KatanaMiddleware.StartPageMiddleware.InvokeAsync(HttpContext context)
   at Forguncy.KatanaMiddleware.b.InvokeAsync(HttpContext context)
   at ForguncyServerCommon.HttpHeaderMiddlewareBase.InvokeAsync(HttpContext context)
   at Forguncy.KatanaMiddleware.p.InvokeAsync(HttpContext context)",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": null,
  "HResult": -2147024894,
  "Source": "Forguncy.Server2",
  "WatsonBuckets": null,
  "FileNotFound_FileName": "System.Net.Mail, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51",
  "FileNotFound_FusionLog": ""
}

CurrentMethodName: HandleExceptionAsync


最佳答案

查看完整内容

您好,目前已知的是当表格开启统计行,且统计结果是空时,导出excel报错, 如果您那边不是这种情况的话,有没有能复现问题的demo,上传我们调查一下呢, 另外看您这边用的是7.0.103,7.1最稳定的版本是7.0.104, 如果可以的话,可以用104也试一下

3 个回复

倒序浏览
最佳答案
最佳答案
Joe.xu讲师达人认证 悬赏达人认证 活字格认证
超级版主   /  发表于:2022-6-8 16:45:21
来自 2#
您好,目前已知的是当表格开启统计行,且统计结果是空时,导出excel报错,
如果您那边不是这种情况的话,有没有能复现问题的demo,上传我们调查一下呢,
另外看您这边用的是7.0.103,7.1最稳定的版本是7.0.104,
如果可以的话,可以用104也试一下
回复 使用道具 举报
Zdaoyu
金牌服务用户   /  发表于:2022-6-9 08:46:19
3#
Joe.xu 发表于 2022-6-8 17:25
您好,目前已知的是当表格开启统计行,且统计结果是空时,导出excel报错,
如果您那边不是这种情况的话, ...

你好,问题已解决,我重启了应用。
回复 使用道具 举报
Joe.xu讲师达人认证 悬赏达人认证 活字格认证
超级版主   /  发表于:2022-6-9 09:21:49
4#
好的,如果这个问题经常出现的话,您再告知,我们配合调查
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部