WebMP skin errors if authentication is disabled in mpextended

Discussion in 'MPExtended' started by Wiedmann, January 24, 2014.

  1. Wiedmann

    Wiedmann Portal Pro

    Joined:
    June 22, 2007
    Messages:
    107
    Likes Received:
    12
    Ratings:
    +27 / 3
    Home Country:
    Germany Germany
    Hello,



    some skins I can't use, because I don't see a menu if authentication is disabled in mpextended. If I enable authentication in mpextended the menu is back.
    Please refer to https://forum.team-mediaportal.com/threads/webmp-skin-bootstrap-v5-1-9-aug-2013.117358/page-7#post-1057876 .


    BTW:
    Sometimes I have this in WebMediaPortal.log:
    Code (Text):
    1. 2014-01-22 23:06:38.84000 [(1)] ERROR: EnvironmentChecks: Error while setting permissions
    2. System.UnauthorizedAccessException: Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.
    3.    bei System.Security.AccessControl.Win32.SetSecurityInfo(ResourceType type, String name, SafeHandle handle, SecurityInfos securityInformation, SecurityIdentifier owner, SecurityIdentifier group, GenericAcl sacl, GenericAcl dacl)
    4.    bei System.Security.AccessControl.NativeObjectSecurity.Persist(String name, SafeHandle handle, AccessControlSections includeSections, Object exceptionContext)
    5.    bei System.Security.AccessControl.NativeObjectSecurity.Persist(String name, AccessControlSections includeSections, Object exceptionContext)
    6.    bei System.Security.AccessControl.NativeObjectSecurity.Persist(String name, AccessControlSections includeSections)
    7.    bei System.Security.AccessControl.FileSystemSecurity.Persist(String fullPath)
    8.    bei System.IO.Directory.SetAccessControl(String path, DirectorySecurity directorySecurity)
    9.    bei MPExtended.Libraries.Service.Hosting.EnvironmentSetup.AddAclRuleOnDirectory(String directory, IdentityReference identity, FileSystemRights rights, AccessControlType type) in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.Service\Hosting\EnvironmentSetup.cs:Zeile 76.
    10.    bei MPExtended.Libraries.Service.Hosting.EnvironmentSetup.EnsurePermissionSettings() in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.Service\Hosting\EnvironmentSetup.cs:Zeile 54.
    11.    bei MPExtended.Libraries.Service.Hosting.EnvironmentSetup.CallWithExceptionHandling(Action action, String description) in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.Service\Hosting\EnvironmentSetup.cs:Zeile 39.
    12.  
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Wiedmann

    Wiedmann Portal Pro

    Joined:
    June 22, 2007
    Messages:
    107
    Likes Received:
    12
    Ratings:
    +27 / 3
    Home Country:
    Germany Germany
    I hope this is a simple question for the author of the WebMediapPortal extension:

    What is the difference between:
    ViewBag.Availability.Authentication and Request.IsAuthenticated?
     
  4. Wiedmann

    Wiedmann Portal Pro

    Joined:
    June 22, 2007
    Messages:
    107
    Likes Received:
    12
    Ratings:
    +27 / 3
    Home Country:
    Germany Germany
    Well, an easier question:
    How can I detect in view/layout if authentication is enabled in MPExtended or not?
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!