Unhandled Exception in Mediaportal configuration (1 Viewer)


Portal Member
December 13, 2008

I hope you might be able to help.

I've installed v1.0.0.0 of Mediaportal on my PC running XP. Upgraded from RC4 which was working fine.

However, in the Mediaportal - configuration, I get the following come up when I click on videos, music or pictures:

unhandled exception has occured in your application. If you click continue the application will ignore this error and attempt to continue. If you click quit the application will close immediately.

InvalidArgument=Value of -1 is not valid for index.
Parameter name: index.

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_StateImageIn dex()
at System.Windows.Forms.ListViewItem.set_Checked(Bool ean value)
at MediaPortal.Configuration.Sections.BaseShares.shar esListView_ItemCheck(Object sender, ItemCheckEventArgs e)
at System.Windows.Forms.ListView.OnItemCheck(ItemChec kEventArgs ice)
at System.Windows.Forms.ListView.WmReflectNotify(Mess age& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Loaded assemblies section attached.

Can anyone help?


  • Debug.txt
    30.6 KB


Retired Team Member
  • Premium Supporter
  • December 17, 2006
    Home Country
    South Africa South Africa
    Hi there :)

    Try disabling any 3rd party plugins. Maybe there is something not compatible that needs upgrading.

    Please post your MP logs. Maybe someone can see something there.

    Users who are viewing this thread

    Top Bottom