Skip to content

你好作者,下面是我用您的模块遇到的问题,请解答一下,谢谢! #6

@fjfyfh

Description

@fjfyfh

【日志级别】ERROR
【记录时间】2023-11-30 21:02:51,802
【线程编号】[6]
【执行时间】[4288]毫秒
【引发位置】F:\MyCode@GitHub\HHUpdateApp\HHUpdateApp\UpdateWork.cs
【引发行号】174
【消息描述】更新应用程序错误
【消息详情】System.UnauthorizedAccessException: 对路径“D:\fayi\Winhttp.dllqhegjw2f.52y.PendingOverwrite”的访问被拒绝。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 System.IO.File.InternalDelete(String path, Boolean checkHost)
在 Ionic.Zip.ZipEntry.MoveFileInPlace(Boolean fileExistsBeforeExtraction, String targetFileName, String tmpPath, Boolean checkLaterForResetDirTimes) 位置 C:\projects\dotnetzip-semverd\src\Zip.Shared\ZipEntry.Extract.cs:行号 877
在 Ionic.Zip.ZipEntry.InternalExtractToBaseDir(String baseDir, String password, ZipContainer zipContainer, ZipEntrySource zipEntrySource, String fileName) 位置 C:\projects\dotnetzip-semverd\src\Zip.Shared\ZipEntry.Extract.cs:行号 733
在 Ionic.Zip.ZipFile._InternalExtractAll(String path, Boolean overrideExtractExistingProperty) 位置 C:\projects\dotnetzip-semverd\src\Zip.Shared\ZipFile.Extract.cs:行号 260
在 HHUpdateApp.UpdateWork.Update() 位置 F:\MyCode@GitHub\HHUpdateApp\HHUpdateApp\UpdateWork.cs:行号 174

==========
【日志级别】ERROR
【记录时间】2023-11-30 21:02:51,880
【线程编号】[1]
【执行时间】[4366]毫秒
【引发位置】F:\MyCode@GitHub\HHUpdateApp\HHUpdateApp\UpdateForm.cs
【引发行号】88
【消息描述】更新应用程序升级失败:
【消息详情】System.UnauthorizedAccessException: 对路径“D:\fayi\Winhttp.dllqhegjw2f.52y.PendingOverwrite”的访问被拒绝。
在 HHUpdateApp.UpdateWork.DelLocal() 位置 F:\MyCode@GitHub\HHUpdateApp\HHUpdateApp\UpdateWork.cs:行号 282
在 HHUpdateApp.UpdateWork.Restore() 位置 F:\MyCode@GitHub\HHUpdateApp\HHUpdateApp\UpdateWork.cs:行号 249
在 HHUpdateApp.UpdateWork.Update() 位置 F:\MyCode@GitHub\HHUpdateApp\HHUpdateApp\UpdateWork.cs:行号 181
在 HHUpdateApp.UpdateForm.BGWorkerUpdate_DoWork(Object sender, DoWorkEventArgs e) 位置 F:\MyCode@GitHub\HHUpdateApp\HHUpdateApp\UpdateForm.cs:行号 49
在 System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
在 System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions