Error

Windows 7 x64

Eraser_6.0.7.1893

Always errors when using eraser:

Select data to erase

Unhandled exception has occured in your application.

Exception from HRESULT: 0x80070015



See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Das Gerät ist nicht bereit. (Exception from HRESULT: 0x80070015)
at Eraser.Util.Win32ErrorCode.GetExceptionForWin32Error(Int32 errorCode)
at Eraser.Util.VolumeInfo.GetLocalVolumeMountPoints()
at Eraser.Util.VolumeInfo.get_MountPoints()
at Eraser.Util.VolumeInfo.get_IsMounted()
at Eraser.DefaultPlugins.UnusedSpaceErasureTargetConfigurer..ctor()
at Eraser.DefaultPlugins.UnusedSpaceErasureTarget.get_Configurer()
at Eraser.TaskDataSelectionForm.typeCmb_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Eraser
Assembly Version: 6.1.0.2066
Win32 Version: 6.1.0.2066
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.exe
----------------------------------------
CommonLibrary
Assembly Version: 0.9.3.10
Win32 Version: 0.9.3.10
CodeBase: file:///C:/Program%20Files/Eraser/CommonLibrary.DLL
----------------------------------------
Eraser.Util
Assembly Version: 6.1.0.2066
Win32 Version: 6.1.0.2066
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.Util.DLL
----------------------------------------
Eraser.Manager
Assembly Version: 6.1.0.2066
Win32 Version: 6.1.0.2066
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.Manager.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.4926 built by: NetFXw7
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Eraser.DefaultPlugins
Assembly Version: 6.1.0.2066
Win32 Version: 6.1.0.2066
CodeBase: file:///C:/Program%20Files/Eraser/Plugins/Eraser.DefaultPlugins.dll
----------------------------------------
Eraser.BlackBox
Assembly Version: 6.1.0.2066
Win32 Version: 6.1.0.2066
CodeBase: file:///C:/Program%20Files/Eraser/Plugins/Eraser.BlackBox.dll
----------------------------------------
Eraser.resources
Assembly Version: 6.1.0.2066
Win32 Version: 6.1.0.2066
CodeBase: file:///C:/Program%20Files/Eraser/en/Eraser.resources.DLL
----------------------------------------
BevelLine
Assembly Version: 1.0.3589.29437
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Eraser/BevelLine.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Eraser.DefaultPlugins.resources
Assembly Version: 6.1.0.2066
Win32 Version: 6.1.0.2066
CodeBase: file:///C:/Program%20Files/Eraser/Plugins/en/Eraser.DefaultPlugins.resources.dll
----------------------------------------
Eraser.Manager.resources
Assembly Version: 6.1.0.2066
Win32 Version: 6.1.0.2066
CodeBase: file:///C:/Program%20Files/Eraser/en/Eraser.Manager.resources.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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 computer
rather than be handled by this dialog box.
 

DavidHB

Active Member
Does this error occur when you run an Eraser task, or when you are using either the context menu or Drag and drop to start Eraser?

Just to be sure, please try uninstalling Eraser, deleting the task list (this is possibly quite important), and then reinstalling. If that doesn't work, please come back with the answer to the above question.

David
 
Uninstalling and reinstalling keeps me busy, but does not help a bit.

The initially posted error happened if I tried to add a task using the context menu.


EDIT: New error after reinstalling: eraser does not run any more.

Beschreibung:
Stopped working

Problemsignatur:
Problemereignisname: CLR20r3
Problemsignatur 01: eraser.exe
Problemsignatur 02: 6.0.7.1893
Problemsignatur 03: 4bbfca0e
Problemsignatur 04: Eraser.Manager
Problemsignatur 05: 6.0.7.1893
Problemsignatur 06: 4bbfc9e9
Problemsignatur 07: 197
Problemsignatur 08: 1c
Problemsignatur 09: System.InvalidCastException
Betriebsystemversion: 6.1.7600.2.0.0.256.1
Gebietsschema-ID: 1031
 

DavidHB

Active Member
Did you delete the Task List? This is very possibly more important than uninstalling.

David
 
I uninstalled and deleted the task list in C:\Users\Peter\AppData\Local\Eraser 6.

After reinstalling this is the result: eraser does not run any more.

Beschreibung:
Stopped working

Problemsignatur:
Problemereignisname: CLR20r3
Problemsignatur 01: eraser.exe
Problemsignatur 02: 6.0.7.1893
Problemsignatur 03: 4bbfca0e
Problemsignatur 04: Eraser.Manager
Problemsignatur 05: 6.0.7.1893
Problemsignatur 06: 4bbfc9e9
Problemsignatur 07: 197
Problemsignatur 08: 1c
Problemsignatur 09: System.InvalidCastException
Betriebsystemversion: 6.1.7600.2.0.0.256.1
Gebietsschema-ID: 1031
 

DavidHB

Active Member
As you have been working on this a while, it may be best to get your installation to a known state.

If you have had any previous versions of Eraser on your machine, make sure they are completely uninstalled. Then uninstall Eraser 6, delete the registry keys and task list, and, if you can, run a Registry cleaner (such as CCleaner or Ashampoo WinOptimizer) before reinstalling Eraser 6. Then see what errors, if any, you get. From my reading, the error message you are getting at present can have several causes, all of which are in the system rather than Eraser as such; it would be nice to have something a bit more specific, which could point us (or, more probably, Joel) in the right direction.

David
 

Joel

Active Member
You need to delete the HKCU\Software\Eraser registry key. Your initial post said 6.0.7, but the error report says otherwise, you may have a corrupted install.
 

DavidHB

Active Member
Joel said:
You need to delete the HKCU\Software\Eraser registry key. Your initial post said 6.0.7, but the error report says otherwise, you may have a corrupted install.
As you see from the times, this crossed with my post. As this is simpler, do it first. If that doesn't work, try the fuller approach I suggested.

David
 
This is what I did:

DavidHB said:
As you have been working on this a while, it may be best to get your installation to a known state.

If you have had any previous versions of Eraser on your machine, make sure they are completely uninstalled. Then uninstall Eraser 6, delete the registry keys and task list, and, if you can, run a Registry cleaner (such as CCleaner or Ashampoo WinOptimizer) before reinstalling Eraser 6. Then see what errors, if any, you get. From my reading, the error message you are getting at present can have several causes, all of which are in the system rather than Eraser as such; it would be nice to have something a bit more specific, which could point us (or, more probably, Joel) in the right direction.

David
Windows 7 x64
Installed: Eraser_6.0.7.1893

This is what I got first:

New Task ----> Add Data

Task Properties
Unhandled exception has occured in your application.
Exception from HRESULT: 0x80070015

Details:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Das Gerät ist nicht bereit. (Exception from HRESULT: 0x80070015)
at Eraser.Util.VolumeInfo.GetLocalVolumeMountPoints()
at Eraser.Util.VolumeInfo.get_MountPoints()
at Eraser.Util.VolumeInfo.get_IsMounted()
at Eraser.TaskDataSelectionForm..ctor()
at Eraser.TaskPropertiesForm.dataAdd_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.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.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Eraser
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.exe
----------------------------------------
Eraser.Manager
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.Manager.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
Eraser.Util
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.Util.DLL
----------------------------------------
Eraser.DefaultPlugins
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Plugins/Eraser.DefaultPlugins.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.4926 built by: NetFXw7
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Eraser.resources
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/en/Eraser.resources.DLL
----------------------------------------
BevelLine
Assembly Version: 1.0.3589.29437
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Eraser/BevelLine.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Eraser.DefaultPlugins.resources
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Plugins/en/Eraser.DefaultPlugins.resources.dll
----------------------------------------
Eraser.Manager.resources
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/en/Eraser.Manager.resources.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Eraser.Util.Unlocker
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.Util.Unlocker.DLL
----------------------------------------
mscorlib.resources
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.4926
Win32 Version: 9.00.30729.4926
CodeBase: file:///C:/Windows/WinSxS/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_08e1a05ba83fe554/msvcm90.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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 computer
rather than be handled by this dialog box.


This is what I got second:

New Task ----> Add Data

Unused disk space (E:\), completed with errors

Session: Dienstag, 11. Mai 2010 16:45:05
Dienstag, 11. Mai 2010 16:45:05 Error The program does not have the required permissions to erase the unused space on disk. Run the program as an administrator and retry the operation.

Run as administrator: same error.

Quit Eraser once again from the taskbar. Run as administrator again: is running now.
 

DavidHB

Active Member
I recognise your second and third runs as normal behaviour with this release. To run as administrator, you need to be absolutely sure that the pre-existing running process has been shut down. Usually, the icon disappearing from the system tray is sufficient indication, but you can always check in Task Manager.

Your first issue has me puzzled. Just to be sure: did you delete the Task List and the Registry key before you reinstalled? This is one where Joel will recognise the symptoms better than I, and his advice is that you seemed to have a corrupt installation. If you didn't delete these items, you may well still have a problematic installation, in which case I'm afraid the only thing to do is repeat all the steps in my last post all over again.

David
 
DavidHB said:
I recognise your second and third runs as normal behaviour with this release. To run as administrator, you need to be absolutely sure that the pre-existing running process has been shut down. Usually, the icon disappearing from the system tray is sufficient indication, but you can always check in Task Manager.
David
In this case it makes no sense to let Eraser automatically start with Windows.


DavidHB said:
Your first issue has me puzzled. Just to be sure: did you delete the Task List and the Registry key before you reinstalled?
Yes.


Unused disk space (E:\) finished.

New Task ---> Add Data

This is what I got:

Task Properties
Unhandled exception has occured in your application.
Exception from HRESULT: 0x80070015

Details:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Das Gerät ist nicht bereit. (Exception from HRESULT: 0x80070015)
at Eraser.Util.VolumeInfo.GetLocalVolumeMountPoints()
at Eraser.Util.VolumeInfo.get_MountPoints()
at Eraser.Util.VolumeInfo.get_IsMounted()
at Eraser.TaskDataSelectionForm..ctor()
at Eraser.TaskPropertiesForm.dataAdd_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.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.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Eraser
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.exe
----------------------------------------
Eraser.Manager
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.Manager.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
Eraser.Util
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.Util.DLL
----------------------------------------
Eraser.DefaultPlugins
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Plugins/Eraser.DefaultPlugins.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.4926 built by: NetFXw7
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Eraser.resources
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/en/Eraser.resources.DLL
----------------------------------------
Eraser.Manager.resources
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/en/Eraser.Manager.resources.DLL
----------------------------------------
BevelLine
Assembly Version: 1.0.3589.29437
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Eraser/BevelLine.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Eraser.DefaultPlugins.resources
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Plugins/en/Eraser.DefaultPlugins.resources.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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 computer
rather than be handled by this dialog box.
 

Joel

Active Member
eraseduser said:
DavidHB said:
I recognise your second and third runs as normal behaviour with this release. To run as administrator, you need to be absolutely sure that the pre-existing running process has been shut down. Usually, the icon disappearing from the system tray is sufficient indication, but you can always check in Task Manager.
David
In this case it makes no sense to let Eraser automatically start with Windows.
It does, Free space erasures shouldn't be done regularly (since it stresses the drive unnecessarily.) It also allows you to schedule complex erasure schedules, just to name two potential benefits.


eraseduser said:
Task Properties
Unhandled exception has occured in your application.
Exception from HRESULT: 0x80070015

Details:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Das Gerät ist nicht bereit. (Exception from HRESULT: 0x80070015)
at Eraser.Util.VolumeInfo.GetLocalVolumeMountPoints()
at Eraser.Util.VolumeInfo.get_MountPoints()
at Eraser.Util.VolumeInfo.get_IsMounted()
at Eraser.TaskDataSelectionForm..ctor()
at Eraser.TaskPropertiesForm.dataAdd_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.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.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Eraser
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.exe
----------------------------------------
Eraser.Manager
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.Manager.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
Eraser.Util
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.Util.DLL
----------------------------------------
Eraser.DefaultPlugins
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Plugins/Eraser.DefaultPlugins.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.4926 built by: NetFXw7
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Eraser.resources
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/en/Eraser.resources.DLL
----------------------------------------
Eraser.Manager.resources
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/en/Eraser.Manager.resources.DLL
----------------------------------------
BevelLine
Assembly Version: 1.0.3589.29437
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Eraser/BevelLine.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Eraser.DefaultPlugins.resources
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Plugins/en/Eraser.DefaultPlugins.resources.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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 computer
rather than be handled by this dialog box.
This is a new problem, and nothing to do with the task list nor the registry key (which you have fixed earlier.) What drives are there listed in your computer at the time of adding the new task list?
 

DavidHB

Active Member
Joel said:
eraseduser said:
In this case it makes no sense to let Eraser automatically start with Windows.
It does, Free space erasures shouldn't be done regularly (since it stresses the drive unnecessarily.) It also allows you to schedule complex erasure schedules, just to name two potential benefits.
Another important benefit is the way in which it allows the program, at present through a running process and in future (hopefully) through a service, to work as it were inside the system, and thereby to co-exist more comfortably with the Windows security model. While the full benefits of this approach will only be realised when the erasing engine is implemented as a service, Eraser 6 has already demonstrated the feasibility of running the engine separately from the UI.

Also, you can set the properties (compatibility tab) of the Eraser.exe file so that is always runs elevated (= 'as administrator'), so it starts in that mode with Windows. On my Windows 7 installation, I have UAC set to the lowest level, and that too seems to help; I don't need to run the program elevated.

David
 
Joel said:
eraseduser said:
DavidHB said:
I recognise your second and third runs as normal behaviour with this release. To run as administrator, you need to be absolutely sure that the pre-existing running process has been shut down. Usually, the icon disappearing from the system tray is sufficient indication, but you can always check in Task Manager.David
In this case it makes no sense to let Eraser automatically start with Windows.
It does, Free space erasures shouldn't be done regularly (since it stresses the drive unnecessarily.) It also allows you to schedule complex erasure schedules, just to name two potential benefits.
After installation Eraser starts automatically with Windows but without administrator rights. This installation makes no sense if Eraser can only run properly with administrator rights.


eraseduser said:
This is a new problem, and nothing to do with the task list nor the registry key (which you have fixed earlier.) What drives are there listed in your computer at the time of adding the new task list?
first SATA-Disk: System Reserved, C, D, E, F, G, H, I, J

second SATA-Disk: K, L, M


EDIT:

Now I run Eraser as administrator, assigned permanently to the programm Eraser with the Program Compatibility Assistance Service of Windows 7 x64.

Each time when I did everything necessary to have Eraser to run properly suddenly and unexpected the error appears again. Sorry for that.

Now I was running a Recycle Bin Task and Add data for a new task the following error happened:

New Task ---> Add Data

This is what I got:

Task Properties
Unhandled exception has occured in your application.
Exception from HRESULT: 0x80070015

Details:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Das Gerät ist nicht bereit. (Exception from HRESULT: 0x80070015)
at Eraser.Util.VolumeInfo.GetLocalVolumeMountPoints()
at Eraser.Util.VolumeInfo.get_MountPoints()
at Eraser.Util.VolumeInfo.get_IsMounted()
at Eraser.TaskDataSelectionForm..ctor()
at Eraser.TaskPropertiesForm.dataAdd_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.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.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Eraser
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.exe
----------------------------------------
Eraser.Manager
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.Manager.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
Eraser.Util
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.Util.DLL
----------------------------------------
Eraser.DefaultPlugins
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Plugins/Eraser.DefaultPlugins.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.4926 built by: NetFXw7
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Eraser.resources
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/en/Eraser.resources.DLL
----------------------------------------
Eraser.Manager.resources
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/en/Eraser.Manager.resources.DLL
----------------------------------------
BevelLine
Assembly Version: 1.0.3589.29437
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Eraser/BevelLine.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Eraser.DefaultPlugins.resources
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Plugins/en/Eraser.DefaultPlugins.resources.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
mscorlib.resources
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Eraser.Util.Unlocker
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.Util.Unlocker.DLL
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.4926
Win32 Version: 9.00.30729.4926
CodeBase: file:///C:/Windows/WinSxS/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_08e1a05ba83fe554/msvcm90.dll
----------------------------------------
System.resources
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.resources/2.0.0.0_de_b77a5c561934e089/System.resources.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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 computer
rather than be handled by this dialog box.
 
Exception from HRESULT: 0x80070015

Windows 7 x64
Eraser_6.0.7.1893
Eraser runs as administrator, assigned permanently to the programm Eraser with the Program Compatibility Assistance Service of Windows 7 x64.
Eraser does not start automatically with Windows.
I started Windows and then manually Eraser, added a New Task Unused disk space E:\ which I ran and which finished.
After this task finished I wanted to add a New Task.

The following error occured:

Task Properties
Unhandled exception has occured in your application.
Exception from HRESULT: 0x80070015

Details:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Das Gerät ist nicht bereit. (Exception from HRESULT: 0x80070015)
at Eraser.Util.VolumeInfo.GetLocalVolumeMountPoints()
at Eraser.Util.VolumeInfo.get_MountPoints()
at Eraser.Util.VolumeInfo.get_IsMounted()
at Eraser.TaskDataSelectionForm..ctor()
at Eraser.TaskPropertiesForm.dataAdd_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.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.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Eraser
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.exe
----------------------------------------
Eraser.Manager
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.Manager.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
Eraser.Util
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.Util.DLL
----------------------------------------
Eraser.DefaultPlugins
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Plugins/Eraser.DefaultPlugins.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.4926 built by: NetFXw7
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Eraser.resources
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/en/Eraser.resources.DLL
----------------------------------------
Eraser.Manager.resources
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/en/Eraser.Manager.resources.DLL
----------------------------------------
BevelLine
Assembly Version: 1.0.3589.29437
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Eraser/BevelLine.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Eraser.DefaultPlugins.resources
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Plugins/en/Eraser.DefaultPlugins.resources.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
mscorlib.resources
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Eraser.Util.Unlocker
Assembly Version: 6.0.7.1893
Win32 Version: 6.0.7.1893
CodeBase: file:///C:/Program%20Files/Eraser/Eraser.Util.Unlocker.DLL
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.4926
Win32 Version: 9.00.30729.4926
CodeBase: file:///C:/Windows/WinSxS/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_08e1a05ba83fe554/msvcm90.dll
----------------------------------------
System.resources
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.resources/2.0.0.0_de_b77a5c561934e089/System.resources.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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 computer
rather than be handled by this dialog box.
 

DavidHB

Active Member
Re: Exception from HRESULT: 0x80070015

I'll leave this one to Joel.

For what it's worth, I've seen this kind of error when messing with development builds, but not with the stable release. It seems to be associated in my case with repeated uninstalling and reinstalling; doing a full uninstall then running CCleaner to be sure has always fixed it for me, though not always at the first attempt.

I've not used the Program Compatibility Assistance Service; my approach is to change the setting on the compatibility tab of the executable (or shortcut) file properties. I also have UAC set to its lowest level, and usually don't need to run Eraser elevated at all in Windows 7.

David
 

Joel

Active Member
Your problem has always been the same -- that Eraser cannot determine the drive configuration of your computer (necessary to handle file system specific issues.) One of your drives are inaccessible to you, and that's probably the one causing the problem.

I don't have a workaround offhand...
 

Joel

Active Member
I've looked up some documentation, and will post a fix to the Eraser 6.0 branch (get from the nightly builds page) soon.
 

Joel

Active Member
Fixed in r2139.
 
Re: Exception from HRESULT: 0x80070015

DavidHB said:
I've not used the Program Compatibility Assistance Service; my approach is to change the setting on the compatibility tab of the executable (or shortcut) file properties. I also have UAC set to its lowest level, and usually don't need to run Eraser elevated at all in Windows 7. David
There is a setting 'run program as administrator' (Privilege level) on the compatibility tab of the executable (or shortcut) file properties that can also be checked using the Program Compatibility Assistance Service (choice: The program requires additional permissions). That is what I did.

But I learned that it is not necessary to run Eraser as an Administrator all the time (viewtopic.php?f=2&t=6240#p18310).


Joel said:
Your problem has always been the same -- that Eraser cannot determine the drive configuration of your computer (necessary to handle file system specific issues.) One of your drives are inaccessible to you, and that's probably the one causing the problem.
I have no drive that is inaccessible to me. It was Eraser that could not determine the drive configuration of my computer which is rather new, bought 22nd December 2009. I was stubborn but now the problem is reported to be solved.
 
Top