.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

Similar threads

I just copied over a backup and now it's working. It must have been some sort of corruption of important files. Thanks! Emph
I just copied over a backup and now it's working. It must have been some sort of corruption of important files. Thanks! Emph
I was using MediaPortal just last night with no issues at all, but since today, it doesn't autostart, if I try to run it or...
Replies
2
Views
297
I ended up doing a clone disk recovery. I had just done a backup, and I figured I might as well test it -- it's been a while since I've gone through the recovery process. All good. :) I had the logs, but lost them in the recovery. Sorry. :( I believe the issue was that I had removed Windows Media Player from Windows Features. Still...
I ended up doing a clone disk recovery. I had just done a backup, and I figured I might as well test it -- it's been a while since...
So I tried upgrading from 1.27 to 1.28. I upgrade frequently without issues. I did a simple upgrade, so I did not delete my user...
Replies
2
Views
257
Oh ok Hope you will feel better soon (not only for MP ofc) good luck From Tapatalk
Oh ok Hope you will feel better soon (not only for MP ofc) good luck From Tapatalk
System.NullReferenceException Error when opening or closing Mediaportal configuration AND 'Invalid File Handle 32' during...
Replies
7
Views
2K
hi. I have similar problem. I managed to scan dvb-t and -s programs,but for some reason dvb-s freezes after several minutes of use and during this problem i can not use mp.same problem with dvb-t. in other hand,when i am using preview in mp tv settings and when i am usin hauppauge software for live tv,there is no problems at all. i...
hi. I have similar problem. I managed to scan dvb-t and -s programs,but for some reason dvb-s freezes after several minutes of use...
Hi. I recently reinstalled my BlackGold TV card, but the DVBS scan returns only no signal? The DVBT scan works fine. I tried to...
Replies
3
Views
5K
Sorry for your trouble. I'm not able to help with the iMon stuff...
Sorry for your trouble. I'm not able to help with the iMon stuff...
Hmmm, unfortunately, another problem after my complete reinstall (incl. new Windows intallation): Since yesterday the config...
Replies
5
Views
1K
Top Bottom