作者bluem (Nokkor f1.4/50mm)
站内Trace
标题[问题] 我的Windows 7 SP1会和软体相冲突,求救!
时间Fri Aug 5 21:43:32 2011
※ [本文转录自 Windows 看板 #1EE_6gl9 ]
作者: bluem (Nokkor f1.4/50mm) 看板: Windows
标题: [问题] 我的Windows 7 SP1会和软体相冲突,求救!
时间: Fri Aug 5 21:35:36 2011
Dear all:
我的软体按了执行程式.exe之後
会出现一个视窗 Microsoft.NET Framework
内容写着:
您的应用程式发生未处理的例外状况.如果您按一下继续,应
用城市会忽略错误并尝试继续.如果您按一下结束,则会立即关闭程式.
试图在入格式错误的程式.(发生例外状况於 HRESULT:0x8007000B)
详细资料按进去:
如需叫用 Just-In-Time (JIT) 侦错的详细资料,
请参阅本讯息结尾处 (而非这个对话方块) 的资讯。
************** 例外状况文字 **************
System.BadImageFormatException: 试图载入格式错误的程式。 (发生例外状况於
HRESULT: 0x8007000B)
於 ForKey.WebKey.WebKeySetUp2004(String SetUpCmd)
於 ForKey.WebKey.checkKey(String as_kind, String as_package)
於 CruxNet.Form1.Form1_Load(Object sender, EventArgs e)
於 System.Windows.Forms.Form.OnLoad(EventArgs e)
於 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
於 System.Windows.Forms.Control.CreateControl()
於 System.Windows.Forms.Control.WmShowWindow(Message& m)
於 System.Windows.Forms.Control.WndProc(Message& m)
於 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
於 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
************** 已载入的组件 **************
mscorlib
组件版本: 2.0.0.0
Win32 版本: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
程式码基底:
file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
CruxNet
组件版本: 1.0.0.0
Win32 版本: 1.0.0.0
程式码基底: file:///C:/Program%20Files%20(x86)/Crux/CruxNet.exe
----------------------------------------
System.Windows.Forms
组件版本: 2.0.0.0
Win32 版本: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
程式码基底:
file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
组件版本: 2.0.0.0
Win32 版本: 2.0.50727.5442 (Win7SP1GDR.050727-5400)
程式码基底:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
组件版本: 2.0.0.0
Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
程式码基底:
file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ForKey
组件版本: 1.0.0.0
Win32 版本: 1.0.0.0
程式码基底: file:///C:/Program%20Files%20(x86)/Crux/ForKey.DLL
----------------------------------------
mscorlib.resources
组件版本: 2.0.0.0
Win32 版本: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
程式码基底:
file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
组件版本: 2.0.0.0
Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
程式码基底:
file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHT_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** JIT 侦错 **************
若要启用 Just-In-Time (JIT) 侦错功能,则必须在
此应用程式或电脑的 .config 档案中,设定
system.windows.forms 区段内的 jitDebugging 值。
且该应用程式也必须在启用侦错的状态下进行
编译。
例如:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
当 JIT 侦错功能启用後,会将所有未处理的例外
状况传送给电脑上已注册的 JIT 侦错工具进行处
理,而不是使用这个对话方块来处理。
不知道有人可以帮帮我吗?
是因为我的Windows是64-bit的缘故吗?
以前Windows Vista没有这问题说~~~
若可以顺利解决愿送上我全部的P币~~
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 58.114.65.110
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 58.114.65.110