20200526.htm 1.7 KB

12345678910111213141516171819202122232425262728
  1. <HR COLOR=red>
  2. 异常时间:2020-05-26 15:09:59,471 [1] <BR>
  3. 异常级别:ERROR <BR>
  4. 异 常 类:logerror [(null)] <BR>
  5. ****************************异常文本****************************
  6. 【出现时间】:2020/5/26 15:09:59
  7. 【异常类型】:UnauthorizedAccessException
  8. 【异常信息】:对端口“COM1”的访问被拒绝。
  9. 【堆栈调用】: 在 System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
  10. 在 System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
  11. 在 System.IO.Ports.SerialPort.Open()
  12. 在 GCAS.Code.ModbusServerHelper.StartModbusServer() 位置 D:\程序\GCASNet\trunk\Code\ModbusServerHelper.cs:行号 22
  13. 在 GCAS.RealTimeForm..ctor() 位置 D:\程序\GCASNet\trunk\RealTime\RealTimeForm.cs:行号 70
  14. 在 GCAS.MainForm.MainForm_Load(Object sender, EventArgs e) 位置 D:\程序\GCASNet\trunk\MainForm.cs:行号 41
  15. 在 System.EventHandler.Invoke(Object sender, EventArgs e)
  16. 在 System.Windows.Forms.Form.OnLoad(EventArgs e)
  17. 在 DevExpress.XtraEditors.XtraForm.OnLoad(EventArgs e)
  18. 在 System.Windows.Forms.Form.OnCreateControl()
  19. 在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
  20. 在 System.Windows.Forms.Control.CreateControl()
  21. 在 System.Windows.Forms.Control.WmShowWindow(Message& m)
  22. 在 System.Windows.Forms.Control.WndProc(Message& m)
  23. 在 System.Windows.Forms.Form.WmShowWindow(Message& m)
  24. 在 DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
  25. 在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  26. ***************************************************************
  27. <BR>
  28. <HR Size=1>