WebMP skin errors if authentication is disabled in mpextended (1 Viewer)

Wiedmann

Portal Pro
June 22, 2007
107
28
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:
2014-01-22 23:06:38.84000 [(1)] ERROR: EnvironmentChecks: Error while setting permissions
System.UnauthorizedAccessException: Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.
   bei System.Security.AccessControl.Win32.SetSecurityInfo(ResourceType type, String name, SafeHandle handle, SecurityInfos securityInformation, SecurityIdentifier owner, SecurityIdentifier group, GenericAcl sacl, GenericAcl dacl)
   bei System.Security.AccessControl.NativeObjectSecurity.Persist(String name, SafeHandle handle, AccessControlSections includeSections, Object exceptionContext)
   bei System.Security.AccessControl.NativeObjectSecurity.Persist(String name, AccessControlSections includeSections, Object exceptionContext)
   bei System.Security.AccessControl.NativeObjectSecurity.Persist(String name, AccessControlSections includeSections)
   bei System.Security.AccessControl.FileSystemSecurity.Persist(String fullPath)
   bei System.IO.Directory.SetAccessControl(String path, DirectorySecurity directorySecurity)
   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.
   bei MPExtended.Libraries.Service.Hosting.EnvironmentSetup.EnsurePermissionSettings() in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.Service\Hosting\EnvironmentSetup.cs:Zeile 54.
   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.
 

Wiedmann

Portal Pro
June 22, 2007
107
28
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?
 

Wiedmann

Portal Pro
June 22, 2007
107
28
Home Country
Germany Germany
Well, an easier question:
How can I detect in view/layout if authentication is enabled in MPExtended or not?
 

Users who are viewing this thread

Top Bottom