[fixed] MP2 crash if installed on Program Files directory (1 Viewer)

Smeulf

Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    Hi,

    With UAC enabled, if I install (or copy) MP2 into the Program Files directory, both Client and Server will crash.

    Logs joined, but I was able to make it work by setting full access to the users group on these files/directories :

    Client :
    - app.config file

    Server :
    - app.config file
    - Scripts subfolder

    Any thoughts about that ? In my point of view, there's no reason to access the scripts directory with write access, I don't know about app.config files.

    Cheers.

    Smeulf.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    AW: MP2 crash if installed on Program Files directory

    I could fix the issue by forcing stream access (app.config) to be read-only. I also did some cleanups in Log4NetLogger class.

    Chefkoch:
    can you check if the app.config is included in the installer? After a test install the file was missing.
     

    Smeulf

    Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    Re: AW: MP2 crash if installed on Program Files directory

    I could fix the issue by forcing stream access (app.config) to be read-only. I also did some cleanups in Log4NetLogger class.

    Chefkoch:
    can you check if the app.config is included in the installer? After a test install the file was missing.

    Hi, thanks, works nice.

    Can you do the same for the .SQL files under "Script" directories on MP2-Server ? There are still opened in read/write and can't be acceded on first run.

    Btw, why SQL files ? Why do not store database creation into the MP2-Server exe or one of it's dll ? Speed maybe ? Just wondering ;)

    Cheers.

    Smeulf.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    AW: MP2 crash if installed on Program Files directory

    this I will check next
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    AW: MP2 crash if installed on Program Files directory

    ok, should be fixed as well :)
     

    Users who are viewing this thread

    Top Bottom