子曰好人 发表于 2018-8-3 10:29:40

MotorControl Workbench 5.0.3打开默认工程被退出

本帖最后由 子曰好人 于 2018-8-3 14:50 编辑

最近要培训ST电机库5.0了,准备提前安装好软件,新建工程预习一下代码,结果上位机不能打开默认工程,新建工程也失败了,遇到的问题如图所示,操作系统是win7企业版


有遇到过这个问题的坛友吗?该如何处理

详细信息如下:
-----------------------------------------------------------------------------------------------------------------------------

有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.InvalidOperationException: 此实现不是 Windows 平台 FIPS 验证的加密算法的一部分。
   在 System.Security.Cryptography.SHA512Managed..ctor()
   --- 内部异常堆栈跟踪的结尾 ---
   在 System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
   在 System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   在 System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)
   在 System.Security.Cryptography.SHA512.Create(String hashName)
   在 System.Security.Cryptography.SHA512.Create()
   在 STMCWB.Utility.Utils.sha512(String str)
   在 STMCWB.IDE.MainForm.openProject(String filename)
   在 STMCWB.IDE.MainForm.onStartPageClick(String cmd, String param)
   在 STMCWB.IDE.StartPanel.StartPanelDataGrid2_onRowClick(String str)
   在 STMCWB.IDE.StartPanelDataGrid.dataGridView1_CellClick(Object sender, DataGridViewCellEventArgs e)
   在 System.Windows.Forms.DataGridView.OnCellClick(DataGridViewCellEventArgs e)
   在 System.Windows.Forms.DataGridView.OnMouseClick(MouseEventArgs e)
   在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.DataGridView.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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.8669 (QFE.050727-8600)
    基本代码: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
STMCWB
    程序集版本: 5.1.2.18276
    Win32 版本: 5.1.2.18276
    基本代码: file:///C:/Program%20Files%20(x86)/STMicroelectronics/MC_SDK_5.1.3/Utilities/PC_Software/STMCWB/STMCWB.exe
----------------------------------------
System.Windows.Forms
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5491 (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.8759 (QFE.050727-8700)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5495 (Win7SP1GDR.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.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-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
System.Xml
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5494 (Win7SP1GDR.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
XInclude
    程序集版本: 1.0.1426.36008
    Win32 版本: 1.0.1426.36008
    基本代码: file:///C:/Program%20Files%20(x86)/STMicroelectronics/MC_SDK_5.1.3/Utilities/PC_Software/STMCWB/lib/XInclude.DLL
----------------------------------------
System.Configuration
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    程序集版本: 3.5.0.0
    Win32 版本: 3.5.30729.5420 built by: Win7SP1
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Bin2XML
    程序集版本: 1.0.0.0
    Win32 版本: 1.0.0.0
    基本代码: file:///C:/Program%20Files%20(x86)/STMicroelectronics/MC_SDK_5.1.3/Utilities/PC_Software/STMCWB/lib/Bin2XML.DLL
----------------------------------------
mscorlib.resources
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.8669 (QFE.050727-8600)
    基本代码: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Iocomp.Instrumentation.WF2005.Std
    程序集版本: 4.0.2.1074
    Win32 版本: 4.0.2.1074
    基本代码: file:///C:/Program%20Files%20(x86)/STMicroelectronics/MC_SDK_5.1.3/Utilities/PC_Software/STMCWB/Iocomp.Instrumentation.WF2005.Std.DLL
----------------------------------------
Iocomp.Instrumentation.WF2005.Common
    程序集版本: 4.0.2.1041
    Win32 版本: 4.0.2.1041
    基本代码: file:///C:/Program%20Files%20(x86)/STMicroelectronics/MC_SDK_5.1.3/Utilities/PC_Software/STMCWB/Iocomp.Instrumentation.WF2005.Common.DLL
----------------------------------------
Iocomp.Instrumentation.WF2005.Plot
    程序集版本: 4.0.2.1070
    Win32 版本: 4.0.2.1070
    基本代码: file:///C:/Program%20Files%20(x86)/STMicroelectronics/MC_SDK_5.1.3/Utilities/PC_Software/STMCWB/Iocomp.Instrumentation.WF2005.Plot.DLL
----------------------------------------

************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。

例如:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

启用 JIT 调试后,任何无法处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。
-----------------------------------------------------------------------------------------------------------------------------

TLLED 发表于 2018-8-3 11:33:38

软件重新在装一次,还有这个提示吗,应该是文件有丢失吧。

wtliu 发表于 2018-8-3 14:33:59

STM的软件兼容不是很好,另外这个好像要先装JAVA。:lol

子曰好人 发表于 2018-8-3 14:53:20

TLLED 发表于 2018-8-3 11:33
软件重新在装一次,还有这个提示吗,应该是文件有丢失吧。

重装也是这样,我刚才贴出了详细信息里面的内容

子曰好人 发表于 2018-8-3 14:54:23

wtliu 发表于 2018-8-3 14:33
STM的软件兼容不是很好,另外这个好像要先装JAVA。

装Java环境?没学过Java,麻烦再说详细一点

stm1024 发表于 2018-8-3 15:09:21

这个看起来像是用.NET 开发的,你安装一个.NET Framework2.0之后,再试试?

子曰好人 发表于 2018-8-3 15:31:57

stm1024 发表于 2018-8-3 15:09
这个看起来像是用.NET 开发的,你安装一个.NET Framework2.0之后,再试试?

尝试过安装.net4.0,已经安装过更高版本了



stm1024 发表于 2018-8-3 15:39:08

子曰好人 发表于 2018-8-3 15:31
尝试过安装.net4.0,已经安装过更高版本了

装2.0,不要以为你装了最新的.NET Framework就可以兼容低版本的了,这是.NET设计中比较坑爹的一件事

子曰好人 发表于 2018-8-3 17:20:25

@zero99 手动艾特破总,图片没挂诶,只上传了两张图片,作为老会员了,上传图片还是会的;P

子曰好人 发表于 2018-8-3 17:20:44

本帖最后由 子曰好人 于 2018-8-3 18:07 编辑

stm1024 发表于 2018-8-3 15:39
装2.0,不要以为你装了最新的.NET Framework就可以兼容低版本的了,这是.NET设计中比较坑爹的一件事 ...
好的,谢谢,我去装2.0


页: [1] 2
查看完整版本: MotorControl Workbench 5.0.3打开默认工程被退出