austinulmer / open-hardware-monitor

Automatically exported from code.google.com/p/open-hardware-monitor
0 stars 0 forks source link

IOException when starting from write protected media. #219

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version: 0.3.0.0

System.IO.IOException: The media is write protected.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.Xml.XmlDocument.Save(String filename)
   at OpenHardwareMonitor.PersistentSettings.Save(String fileName)
   at OpenHardwareMonitor.GUI.MainForm.SaveConfiguration()
   at OpenHardwareMonitor.GUI.MainForm.MainForm_FormClosed(Object sender, FormClosedEventArgs e)
   at System.Windows.Forms.FormClosedEventHandler.Invoke(Object sender, FormClosedEventArgs e)
   at System.Windows.Forms.Form.WmClose(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at OpenHardwareMonitor.GUI.MainForm.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Common Language Runtime: 4.0.30319.1
Operating System: Microsoft Windows NT 6.1.7600.0
Process Type: 64-Bit

Original issue reported on code.google.com by moel.mich on 15 May 2011 at 4:23

GoogleCodeExporter commented 9 years ago
Similar exception:

Version: 0.3.0.0

System.IO.DirectoryNotFoundException: Impossible de trouver une partie du 
chemin d'accès 
'F:\Logiciels\Matériel\OpenHardwareMonitor\OpenHardwareMonitor.config'.
   à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   à System.Xml.XmlDOMTextWriter..ctor(String filename, Encoding encoding)
   à System.Xml.XmlDocument.Save(String filename)
   à OpenHardwareMonitor.PersistentSettings.Save(String fileName)
   à OpenHardwareMonitor.GUI.MainForm.SaveConfiguration()
   à OpenHardwareMonitor.GUI.MainForm.MainForm_FormClosed(Object sender, FormClosedEventArgs e)
   à System.Windows.Forms.FormClosedEventHandler.Invoke(Object sender, FormClosedEventArgs e)
   à System.Windows.Forms.Form.WmClose(Message& m)
   à OpenHardwareMonitor.GUI.MainForm.WndProc(Message& m)
   à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Common Language Runtime: 2.0.50727.5444
Operating System: Microsoft Windows NT 6.1.7601 Service Pack 1
Process Type: 64-Bit

Original comment by moel.mich on 15 May 2011 at 4:24

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r319.

Original comment by moel.mich on 15 May 2011 at 4:44