System.ArgumentOutOfRangeExceptio (1 Viewer)

mark1234

Portal Member
October 8, 2007
27
0
Mediaportal 1.0 RC3
Windows Vista Home Premium

I just installed the MediaPortal 1.0 RC3 package. Herafter, I went to the Mediaportal
Configuration to make some settings. When I click on Music/Music Folders I immediately
get an error: ArgumentOutOfRangeException.


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

************** Exception Text **************
System.ArgumentOutOfRangeException: InvalidArgument=Value of '-1' is not valid for 'index'.
Parameter name: index
at System.Windows.Forms.ListView.GetItemState(Int32 index, Int32 mask)
at System.Windows.Forms.ListViewItem.get_StateImageIndex()
at System.Windows.Forms.ListViewItem.set_Checked(Boolean value)
at MediaPortal.Configuration.Sections.BaseShares.sharesListView_ItemCheck(Object sender, ItemCheckEventArgs e)
at System.Windows.Forms.ListView.OnItemCheck(ItemCheckEventArgs ice)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.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.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Configuration
Assembly Version: 0.9.3.918
Win32 Version: 0.9.3.20432
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Configuration.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
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.1434 (REDBITS.050727-1400)
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.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Core
Assembly Version: 0.9.3.890
Win32 Version: 0.9.3.20432
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Core.DLL
----------------------------------------
Utils
Assembly Version: 2.2.6.879
Win32 Version: 2.2.6.20432
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Utils.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
BassRegistration
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/BassRegistration.DLL
----------------------------------------
System.ServiceProcess
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
ymd8x_ma
Assembly Version: 2.2.6.879
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.Direct3D.DLL
----------------------------------------
Bass.Net
Assembly Version: 2.3.1.2
Win32 Version: 2.3.1.2
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Bass.Net.DLL
----------------------------------------
Databases
Assembly Version: 0.9.3.894
Win32 Version: 0.9.3.20432
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Databases.DLL
----------------------------------------
RemotePlugins
Assembly Version: 0.9.3.900
Win32 Version: 0.9.3.20432
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/RemotePlugins.DLL
----------------------------------------
DirectShowLib
Assembly Version: 2.0.0.20432
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/DirectShowLib.DLL
----------------------------------------
MPInstaller.Library
Assembly Version: 0.9.3.904
Win32 Version: 0.9.3.20432
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/MPInstaller.Library.DLL
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
CSScriptLibrary
Assembly Version: 1.9.0.0
Win32 Version: 1.9.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/CSScriptLibrary.DLL
----------------------------------------
a52a859d-fb3f-4dd7-bf87-f3bf17bdfb7f
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Users/Mark/AppData/Local/Temp/a52a859d-fb3f-4dd7-bf87-f3bf17bdfb7f.tmp
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
TVCapture
Assembly Version: 0.9.3.897
Win32 Version: 0.9.3.20432
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/TVCapture.DLL
----------------------------------------
TaskScheduler
Assembly Version: 1.1.1007.26951
Win32 Version: 1.1.1007.26951
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/TaskScheduler.DLL
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
fch2fqdk
Assembly Version: 0.9.3.890
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Interop.X10
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Interop.X10.DLL
----------------------------------------
Microsoft.DirectX.DirectInput
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.DirectInput.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.
 

ronilse

Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    Can you attach configuration.log (you can collect all logs with MediaPortal logs collector) to your post?
    Not able to reproduce so that log could give a clue.

    Regards
    Roy
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    Had a look in your logs & do you run some slim configured version of Vista with many services disabled or is your HDD on it's way to be replaced?

    Regards
    Roy
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    just like ronilse said.

    take a look at your eventlogs for applications and system.
    your Vista installation seems to have some serious issues.
     

    mark1234

    Portal Member
    October 8, 2007
    27
    0
    I looked into the logs and see some errors.
    But it doesn't say anything to me.
    I have not disabled services. The only ones I have disabled were the
    vista mediacenter services in order to disable the green button.
     

    mark1234

    Portal Member
    October 8, 2007
    27
    0
    I am a software programmer as well and an ArgumentOutOfRangeException is a programming bug.
    As a programmer, you have to deal with error situations in a nice manner.
     

    Users who are viewing this thread

    Top Bottom