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

QQ登录

只需一步,快速开始

王宝义

高级会员

115

主题

495

帖子

1368

积分

高级会员

积分
1368
王宝义
高级会员   /  发表于:2025-11-29 20:51  /   查看:58  /  回复:4
1金币
发布时报错。如图

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

最佳答案

查看完整内容

大佬您好,从咱们这个日志信息中,提示有一个插件被其他进程占用了,导致当前工程使用的时候出现问题。 一般这种程序占用,还是活字格的进程,不过从日志中发现不了是什么占用了。咱们可以从两个方向尝试解决这个问题。 1、重启电脑。 一般这个操作,可以将所有非自启的进程杀掉,这时重新打开设计器应该可以解决问题 2、精准找到引用报错中提到文件的进程杀掉 一般需要通过,任务管理器的“资源监视器”进行查询,再找到 ...

4 个回复

最佳答案
最佳答案
Grayson.Shang活字格认证 Wyn认证
超级版主   /  发表于:2025-11-29 20:51:30
来自 3#
大佬您好,从咱们这个日志信息中,提示有一个插件被其他进程占用了,导致当前工程使用的时候出现问题。

一般这种程序占用,还是活字格的进程,不过从日志中发现不了是什么占用了。咱们可以从两个方向尝试解决这个问题。
1、重启电脑。
一般这个操作,可以将所有非自启的进程杀掉,这时重新打开设计器应该可以解决问题

2、精准找到引用报错中提到文件的进程杀掉
一般需要通过,任务管理器的“资源监视器”进行查询,再找到进程删除即可


本帖子中包含更多资源

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

x
回复 使用道具 举报
王宝义
高级会员   /  发表于:2025-11-30 06:53:16
2#


错误报告如下:
## Overview
- Version: 10.0.103.0
- Exception: `System.IO.IOException`
- DateTime: 2025/11/30 6:43:23
- Email: 594031778@qq.com
- Tags: #CN

## Exception
```json
{
  "ClassName": "System.IO.IOException",
  "Message": "The process cannot access the file 'C:\\ProgramData\\Forguncy\\WANGBAOYI\\7166\\WebSite\\Plugins\\Forguncy.CustomMenu\\Forguncy.CustomMenu.dll' because it is being used by another process.",
  "Data": {
    "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
    "System.Object": 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.Compression.ZipFileExtensions.DoCreateEntryFromFile(ZipArchive destination, String sourceFileName, String entryName, Nullable`1 compressionLevel)
   at CommonUtilities.CompressHelper.CreateEntryFromFile(ZipArchive archive, String entryName, String file, CompressionLevel level)
   at CommonUtilities.CompressHelper.UpdateZipFile(String tempFolder, Dictionary`2 savingFileDic, Dictionary`2 savingFolderDic, ZipArchive archive, CompressionLevel level)
   at CommonUtilities.CompressHelper.ZipFolder(String filePath, String folder, Func`3 filter, CompressionLevel level)
   at CommonUtilities.CompressHelper.CompressDirectory(String inFolder, String outFolder, Int32 volumeSize, CompressionLevel level, Func`3 filter)
   at ke.CreatePublishFile(Boolean versionIsSame, Boolean isAttachmentsInclude)
   at ke.PublishAsync(PublishOption option, TaskInfo taskInfo)
   at ke.PublishAsync(PublishSettingsViewModel settings, TaskInfo taskInfo, Boolean startWebBrowser, String projectFileName)
   at Forguncy.Views.RibbonView.PublishAsync(PublishSettingsControl ui, TaskInfo taskInfo)
   at Forguncy.Views.RibbonView.PublishAsync(PublishSettingsControl ui, TaskInfo taskInfo)
   at Forguncy.Views.RibbonView.<>c__DisplayClass350_0.<<PublishAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at WPFBase.Common.TaskInfoHelper.CreateAThreadCrossedAutoClosedWindowAsync(TaskInfo taskInfo, Window owner, Func`1 action)
   at Forguncy.Views.RibbonView.PublishAsync(PublishSettingsControl ui, TaskInfo taskInfo)
   at Forguncy.Views.RibbonView.Publish2Server(PublishSettingsInfo publishSettingsInfo, Boolean isCustomizedConfiguration)
   at Forguncy.Views.RibbonView.publishToServer_Click(Object sender, RoutedEventArgs e)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": null,
  "HResult": -2147024864,
  "Source": "System.Private.CoreLib",
  "WatsonBuckets": null
}
```

## EventLog
- 06:43:10 `KeyDown`:Return
- 06:43:08 `KeyDown`:*
- 06:43:03 `TextInput`:***************
- 06:43:00 `MouseL`:Window:发布设置
- 06:42:55 `MouseL`:Window:工具助手20240519.fgcc - 活字格 (10.0.103.0)->RibbonView->RibbonGroupBox:发布->ToggleButton:服务器->Image:/PublishToServer.png
- 06:42:53 `MouseL`:Window:工具助手20240519.fgcc - 活字格 (10.0.103.0)->RibbonView->RibbonTabItem->ContentControl:发布->发布
- 06:42:26 `MouseL`:Window:活字格 (10.0.103.0)->工具助手20240519.fgcc

## ActionList


本帖子中包含更多资源

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

x
回复 使用道具 举报
王宝义
高级会员   /  发表于:2025-12-2 17:41:05
4#
好的,随后 试试。谢谢大佬
回复 使用道具 举报
Joe.xu讲师达人认证 悬赏达人认证 活字格认证
超级版主   /  发表于:2025-12-3 09:21:36
5#
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部