Exception after moving ProgramData (1 Viewer)

josjojo

New Member
October 2, 2012
1
0
Home Country
Netherlands Netherlands
Because the ProgramData folder of MediaPortal was very big, I robocopied the files from C:\ProgramData\Team MediaPortal to D:\ProgramData\Team MediaPortal (with file permissions copied over). Thereafter I made a symbolic link (Directory Junction) from the folder on C to the folder on D. Now when I startup MediaPortal it hangs at the full screen loadingscreen.

I opened MediaPortal with the Watchdog. In the MediaPortal.log file there was the following exception (description is in Dutch):
Code:
2012-12-14 11:12:37.401145 [Info.][MPMain(1)]: Exception  :System.UnauthorizedAccessException: Toegang tot het pad C:\ProgramData\Team MediaPortal\MediaPortal\IncompatiblePlugins.xml is geweigerd.
  bij System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  bij 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)
  bij System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  bij System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding)
  bij MediaPortal.GUI.Library.PluginManager.Incompatibilities.Save()
  bij MediaPortal.GUI.Library.PluginManager.Start()
  bij MediaPortalApp.OnStartup()
  bij MediaPortal.D3DApp.D3DApp_Load(Object sender, EventArgs e)
  bij System.Windows.Forms.Form.OnLoad(EventArgs e)
  bij System.Windows.Forms.Form.OnCreateControl()
  bij System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
  bij System.Windows.Forms.Control.CreateControl()
  bij System.Windows.Forms.Control.WmShowWindow(Message& m)
  bij System.Windows.Forms.Control.WndProc(Message& m)
  bij System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  bij System.Windows.Forms.ContainerControl.WndProc(Message& m)
  bij System.Windows.Forms.Form.WmShowWindow(Message& m)
  bij System.Windows.Forms.Form.WndProc(Message& m)
  bij MediaPortalApp.WndProc(Message& msg)

When I start MediaPortal as Administrator it runs normal.

What's happening here? How can I start MediaPortal as a normal user again?
 

Users who are viewing this thread

Top Bottom