.Net Error On Second Recording (1 Viewer)

crazyfool

Portal Pro
October 8, 2008
237
4
TV-Server Version: 1.0
MediaPortal Version: 1.0
MediaPortal Skin: Blue3Wide
Windows Version: XP Pro SP3

ok i reinstalled windows on monday because i couldn't get recording working reliably with mp. Up until today i can get it to wake perfectly for the first recording and then mediaportal would not wake up for the second. I installed the usbhack to fix this as it seemed the reason was mp would hang. Now mediaportal wakes up for the first recording, records perfectly, wakes up for the second recording and produces this .net error.
Code:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception: Invalid window handle
   at System.Windows.Forms.Form.UpdateLayered()
   at System.Windows.Forms.Form.OnHandleCreated(EventArgs e)
   at System.Windows.Forms.Control.WmCreate(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.WmCreate(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.42 (RTM.050727-4200)
    CodeBase: file:///E:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MediaPortal
    Assembly Version: 1.0.0.29833
    Win32 Version: 1.0.0.21149
    CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/mediaportal.exe
----------------------------------------
Core
    Assembly Version: 1.0.0.29788
    Win32 Version: 1.0.0.21149
    CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/Core.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///E:/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.42 (RTM.050727-4200)
    CodeBase: file:///E:/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.42 (RTM.050727-4200)
    CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.DirectX.Direct3D
    Assembly Version: 1.0.2902.0
    Win32 Version: 9.05.132.0000
    CodeBase: file:///E:/WINDOWS/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
----------------------------------------
Utils
    Assembly Version: 2.2.6.29782
    Win32 Version: 2.2.6.21149
    CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/Utils.DLL
----------------------------------------
System.ServiceProcess
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
RemotePlugins
    Assembly Version: 1.0.0.29811
    Win32 Version: 1.0.0.21149
    CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/RemotePlugins.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
MediaPortal.Support
    Assembly Version: 1.0.0.29781
    Win32 Version: 1.0.0.21149
    CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/MediaPortal.Support.DLL
----------------------------------------
TVCapture
    Assembly Version: 1.0.0.29806
    Win32 Version: 1.0.0.21149
    CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/TVCapture.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.
Anybody have any idea how to solve this?
Btw... the mediaportal logs dont show any errors... it gets up to "Main: Checking skin version" and after that there are no entries so i'm guessing this is the point where this error occurs...:s
 

Users who are viewing this thread

Top Bottom