找回密码
 立即注册

QQ登录

只需一步,快速开始

近我者富

注册会员

2

主题

5

帖子

27

积分

注册会员

积分
27
  • 167

    金币

  • 2

    主题

  • 5

    帖子

最新发帖
近我者富
注册会员   /  发表于:2024-5-19 15:34  /   查看:872  /  回复:6
时间
17:06:59


日志类型
异常日志


异常调用堆栈
{  "ClassName": "System.IO.FileNotFoundException",  "Message": "Could not find file 'C:\\WINDOWS\\TEMP\\sh\\Files\\GlobalSettings'.",  "Data": null,  "InnerException": null,  "HelpURL": null,  "StackTraceString": "   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)   at System.IO.File.AsyncStreamReader(String path, Encoding encoding)   at System.IO.File.InternalReadAllTextAsync(String path, Encoding encoding, CancellationToken cancellationToken)   at Forguncy.Server2.Controllers.p.GetGlobalSettingAsync()   at Forguncy.Server2.Controllers.HomeController.b(Boolean A_0)   at Forguncy.Server2.Controllers.HomeController.b(String A_0, Boolean A_1)   at Forguncy.Server2.Controllers.HomeController.GetMetadata2Async(String pageName, Boolean isMobile)   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 ---   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_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.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.CodeEditorMiddleware.InvokeAsync(HttpContext context)   at Forguncy.Server2.KatanaMiddleware.ProcessEngineMiddleware.InvokeAsync(HttpContext context, ICacheService cacheService)   at Forguncy.Server2.KatanaMiddleware.ReportsMiddleware.InvokeAsync(HttpContext context, ICacheService cacheService, IReportServerService reportServerService)   at Forguncy.KatanaMiddleware.ServerCommandMiddleware.InvokeAsync(HttpContext context)   at Forguncy.KatanaMiddleware.k.InvokeAsync(HttpContext context)   at Forguncy.KatanaMiddleware.j.InvokeAsync(HttpContext context)   at Forguncy.Server2.KatanaMiddleware.StartPageMiddleware.InvokeAsync(HttpContext context)   at ForguncyServerCommon.HttpHeaderMiddlewareBase.InvokeAsync(HttpContext context)   at Forguncy.KatanaMiddleware.q.InvokeAsync(HttpContext context)",  "RemoteStackTraceString": null,  "RemoteStackIndex": 0,  "ExceptionMethod": null,  "HResult": -2147024894,  "Source": "System.Private.CoreLib",  "WatsonBuckets": null,  "FileNotFound_FileName": "C:\\WINDOWS\\TEMP\\sh\\Files\\GlobalSettings",  "FileNotFound_FusionLog": null}


查询参数
?pageName=90AC3BB5-87DF-4E25-B6C3-A78CC93DF159&isMobile=false&v2=551326208551326208551326208551326208


请求路径
/Home/GetMetadata2


请求Id
bc21695c-0e34-4a12-99c9-cd149e0a5bee


6 个回复

倒序浏览
olookok活字格认证
论坛元老   /  发表于:2024-5-19 15:36:35
沙发
看看是不是什么插件引起的
回复 使用道具 举报
近我者富
注册会员   /  发表于:2024-5-19 16:14:54
板凳
日志查看不出来吗
回复 使用道具 举报
olookok活字格认证
论坛元老   /  发表于:2024-5-19 19:27:25
地板

日志要官方看了。咱看不懂
回复 使用道具 举报
Joe.xu讲师达人认证 悬赏达人认证 活字格认证
超级版主   /  发表于:2024-5-20 10:55:32
5#
只通过这个报错来看,像是被服务器上的杀毒软件拦截了文件的访问,
这个造成的现象是什么呢,可以获取下全部日志我们结合分析

一看就会,超有用活字格技能:四十五,错误日志收集功能
https://gcdn.grapecity.com.cn/showtopic-52854-1-1.html
(出处: 葡萄城开发者社区)


回复 使用道具 举报
豪~豪悬赏达人认证 活字格认证
银牌会员   /  发表于:2024-5-21 09:56:26
6#
这个错误信息表示程序在尝试访问一个位于 C:\WINDOWS\TEMP\sh\Files\GlobalSettings 的文件时失败了,因为它找不到这个文件。错误类型是 System.IO.FileNotFoundException,这是一个常见的异常类型,当程序试图读取、写入或执行一个不存在的文件时会抛出。
回复 使用道具 举报
Joe.xu讲师达人认证 悬赏达人认证 活字格认证
超级版主   /  发表于:2024-5-22 09:07:45
7#
感谢大家对活字格的支持
如果您的问题还未解决,欢迎跟帖补充;
如果您有新的问题,也欢迎创建新的求助帖呦。
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部