Author Topic: DMS tool 2.15 and Windows and Creating / Repairing Dirves (Ie. 20G)  (Read 22 times)

0 Members and 1 Guest are viewing this topic.

Offline sticman

  • Newbie
  • Posts: 2
First time I've had to create a drive due to a glitch, no phtsys on the 20G. Found out I cant get the tools to work. On the same machine with the USB2 cradle, Windows 7 64bit is a no go. With Windows 10 64bit the cradle and drive mount with some coaxing, But no formating with DMS tool 2.15, not even with the restart trick mentioned for Windows 7 works for Windows 10.

So I have a Windows XP 32bit VM built and the cradle and drive mount like a normal, fast and reliable, I use this VM with the PhatNoise manager to load the music. So I installed DMS tool 2.15 in the XP VM and the software does not function. I end up with this error...

************** Exception Text **************
System.IO.DirectoryNotFoundException: Could not find special directory 'My Documents'.
   at Microsoft.VisualBasic.FileIO.SpecialDirectories.GetDirectoryPath(String Directory, String DirectoryNameResID)
   at Microsoft.VisualBasic.FileIO.SpecialDirectories.get_MyDocuments()
   at Microsoft.VisualBasic.MyServices.SpecialDirectoriesProxy.get_MyDocuments()
   at StandAloneDMSHackWizard.frmStartupWizard.PopulateDeviceList()
   at StandAloneDMSHackWizard.frmStartupWizard.frmStartupWizard_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.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.3634 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
StandAloneDMSHackWizard
    Assembly Version: 2.14.0.0
    Win32 Version: 0.0.2.14
    CodeBase: file:///C:/Program%20Files/PhatHack/PhatHack%20DMS%20Tools/StandAloneDMSHackWizard.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
    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.3634 (GDR.050727-3600)
    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.3637 (GDR.050727-3600)
    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.3639 (GDR.050727-3600)
    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.3053 (netfxsp.050727-3000)
    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.3053 (netfxsp.050727-3000)
    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.3082 (QFE.050727-3000)
    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
----------------------------------------
VorTechS.DMSTools
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Program%20Files/PhatHack/PhatHack%20DMS%20Tools/VorTechS.DMSTools.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
----------------------------------------
UsbEject
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PhatHack/PhatHack%20DMS%20Tools/UsbEject.DLL
----------------------------------------
PhatDriveSnapshot
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PhatHack/PhatHack%20DMS%20Tools/PhatDriveSnapshot.DLL
----------------------------------------
Bass.Net
    Assembly Version: 2.4.4.1
    Win32 Version: 2.4.4.1
    CodeBase: file:///C:/Program%20Files/PhatHack/PhatHack%20DMS%20Tools/Bass.Net.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>

So I suspect because the DMS tool 2.15 was written for the newer Window OS's and is looking for the new location of My Documents compared to old location in XP.

Ive found the same error listed in this forum, but see no solution.
So I'm hoping I missed something and someone can point out the solution or maybe there's an easy edit in the software to point the DMS tool 2.15 to the old My Documents.

My other direction is to build a newer 32bit Windows VM, but I would love to keep the tools in the trusty XP.

Thanks



Offline bolopez

  • Getting the hang of things.
  • **
  • Posts: 61
I'm not at home now so I can't look at my configuration, but I can tell you it's been working in Windows 7 and 10 64 bits without any problem. I remember there were some problems with the firmware repository not being online, but that was solved.

As for the "My Documents" location, I'm not sure (not a programmer), but I think that the "get_MyDocuments()" function should get your "My Documents" directory if it's available in any Windows version. Perhaps your "My Documents" folder is not available in your XP machine, maybe pointing to a network drive or something like that?

I don't know if Stuart (the writer of DMSTools and PhatHack Media Manager) is still around. His website (phatnoise.us) does not seem to work, but I'll search at home if I have a newer version of DMStools.

On the other hand, I found that transfering files from an XP VM is much much slower than from Windows 7 or 10, but I'm using PhatNoise Media Manager (some problems with languages...) so YMMV.

Regards.

Offline sticman

  • Newbie
  • Posts: 2
Thanks for the reply. I spent the time to find out that the same error occurs in my Win 7 XP mode and Win 10 Oracle XP vm. From research there might be a reg hack since I don't see anything restricting access to the my documents in both VM's. I have since moved on (ended up with new install disks for windows) and realized my main problem is the USB negotiation with the usb 2.0 cradle on the Host machine with the two host OS's. I built two new Win 7 vm's in Oracle VirtualBox (32bit Pro using PII3X and 64bit Home using ICH9 simulated chip-sets and Usb 2.0 setting) The 32bit has no updates and the 64bit is completely updated. Both vm's mount the cradle with out issue and DMS tool 2.15 formats and creates the drive like expected first try. (no restart needed either) (tested in both vm's) I don't know what VitualBox does with the USB negotiation on the Host USB ports but it works. For me the Vm's all transfer files in a decent time that I would expect with USB2.0.

In my reading I did come across information that suggests that Windows and some USB hubs will not set the speed or negotiate properly if there are other usb devices already using ports on the hub, plus the age / generation of the device comes into play. This would explain to me why I've had detection / mounting problems with my host OS's. I don't have any on board USB hubs that I can completely unplug every device to test (too many on board USB devices and of course keyboard and mouse). One thought is to try and find a good old school external USB 2.0 only hub and see if it works as a bridge to get the cradle to work the Host Os's.

I know this post was originally centered around XP, but I though I share the solution of my direction change in the hopes it helps someone.