运行一软件net.framework的错误提示
本人使用一用户管理软件客户端,但不知道怎么的最近程序无法运行了,请高人指点!!!!!See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidCastException: Cast from string "F1" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format.
at Microsoft.VisualBasic.CompilerServices.DoubleType.Parse(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.DoubleType.FromString(String Value, NumberFormatInfo NumberFormat)
--- End of inner exception stack trace ---
at Microsoft.VisualBasic.CompilerServices.DoubleType.FromString(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.DoubleType.FromString(String Value)
at XEEK.XSWDAPI.SWDCheck(Int32 licFor, Int32& ProviderID)
at Dn3SMS.Cas.GetProviderIDFromSqlDBS(Int32& ProviderID)
at Dn3SMS.frmLogin.LoadProvider(Int32& ProviderID)
at Dn3SMS.frmLogin.btnOk_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
Dn3SMS2
Assembly Version: 1.1.8109.0
Win32 Version: 1.1.8109.0
CodeBase: file:///D:/管理软件/Wanfa/SMS/Dn3SMS2.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
Interop.WF_SWD
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/管理软件/Wanfa/SMS/Interop.WF_SWD.DLL
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
xSystem
Assembly Version: 1.0.4.7702
Win32 Version: 1.0.4.7702
CodeBase: file:///D:/管理软件/Wanfa/SMS/xSystem.DLL
----------------------------------------
xcsrvb7
Assembly Version: 1.0.8000.0
Win32 Version: 1.0.8000.0
CodeBase: file:///D:/管理软件/Wanfa/SMS/xcsrvb7.DLL
----------------------------------------
xcEnum
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///D:/管理软件/Wanfa/SMS/xcEnum.DLL
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
Interop.WFSWDInstall
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/管理软件/Wanfa/SMS/Interop.WFSWDInstall.DLL
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.Management
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.management/1.0.5000.0__b03f5f7f11d50a3a/system.management.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
XEEK
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/管理软件/Wanfa/SMS/XEEK.DLL
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
--------------------编程问答-------------------- 很可能是环境问题,重装.net试试,或者记录运行日志,看看运行到哪里出错 --------------------编程问答-------------------- 是不是配置文件或数据库配置被改过了? --------------------编程问答-------------------- Cast from string "F1" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format.
把“FI”转换成Double类型不合法--系统格式错误,输入string不是一个正确格式。
这是主要问题。。。 --------------------编程问答--------------------
那这个问题该如何解决,该怎么具体操纵?请高人指点! --------------------编程问答-------------------- System.InvalidCastException: Cast from string "F1" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format.
这里说是 F1 转为 数字时出错,格式不对
你看看运行的时候,你有没输入过 F1 这样的内容
实在不行,就找销售商,这个属于系统问题
补充:.NET技术 , .NET Framework