MS .NET Framework Problem

GX and Typhoon hardware, this includes, displays, cables and accessory cards.

Moderator: Mods

Post Reply
nakered
LCD?
Posts: 6
Joined: Sat Jan 10, 2009 12:26 am

MS .NET Framework Problem

Post by nakered »

Hello all!

I have looked around previous topics, but am unable to find a solution to my GX problem.

I've have the latest GX DriverCore firmware (GX 240x64 FW 2.0 Rev.2235) and am running MS Vista Home Premium.
The GX displays the demo screens OK, (time, CPU load etc.) and it scrolls through the colours whilst doing this also (all lovely, so far)

I can use the included remote control (green button) to access my Media Center, and all of the other buttons work great too (My recorded TV etc)

But.......

When I close Media Center (using the X on the top right hand side)
I get a error message on my system.

"Microsoft .Net Framework"
Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue.
Could not load layout 'mediacenter'
and then it lists a lot of info regarding the fault.

The GX screen is now blank, and the only way to display the demo screen again is to stop, then start the DriverCore service manually.

I am running version 2.0 of the .net framework BTW

Can anybody shed any light on this issue, as I have the GX since Xmas, and it's starting to bother me now!
Cheers :)

Ray
Matrix Orbital
Matrix Orbital
Posts: 742
Joined: Thu Dec 13, 2001 4:00 pm
Location: Earth.... I think..
Contact:

Post by Ray »

Is there any way you could get me the complete exception?

nakered
LCD?
Posts: 6
Joined: Sat Jan 10, 2009 12:26 am

Post by nakered »

Ray wrote:Is there any way you could get me the complete exception?
?
I'm assuming the window with the complete error description?
I'll try to, but since i've posted up this problem, I have reinstalled Vista, and have yet to get the courage to plug the GX back in (let alone install the drivers!)
But I will, do, and i'll keep you informed - cheers!


:)

cammy9r
LCD!
Posts: 11
Joined: Sun Aug 31, 2008 5:55 am

Post by cammy9r »

hi, i have had a similar problem to do with lcdinfo. The error report is as follows. I'm on .net3.5 sp1

************** Exception Text **************
System.ApplicationException: Could not load layout 'mediacenter' ---> System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.NetworkStream'.
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at LibGX2.SlipStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at LibGX2.GXProtocol.WritePacket(GXPacket packet)
at LibGX2.GxProtocolManager.WritePacket(GXPacket packet)
at LibDriverCoreClient.DriverCoreClient.SendSyncMessage(GXPacket message)
at LibDriverCoreClient.DriverCoreClient.GetDefaultBacklight(Int32 displayID)
at LibDriverCoreClient.DCCSession.GetDefaultBackLight(Byte& red, Byte& green, Byte& blue)
at LcdInfo.MceDisplay.RestoreBacklight()
at LayoutEngine.LayoutManager.SetBackColor(Layout layout)
at LayoutEngine.LayoutManager.SetLayout(Layout newLayout)
--- End of inner exception stack trace ---
at LayoutEngine.LayoutManager.SetLayout(Layout newLayout)
at LayoutEngine.LayoutManager.set_Layout(Layout value)
at LcdInfo.MceStdLayoutManager.OnMediaCenterStarted(Object sender, EventArgs e)
at Microsoft.MediaCenter.Samples.MediaState.SessionState.PropertyInitialized(UInt32 flag)
at Microsoft.MediaCenter.Samples.MediaState.GlobalSessionState.SetProperty(MediaStatusPropertyTag tag, ValueVariant& val)
at Microsoft.MediaCenter.Samples.MediaState.EventSink.ReadMMF()
at Microsoft.MediaCenter.Samples.MediaState.EventSink.TimerOnTick(Object obj, EventArgs eArgs)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.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.3074 (QFE.050727-3000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
LcdInfo
Assembly Version: 1.0.0.97
Win32 Version: 1.0.0.97
CodeBase: file:///C:/Program%20Files/Matrix%20Orbital%20DriverCore/LcdInfo.exe
----------------------------------------
LibDriverCoreClient
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Matrix%20Orbital%20DriverCore/LibDriverCoreClient.DLL
----------------------------------------
log4net
Assembly Version: 1.2.10.0
Win32 Version: 1.2.10.0
CodeBase: file:///C:/Program%20Files/Matrix%20Orbital%20DriverCore/log4net.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
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.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3074 (QFE.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
LcdInfoConfiguration
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Matrix%20Orbital%20DriverCore/LcdInfoConfiguration.DLL
----------------------------------------
MediaState
Assembly Version: 6.0.6000.0
Win32 Version: 6.0.5600.16384 (vista_rc1.060829-2230)
CodeBase: file:///C:/Program%20Files/Matrix%20Orbital%20DriverCore/MediaState.DLL
----------------------------------------
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.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
----------------------------------------
MemMapFile
Assembly Version: 6.0.6000.0
Win32 Version: 6.0.5600.16384 (vista_rc1.060829-2230)
CodeBase: file:///C:/Program%20Files/Matrix%20Orbital%20DriverCore/MemMapFile.DLL
----------------------------------------
LibGX2
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Matrix%20Orbital%20DriverCore/LibGX2.DLL
----------------------------------------
LayoutEngine
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Matrix%20Orbital%20DriverCore/LayoutEngine.DLL
----------------------------------------
FastBitmap
Assembly Version: 2.1.0.805
Win32 Version: 2.1.0.805
CodeBase: file:///C:/Program%20Files/Matrix%20Orbital%20DriverCore/FastBitmap.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."

Ray
Matrix Orbital
Matrix Orbital
Posts: 742
Joined: Thu Dec 13, 2001 4:00 pm
Location: Earth.... I think..
Contact:

Post by Ray »

Hmm weird, does this happen once in a while or prettymuch as soon as lcdinfo starts every time?

cammy9r
LCD!
Posts: 11
Joined: Sun Aug 31, 2008 5:55 am

Post by cammy9r »

I'm not sure it is when lcdinfo starts (not sure of the process and how it works or wether i need it)
When i open media centre all is good, but when i close media centre i then see the error message. Seems like the message appears when i open media centre but it is in behind because media centre opens in a full window.
It is not a constant issue but will occur about half the number of times i open media centre. It does not seem to cause any performance issues that i have noticed.

Ray
Matrix Orbital
Matrix Orbital
Posts: 742
Joined: Thu Dec 13, 2001 4:00 pm
Location: Earth.... I think..
Contact:

Post by Ray »

So it gets triggerd by openening and/or closing Media center? I'll see if i can reproduce that.

nakered
LCD?
Posts: 6
Joined: Sat Jan 10, 2009 12:26 am

Post by nakered »

cammy9r wrote:I'm not sure it is when lcdinfo starts (not sure of the process and how it works or wether i need it)
When i open media centre all is good, but when i close media centre i then see the error message. Seems like the message appears when i open media centre but it is in behind because media centre opens in a full window.
It is not a constant issue but will occur about half the number of times i open media centre. It does not seem to cause any performance issues that i have noticed.
Phew! thanx cammy9r, looks like you have done the dirty work for me. Thats the exact same problem I had. But since re-installing Vista (Media Ed.) it's been ok, although I don't run LCD Studio (don't really understand the software well enough - not enough examples to try) :(

cammy9r
LCD!
Posts: 11
Joined: Sun Aug 31, 2008 5:55 am

Post by cammy9r »

I have disabled lcdinfo as i do not use any of the default MO programs. I only use what i set up on lcd studio. This seems to have sorted out the .net errors.
Not really a fix, but no pop up errors from .net.

Edlo
LCD Geek
Posts: 42
Joined: Mon Feb 18, 2008 11:03 am
Location: Wales UK

Post by Edlo »

What version of driverCore are you running ??

I had the same problem (I run LcdInfo with screens I have re-designed to suit my requirements)

I have upgraded driverore a few times, unfortunately I cannot remember at what version the .NET problem was resolved.

I am now running Version 99 of the driverCore without any .NET stoppages but It does sometimes loose focus of LcdInfo MCE screens (TV channel for example) and return to the Windows default screen, at least there are no more stoppages.

Hope this helps someone

Post Reply