MP 1.8 compatability (1 Viewer)

Stephen Lee

Portal Member
February 18, 2014
9
0
47
Sydney, Australia
Australia Australia
This hasn't worked for me in ages despite me installing the new version(s).

The config app crashes on startup - I cancel and it opens but crashes as soon as I try to scan a folder.

This is what comes up:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TypeInitializationException: The type initializer for 'mvCentral.Utils.GUIUtils' threw an exception. ---> System.TypeInitializationException: The type initializer for 'MediaPortal.GUI.Library.GUIGraphicsContext' threw an exception. ---> System.IO.FileLoadException: Mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
at MediaPortal.GUI.Library.GUIGraphicsContext..cctor()
--- End of inner exception stack trace ---
at MediaPortal.GUI.Library.GUIGraphicsContext.get_Skin()
at mvCentral.Utils.GUIUtils..cctor()
--- End of inner exception stack trace ---
at mvCentral.Utils.GUIUtils.SetProperty(String property, String value, Boolean log)
at mvCentral.Localizations.Localization.TranslateSkin()
at mvCentral.mvCentralCore.InitLocalization()
at mvCentral.mvCentralCore.Initialize(RichTextBox rtb)
at mvCentral.ConfigForm.ConfigForm_Load(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: 4.0.0.0
Win32 Version: 4.0.30319.34014 built by: FX45W81RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
MpeCore
Assembly Version: 1.9.0.0
Win32 Version: 1.9.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/MpeCore.DLL
----------------------------------------
Core
Assembly Version: 1.9.0.0
Win32 Version: 1.9.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Core.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
mvCentral
Assembly Version: 1.0.7.458
Win32 Version: 1.0.7.458
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Plugins/windows/mvCentral.DLL
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
DirectShowLib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/DirectShowLib.DLL
----------------------------------------
Common.GUIPlugins
Assembly Version: 1.9.0.0
Win32 Version: 1.9.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Plugins/windows/Common.GUIPlugins.DLL
----------------------------------------
Dialogs
Assembly Version: 1.9.0.0
Win32 Version: 1.9.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Plugins/windows/Dialogs.DLL
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34212 built by: FX452RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Messaging
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Messaging/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Messaging.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Utils
Assembly Version: 1.9.0.0
Win32 Version: 1.9.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Utils.DLL
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Common.Utils
Assembly Version: 1.9.0.0
Win32 Version: 1.9.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Common.Utils.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Databases
Assembly Version: 1.9.0.0
Win32 Version: 1.9.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Databases.DLL
----------------------------------------
log4net
Assembly Version: 1.2.11.0
Win32 Version: 1.2.11.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/log4net.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Design
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.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.
 

Stephen Lee

Portal Member
February 18, 2014
9
0
47
Sydney, Australia
Australia Australia
Thank you Trevor - I still have the same issue unfortunately.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TypeInitializationException: The type initializer for 'mvCentral.Utils.GUIUtils' threw an exception. ---> System.TypeInitializationException: The type initializer for 'MediaPortal.GUI.Library.GUIGraphicsContext' threw an exception. ---> System.IO.FileLoadException: Mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
at MediaPortal.GUI.Library.GUIGraphicsContext..cctor()
--- End of inner exception stack trace ---
at MediaPortal.GUI.Library.GUIGraphicsContext.get_Skin()
at mvCentral.Utils.GUIUtils..cctor()
--- End of inner exception stack trace ---
at mvCentral.Utils.GUIUtils.SetProperty(String property, String value, Boolean log)
at mvCentral.Localizations.Localization.TranslateSkin()
at mvCentral.mvCentralCore.InitLocalization()
at mvCentral.mvCentralCore.Initialize(RichTextBox rtb)
at mvCentral.ConfigForm.ConfigForm_Load(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: 4.0.0.0
Win32 Version: 4.0.30319.34014 built by: FX45W81RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
MpeCore
Assembly Version: 1.9.0.0
Win32 Version: 1.9.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/MpeCore.DLL
----------------------------------------
Core
Assembly Version: 1.9.0.0
Win32 Version: 1.9.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Core.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
mvCentral
Assembly Version: 1.0.7.459
Win32 Version: 1.0.7.459
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Plugins/windows/mvCentral.DLL
----------------------------------------
Common.GUIPlugins
Assembly Version: 1.9.0.0
Win32 Version: 1.9.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Plugins/windows/Common.GUIPlugins.DLL
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
DirectShowLib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/DirectShowLib.DLL
----------------------------------------
Dialogs
Assembly Version: 1.9.0.0
Win32 Version: 1.9.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Plugins/windows/Dialogs.DLL
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34212 built by: FX452RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Messaging
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Messaging/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Messaging.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Utils
Assembly Version: 1.9.0.0
Win32 Version: 1.9.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Utils.DLL
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Common.Utils
Assembly Version: 1.9.0.0
Win32 Version: 1.9.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Common.Utils.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Databases
Assembly Version: 1.9.0.0
Win32 Version: 1.9.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Databases.DLL
----------------------------------------
log4net
Assembly Version: 1.2.11.0
Win32 Version: 1.2.11.0
CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/log4net.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Design
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.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.
 

Stephen Lee

Portal Member
February 18, 2014
9
0
47
Sydney, Australia
Australia Australia
Thanks for your help with this Trevor - much appreciated. Unfortunately no change - still throwing exceptions at me!

I'm using Windows 8.1 Pro, MP 1.9.0 and your latest build.

UPDATE/SOLVED - as I was writing this I tried something else. I usually access the config by going into MP Extension Manager, selecting MVCentral from the list of installed plugins and clicking the config button. Crashes every time. However, I went into the main MP Configuration program, selected Plugins on the main menu, highlighted MVC and clicked config - hey presto, it works! I'd forgotton you could access installed plugins that way too.

Happy times! :) Thank you Trevor.
 

trevor

Portal Pro
October 17, 2006
1,600
950
Chelmsford
United Kingdom United Kingdom
Hi Steve,

That makes sense, I can now recreate the the error and I will look into it - had never even tried running the config from with the extension installer.

I will look into what the issue is, thanks for bringing to my attention, but at least you can now run the plugin .

Other commitments prevent me from actively working on the plugin but I will keep it up to date with MP releases and try and fix any major problems.

Thnaks
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

OP Similar threads Forum Replies Date
ajs MP2Web - MP1 compatibility MediaPortal 1 20
hwahrmann [Question] Compatibility Manager for Pugins? MediaPortal 1 7
Similar threads


Top Bottom