本机系统为WIN7,双屏显示,之前为了让两边的任务栏都独立显示,于是下载安装了DualMonitor工具,但在使用的时候发现有个问题,就好像DualMonitor并不能很好的识别屏幕的高度,在屏上全屏幕显示窗口时总有点不舒服,另外就是每次启动都会自动打开txt文件展示报错信息(忘了保存了),因为也没有多大用处,于是就准备把它卸载。而就在卸载之后的每次启动发现都会报错。副屏上依然会显示一个任务栏,但点击任务栏时就会出现一个SecondaryTaskbar的异常错误,提示:应用程序中发生了未经处理的异常,点击继续、退出balabala之类的。点击退出后任务栏自动消失就恢复了正常,但每次报错挺烦人。截图如下:本文地址:http://www.04007.cn/article/1028.html,未经许可,不得转载.
本文地址:http://www.04007.cn/article/1028.html,未经许可,不得转载.
今天把错误整理出来看了一下,详细信息如下:本文地址:http://www.04007.cn/article/1028.html,未经许可,不得转载.
调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。
************** 异常文本 **************
System.IO.FileNotFoundException: 未能加载文件或程序集“Gma.UserActivityMonitor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。系统找不到指定的文件。
文件名:“Gma.UserActivityMonitor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”
在 DualMonitor.Controls.TaskbarFlow.OnMouseDown(MouseEventArgs e)
在 System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
警告: 程序集绑定日志记录被关闭。
要启用程序集绑定失败日志记录,请将注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD)设置为 1。
注意: 会有一些与程序集绑定失败日志记录关联的性能损失。
要关闭此功能,请移除注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog]。
************** 已加载的程序集 **************
mscorlib
程序集版本:4.0.0.0
Win32 版本:4.8.4069.0 built by: NET48REL1LAST_B
基本代码:file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
DualMonitor #关键行
程序集版本:1.22.218.13
Win32 版本:1.0.0.0
基本代码:file:///C:/Users/Administrator/AppData/Roaming/Microsoft/Windows/Start%20Menu/Programs/Startup/DualMonitor.exe
----------------------------------------
System.Windows.Forms
程序集版本:4.0.0.0
Win32 版本:4.8.4042.0 built by: NET48REL1LAST_C
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
程序集版本:4.0.0.0
Win32 版本:4.8.4001.0 built by: NET48REL1LAST_C
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
程序集版本:4.0.0.0
Win32 版本:4.8.3761.0 built by: NET48REL1
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
程序集版本:4.0.0.0
Win32 版本:4.8.4110.0 built by: NET48REL1LAST_B
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
程序集版本:4.0.0.0
Win32 版本:4.8.3761.0 built by: NET48REL1
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
程序集版本:4.0.0.0
Win32 版本:4.8.3761.0 built by: NET48REL1
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Microsoft.GeneratedCode
程序集版本:1.0.0.0
Win32 版本:4.8.3761.0 built by: NET48REL1
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
程序集版本:4.0.0.0
Win32 版本:4.8.3761.0 built by: NET48REL1
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.resources
程序集版本:4.0.0.0
Win32 版本:4.8.3761.0 built by: NET48REL1
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.resources.dll
----------------------------------------
System.Windows.Forms.resources
程序集版本:4.0.0.0
Win32 版本:4.8.3761.0 built by: NET48REL1
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
程序集版本:4.0.0.0
Win32 版本:4.8.3761.0 built by: NET48REL1
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。
例如:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
启用 JIT 调试后,任何未经处理的异常
都将被发送到在此计算机上注册的 JIT 调试程序,
而不是由此对话框处理。本文地址:http://www.04007.cn/article/1028.html,未经许可,不得转载.
从错误中的DualMonitor #关键行可以看到,虽然我卸载了,但依然会去加载这个DualMonitor程序,基本代码:file:///C:/Users/Administrator/AppData/Roaming/Microsoft/Windows/Start%20Menu/Programs/Startup/DualMonitor.exe。可见这是在开机自启动了加了快捷方式啊。怪不得报错,把它删了重新启动就正常了。本文地址:http://www.04007.cn/article/1028.html,未经许可,不得转载.
本文地址:http://www.04007.cn/article/1028.html 未经许可,不得转载. 手机访问本页请扫描右下方二维码.
![]() |
![]() |
手机扫码直接打开本页面 |