Clear Smart Card

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
TheDreamer
Posts: 685
Joined: Sun Dec 28, 2008 9:08 am
Location: Manhattan, KS
Contact:

Clear Smart Card

Post by TheDreamer » Sat Apr 25, 2009 3:28 pm

So, I got a hold of a used Remstar Pro....it had been sitting in a guy's closet for the last 3 years...he tried it for a month and gave up on it.

I want to clear the smart card of his usage, but when I try to use the MyCPAP tool v1.06...I get this exception:

Code: Select all

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

************** Exception Text **************
PCRM.SmartCard.PcSc.SCardException: Error in the application.
   at PCRM.SmartCard.PcSc.SCardException.RaiseWin32ResponseCode(UInt32 rc)
   at PCRM.SmartCard.PcSc.SCardComm.Transmit(Byte[] vbSendBuffer, Byte[]& vbRecvBuffer)
   at SmartCardControl.SmartCardControlForm.m_aFormatButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.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.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.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SmartCardControl
    Assembly Version: 1.0.0.6
    Win32 Version: 1.0.0.6
    CodeBase: file:///C:/Program%20Files/MyCPAP/CardUtility.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    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.3053 (netfxsp.050727-3000)
    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.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.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
----------------------------------------

************** 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.
I'm Windows XP Pro with SP2.

I peaked at the usage in EncoreViewer....the pressure is all over the place, wonder if the original owner had it prescribed or was just experimenting on himself...or what.

Of course, I'm not sure what I'm going to do with the machine.....

The Dreamer.

_________________
Humidifier: HC150 Heated Humidifier With Hose, 2 Chambers and Stand
Additional Comments: 95% Pressure=7.5cm - Max Pressure 15cm - HoZer/Hose Cover/Repti-Cord - M Series APAP/AFLEX w/Humidifier & Hose Lift for travel
You may be a dreamer, but I'm The Dreamer, the definite article you might say!

73 de W0LKC

User avatar
Bearcat42
Posts: 285
Joined: Wed Mar 11, 2009 1:45 pm
Location: Arkansas
Contact:

Re: Clear Smart Card

Post by Bearcat42 » Sat Apr 25, 2009 3:32 pm

I am wondering how you do those screenshots.