The Hacking Hoedown > PhatBox Hacking

Windows DMS Hack Tools v2.10 - Bug Reports

(1/6) > >>

sbingner:
Duh post bug schtuff here

Terry_Kennedy:

--- Quote from: sbingner on September 26, 2007, 08:47:03 am ---Duh post bug schtuff here

--- End quote ---

I get "Unhandled exception has occurred..." - Converstion from string "" to type 'Integer' is not valid.

This is on Windows XP (all updates) with a WD2500BEVE 250GB drive.

The whole mess is:


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

************** Exception Text **************
System.InvalidCastException: Conversion from string "" to type 'Integer' is not valid. ---> System.FormatException: Input string was not in a correct format.
   at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
   --- End of inner exception stack trace ---
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
   at VorTechS.DMS_Hack_Wizard.DMS_PhatHack.NewDMS(String DriveLetter, StorageDevice DMSDevice, String StartupPath, Boolean& RequiresLBAInstall)
   at VorTechS.DMS_Hack_Wizard.HackWizard.NewWizard(String DriveLetter, Form OwnerForm, String StartupPath, StorageDevice DMSDevice, Boolean& LBARequired)
   at StandAloneDMSHackWizard.frmStartupWizard.Start()
   at StandAloneDMSHackWizard.frmStartupWizard.btnStart_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
StandAloneDMSHackWizard
    Assembly Version: 2.4.0.0
    Win32 Version: 0.0.2.4
    CodeBase: file:///C:/Program%20Files/PhatHack/PhatHack%20DMS%20Tools/StandAloneDMSHackWizard.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
PhatUnzip
    Assembly Version: 1.3.3.0
    Win32 Version: 1.3.3
    CodeBase: file:///C:/Program%20Files/PhatHack/PhatHack%20DMS%20Tools/PhatUnzip.DLL
----------------------------------------
DMS
    Assembly Version: 1.0.0.1
    Win32 Version: 1.0.0.1
    CodeBase: file:///C:/Program%20Files/PhatHack/PhatHack%20DMS%20Tools/DMS.DLL
----------------------------------------
DMS Hack Wizard
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PhatHack/PhatHack%20DMS%20Tools/DMS%20Hack%20Wizard.DLL
----------------------------------------
Interop.WbemScripting
    Assembly Version: 1.2.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///C:/Program%20Files/PhatHack/PhatHack%20DMS%20Tools/Interop.WbemScripting.DLL
----------------------------------------
CustomMarshalers
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
System.Web
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
PhatPartition
    Assembly Version: 1.0.2748.25673
    Win32 Version:
    CodeBase: file:///C:/Program%20Files/PhatHack/PhatHack%20DMS%20Tools/PhatPartition.DLL
----------------------------------------
msvcm80
    Assembly Version: 8.0.50727.163
    Win32 Version: 8.00.50727.163
    CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.163_x-ww_681e29fb/msvcm80.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.

--- End code ---

Terry_Kennedy:
[Annoying post length limit - reminds me again why SMF sucks and I've been avoiding this board since it switched.]

The NewDMS_Log says:


--- Code: ---
PhatHack Media Manager DMS Creator
---------------------------------

Date: 9/27/2007
Time: 20:54:20
LogDir: C:\Documents and Settings\Terry Kennedy\My Documents\PhatHack Media Manager\Logs\
ToolsPath: C:\Program Files\PhatHack\PhatHack DMS Tools\DMS_Utils\


Retrieving WMI device snapshot...


Win32_Drive List
----------------

Starting device evaluation:
Determining device signature...
done.
Disk ID: 0
Disk Name: WDC WD2500JD-00GBB0
PnP Device: IDE\DISKWDC_WD2500JD-00GBB0_____________________02.05D02\4&244BA08&0&0.0.0
Disk Unique ID (not serial!): E97DE97D

Partitions List
---------------
Partition: Disk #0, Partition #0
Drive: C:
Serial #: 901A8099



Device evaluation complete.
Next device evaluation:
Determining device signature...
Error occured during drive snapshot:
System.InvalidCastException: Conversion from type 'DBNull' to type 'Integer' is not valid.
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(Object Value)
   at VorTechS.DMS_Hack_Wizard.modCommon.TakeDriveSnapshot(String Logdir, String Logfile)

Getting DMS Disk ID from snapshot...
Disk ID is ...

Opening device through kernel....

--- End code ---

The Startup_sequence says:


--- Code: ---Starting Device Listing....
Getting Device Snapshot....


Win32_Drive List
----------------

Starting device evaluation:
Determining device signature...
done.
Disk ID: 0
Disk Name: WDC WD2500JD-00GBB0
PnP Device: IDE\DISKWDC_WD2500JD-00GBB0_____________________02.05D02\4&244BA08&0&0.0.0
Disk Unique ID (not serial!): E97DE97D

Partitions List
---------------
Partition: Disk #0, Partition #0
Drive: C:
Serial #: 901A8099



Device evaluation complete.
Skipping device with no signature.
Skipping device with no signature.
Skipping device with no signature.
Skipping device with no signature.
Next device evaluation:
Determining device signature...
done.
Disk ID: 5
Disk Name: USB-HS WDC WD2500BEVE-0 USB Device
PnP Device: USBSTOR\DISK&VEN_USB-HS&PROD_WDC_WD2500BEVE-0&REV_0.01\8&15750E10&0
Disk Unique ID (not serial!): 86031EBD

Partitions List
---------------
Partition: Disk #5, Partition #0
Drive: K:
Serial #: 946F17DF




Partitions List
---------------
No logical disks available for device partitions.
Device evaluation complete.
Succeeded....enumerating devices....
Device 1
Checking device name for USB context...
Not a USB labelled device.
Device 2
Checking device name for USB context...
Evaluates to true!
Also has drive letter!
Device enumeration complete.
Starting Device Listing....
Getting Device Snapshot....


Win32_Drive List
----------------

Starting device evaluation:
Determining device signature...
done.
Disk ID: 0
Disk Name: WDC WD2500JD-00GBB0
PnP Device: IDE\DISKWDC_WD2500JD-00GBB0_____________________02.05D02\4&244BA08&0&0.0.0
Disk Unique ID (not serial!): E97DE97D

Partitions List
---------------
Partition: Disk #0, Partition #0
Drive: C:
Serial #: 901A8099



Device evaluation complete.
Skipping device with no signature.
Skipping device with no signature.
Skipping device with no signature.
Skipping device with no signature.
Next device evaluation:
Determining device signature...
done.
Disk ID: 5
Disk Name: USB-HS WDC WD2500BEVE-0 USB Device
PnP Device: USBSTOR\DISK&VEN_USB-HS&PROD_WDC_WD2500BEVE-0&REV_0.01\8&15750E10&0
Disk Unique ID (not serial!): 86031EBD

Partitions List
---------------
Partition: Disk #5, Partition #0
Drive: K:
Serial #: 946F17DF




Partitions List
---------------
No logical disks available for device partitions.
Device evaluation complete.
Succeeded....enumerating devices....
Device 1
Checking device name for USB context...
Not a USB labelled device.
Device 2
Checking device name for USB context...
Evaluates to true!
Also has drive letter!
Device enumeration complete.

--- End code ---

sbingner:
post size limit removed... I hadn't ran into it being a problem in the past.

VorTechS:
Thanks Terry, I'll take a look at this in about an hour.

Looks like another case of WMI records not containing data - although this looks real familiar.

Navigation

[0] Message Index

[#] Next page

Go to full version