找回密码
 立即注册

QQ登录

只需一步,快速开始

moer 活字格认证
金牌服务用户   /  发表于:2024-7-17 07:38  /   查看:426  /  回复:4
1金币



localhost:56064/Forguncy/Home/GetMetadata2?pageName=8020b04eede04874908df1e13442371&isMobile=false&v2=2025548260
输出如下

Request Exception Happened-------------------------------Path/Home/GetMetadata2UserName:administratorQueryString:?pageName=8020b04eede04874908df1e13442371&isMobile=false&v2=2025548260Request Data:pageName:-----------------------8020b04eede04874908df1e13442371------------------------------isMobile:-----------------------false------------------------------v2:-----------------------2025548260------------------------------{  "ClassName": "System.IO.FileNotFoundException",  "Message": "Could not find file 'C:\\ProgramData\\Forguncy\\31406\\305\\WebSite\\Metadata\\8020b04eede04874908df1e13442371.json'.",  "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.GetMetaDataAsync(String pageName)   at Forguncy.Server2.Controllers.HomeController.f(String 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:\\ProgramData\\Forguncy\\31406\\305\\WebSite\\Metadata\\8020b04eede04874908df1e13442371.json",  "FileNotFound_FusionLog": null}

附件: 您需要 登录 才可以下载或查看,没有帐号?立即注册

4 个回复

倒序浏览
小萝卜David
金牌服务用户   /  发表于:2024-7-17 08:54:10
沙发
如果一直有这个报错的话,
看名称像是图文列表,可以从这个角度检查一下。
回复 使用道具 举报
Simon.Sun活字格认证 Wyn认证
超级版主   /  发表于:2024-7-17 10:20:57
板凳
大佬,这个问题可以提供下工程文件吗,这边运行调查下。
回复 使用道具 举报
ihiyin
银牌会员   /  发表于:2024-8-27 14:39:52
地板
Simon.Sun 发表于 2024-7-17 10:20
大佬,这个问题可以提供下工程文件吗,这边运行调查下。

这个问题有进展了吗?
回复 使用道具 举报
Simon.Sun活字格认证 Wyn认证
超级版主   /  发表于:2024-8-27 15:59:56
5#
您好,暂无进展。
猜测和图文列表有关,找不到图文列表对应的模板页了。
可以在设计器去编辑图文列表,看能不能正常进入到模板页设计界面,如果进不去,说明这个图文列表模板页丢失了,这时候可以尝试去删除图文列表,重新设计下。

这个问题您那边如果有稳定的复现步骤,辛苦大佬同步下,这边反馈调查下。
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部