.NET Runtime Version: 4.0.30319.239
Operating System: Microsoft Windows NT 6.1.7601 Service Pack 1
System.InvalidOperationException: В документе XML (39, 110) присутствует ошибка. ---> System.FormatException: Входная строка имела неверный формат.
в System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
в System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
в Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderBridgeList.Read2_BridgeEndpoint(Boolean isNullable, Boolean checkType)
в Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderBridgeList.Read3_Bridge(Boolean isNullable, Boolean checkType)
в Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderBridgeList.Read4_BridgeList(Boolean isNullable, Boolean checkType)
в Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderBridgeList.Read5_bridgelist()
--- Конец трассировки внутреннего стека исключений ---
в System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
в System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
в GTS.SubForms.ManageJumpbridges.btnImportGoonFleetBridges_Click(Object sender, EventArgs e) в C:\Users\Brian\Desktop\GTS\trunk\GTS\SubForms\ManageJumpbridges.cs:строка 245
в System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ButtonBase.WndProc(Message& m)
в System.Windows.Forms.Button.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
в System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
в System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
в System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
в System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
в System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
в GTS.MainWindow.importJumpBridgesToolStripMenuItem_Click(Object sender, EventArgs e) в C:\Users\Brian\Desktop\GTS\trunk\GTS\MainWindow.cs:строка 548
в System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
в System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
в System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
в System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
в System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ToolStrip.WndProc(Message& m)
в System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
в System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
в System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
в System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
в System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
в GTS.Program.Main() в C:\Users\Brian\Desktop\GTS\trunk\GTS\Program.cs:строка 35
а ето как исправить? подскажите плз)
Сообщение отредактировал Kamui Shirou1999: 10 December 2011 - 12:30