.net error with MP 1.6 final and windows 8.1 (1 Viewer)

pur_berger

Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,678
    312
    54
    Vienna
    Home Country
    Austria Austria
    Suddenly starting to get this error when shutt8ng down MP:

    Code:
    Anwendung: MediaPortal.exe
    Frameworkversion: v4.0.30319
    Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
    Ausnahmeinformationen: System.UnauthorizedAccessException
    Stapel:
      bei System.IO.__Error.WinIOError(Int32, System.String)
      bei System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean, Boolean)
      bei System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, Int32, System.IO.FileOptions, System.String, Boolean, Boolean, Boolean)
      bei System.IO.StreamWriter.CreateFile(System.String, Boolean, Boolean)
      bei System.IO.StreamWriter..ctor(System.String, Boolean, System.Text.Encoding, Int32, Boolean)
      bei System.IO.StreamWriter..ctor(System.String, Boolean)
      bei MediaPortal.Profile.XmlSettingsProvider.Save()
      bei MediaPortal.Profile.CacheSettingsProvider.Save()
      bei MediaPortal.Profile.Settings.SaveCache()
      bei MediaPortalApp.Main(System.String[])


    Code:
    Name der fehlerhaften Anwendung: MediaPortal.exe, Version: 1.6.0.0, Zeitstempel: 0x52c9c29e
    Name des fehlerhaften Moduls: KERNELBASE.dll, Version: 6.3.9600.16408, Zeitstempel: 0x523d4548
    Ausnahmecode: 0xe0434352
    Fehleroffset: 0x00012eec
    ID des fehlerhaften Prozesses: 0x17f8
    Startzeit der fehlerhaften Anwendung: 0x01cf1153394b6e8b
    Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.exe
    Pfad des fehlerhaften Moduls: C:\WINDOWS\SYSTEM32\KERNELBASE.dll
    Berichtskennung: 7662c7fd-7d47-11e3-beef-f46d04d6808e
    Vollständiger Name des fehlerhaften Pakets:
    Anwendungs-ID, die relativ zum fehlerhaften Paket ist:



    Code:
    Problemsignatur:
      Problemereignisname:   CLR20r3
      Problemsignatur 01:   MediaPortal.exe
      Problemsignatur 02:   1.6.0.0
      Problemsignatur 03:   52c9c29e
      Problemsignatur 04:   mscorlib
      Problemsignatur 05:   4.0.30319.34003
      Problemsignatur 06:   522ebe04
      Problemsignatur 07:   44f4
      Problemsignatur 08:   13c
      Problemsignatur 09:   System.UnauthorizedAccess
      Betriebsystemversion:   6.3.9600.2.0.0.256.48
      Gebietsschema-ID:   1031
      Zusatzinformation 1:   5861
      Zusatzinformation 2:   5861822e1919d7c014bbb064c64908b2
      Zusatzinformation 3:   01d7
      Zusatzinformation 4:   01d7340064827245f2249cd1f1a7c264


    And this in the MP Error Log:

    Code:
    [2014-01-14 20:24:25,173] [Error  ] [MPMain   ] [ERROR] - Exception while attempting to read upgrade xml file
    
    Die Eingabezeichenfolge hat das falsche Format.
    [2014-01-14 20:24:42,043] [Error  ] [MPMain   ] [ERROR] - [StartGuiWindow] [ClickfinderProgramGuideOverlayMovies]: exception err:The columns idTVMovieProgram, needsUpdate, Year in table TVMovieProgram do not exist. stack:   bei Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
       bei Microsoft.VisualBasic.CompilerServices.NewLateBinding.ObjectLateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
       bei Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
       bei ClickfinderProgramGuide.ClickfinderProgramGuide.StartGuiWindow.ClickfinderProgramGuideOverlayMovies()
    [2014-01-14 20:24:57,002] [Error  ] [MPMain   ] [ERROR] - MiniDisplay:Error while loading driver C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\process\LCDDrivers\LCD2USB.dll: Die DLL "C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\process\LCDDrivers\LCD2USB.dll": Das angegebene Modul wurde nicht gefunden. (Ausnahme von HRESULT: 0x8007007E) kann nicht geladen werden.
    [2014-01-14 20:26:07,425] [Log    ] [MPMain   ] [ERROR] - Exception: System.UnauthorizedAccessException: Der Zugriff auf den Pfad "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.xml" wurde verweigert.
       bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       bei System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
       bei System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
       bei System.IO.StreamWriter..ctor(String path, Boolean append)
       bei MediaPortal.Profile.XmlSettingsProvider.Save()
       bei MediaPortal.Profile.CacheSettingsProvider.Save()
       bei MediaPortal.Profile.Settings.SaveCache()
       bei IMDb.PluginSettings.SaveSettings()
       bei IMDb.IMDb.DeInit()
       bei MediaPortal.GUI.Library.GUIWindowManager.<Clear>b__9(GUIWindow window)
       bei MediaPortal.GUI.Library.GUIWindowManager.LockAndDoOnAllRegisteredWindows(Action`1 toDo)
       bei MediaPortal.GUI.Library.GUIWindowManager.Clear()
       bei MediaPortalApp.OnExit()
       bei MediaPortalApp.Main(String[] args)  Message: Der Zugriff auf den Pfad "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.xml" wurde verweigert.  Site   : Void WinIOError(Int32, System.String)  Source : mscorlib  Stack Trace:     bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       bei System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
       bei System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
       bei System.IO.StreamWriter..ctor(String path, Boolean append)
       bei MediaPortal.Profile.XmlSettingsProvider.Save()
       bei MediaPortal.Profile.CacheSettingsProvider.Save()
       bei MediaPortal.Profile.Settings.SaveCache()
       bei IMDb.PluginSettings.SaveSettings()
       bei IMDb.IMDb.DeInit()
       bei MediaPortal.GUI.Library.GUIWindowManager.<Clear>b__9(GUIWindow window)
       bei MediaPortal.GUI.Library.GUIWindowManager.LockAndDoOnAllRegisteredWindows(Action`1 toDo)
       bei MediaPortal.GUI.Library.GUIWindowManager.Clear()
       bei MediaPortalApp.OnExit()
       bei MediaPortalApp.Main(String[] args)
    [2014-01-14 20:26:07,434] [Error  ] [MPMain   ] [ERROR] - MediaPortal stopped due to an exception Der Zugriff auf den Pfad "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.xml" wurde verweigert. mscorlib    bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       bei System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
       bei System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
       bei System.IO.StreamWriter..ctor(String path, Boolean append)
       bei MediaPortal.Profile.XmlSettingsProvider.Save()
       bei MediaPortal.Profile.CacheSettingsProvider.Save()
       bei MediaPortal.Profile.Settings.SaveCache()
       bei IMDb.PluginSettings.SaveSettings()
       bei IMDb.IMDb.DeInit()
       bei MediaPortal.GUI.Library.GUIWindowManager.<Clear>b__9(GUIWindow window)
       bei MediaPortal.GUI.Library.GUIWindowManager.LockAndDoOnAllRegisteredWindows(Action`1 toDo)
       bei MediaPortal.GUI.Library.GUIWindowManager.Clear()
       bei MediaPortalApp.OnExit()
       bei MediaPortalApp.Main(String[] args)
    [2014-01-14 20:26:07,452] [Error  ] [MPMain   ] [ERROR] - MediaPortal: Unhandled exception occured
    [2014-01-14 20:26:07,457] [Log    ] [MPMain   ] [ERROR] - Exception: System.UnauthorizedAccessException: Der Zugriff auf den Pfad "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.xml" wurde verweigert.
       bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       bei System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
       bei System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
       bei System.IO.StreamWriter..ctor(String path, Boolean append)
       bei MediaPortal.Profile.XmlSettingsProvider.Save()
       bei MediaPortal.Profile.CacheSettingsProvider.Save()
       bei MediaPortal.Profile.Settings.SaveCache()
       bei MediaPortalApp.Main(String[] args)  Message: Der Zugriff auf den Pfad "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.xml" wurde verweigert.  Site   : Void WinIOError(Int32, System.String)  Source : mscorlib  Stack Trace:     bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       bei System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
       bei System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
       bei System.IO.StreamWriter..ctor(String path, Boolean append)
       bei MediaPortal.Profile.XmlSettingsProvider.Save()
       bei MediaPortal.Profile.CacheSettingsProvider.Save()
       bei MediaPortal.Profile.Settings.SaveCache()
       bei MediaPortalApp.Main(String[] args)


    Does anyone else have encountered this problem?
     
    Last edited:

    pur_berger

    Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,678
    312
    54
    Vienna
    Home Country
    Austria Austria
    OK - found it - for whatever reason I needed extend the right of the local user on teh Team-Mediaportal Installfolder - it was only having the rights for "This Folder" and not below.
     

    pur_berger

    Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,678
    312
    54
    Vienna
    Home Country
    Austria Austria
    for me - yes - no more error when closing MP. This seems to have caused it:
    ediaPortalApp.Main(String[] args) Message: Der Zugriff auf den Pfad "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.xml" wurde verweigert. Site : Void WinIOError(Int32, System.String) Source : mscorlib Stack Trace: bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

    But it did work before a system restore was doen so there is a good chanche that this "restore" broke the rightstructure - anyway - the local user now has full rights over the whole Folderstructure of MP and no error anymore
     

    pur_berger

    Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,678
    312
    54
    Vienna
    Home Country
    Austria Austria
    OK - just for info - did a complete reinstall of teh machine with 8.1 and ran into exact teh same error again ... - some solution.
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,539
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    MediaPortal.xml should be in C:\ProgramData\Team MediaPortal\MediaPortal for Windows Vista and later (because it has to be updated from MP app, and writing to Program Files requires elevated permissions which apps don't normally have - it's a UAC thing).

    I've seen other reports of this (occasionally), but no idea why it happens....
     

    pur_berger

    Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,678
    312
    54
    Vienna
    Home Country
    Austria Austria
    MediaPortal.xml should be in C:\ProgramData\Team MediaPortal\MediaPortal for Windows Vista and later (because it has to be updated from MP app, and writing to Program Files requires elevated permissions which apps don't normally have - it's a UAC thing).

    I've seen other reports of this (occasionally), but no idea why it happens....

    So it should be there - but it is not - you mean it needs to be changed in Code itself?
     

    mascot

    Portal Pro
    November 20, 2007
    182
    6
    Home Country
    Sweden Sweden
    I just did a hole bunch of windows 8.1 updates and now mediaportal 1.6.0 final won't start... crashes during the starting plugins phase... any obvious solution?
     

    mascot

    Portal Pro
    November 20, 2007
    182
    6
    Home Country
    Sweden Sweden
    How do I get the logs? Mediaportal don't collect the logs either even though I've chosen that function in config
     

    Users who are viewing this thread

    Top Bottom