Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jamie Howarth 306 posts 773 karma points c-trib
    Aug 14, 2019 @ 15:12
    Jamie Howarth
    0

    TC 3.3.1 installation on Umbraco 7.15.1

    Hi all,

    Have just installed TeaCommerce fresh on Umbraco 7.15, and cannot access the Security section.

    TeaCommerce_Permission table is empty, and if I try loading the security ASPX page myself through the iframe, I get a SecurityException thrown, and this stack track appears in the log:

    System.Security.SecurityException: Security error.
       at TeaCommerce.Umbraco.Application.Views.Security.EditUserPermissions.OnInit(EventArgs e)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    The Zone of the assembly that failed was:
    MyComputer
    

    Thanks,

    Benjamin

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Aug 14, 2019 @ 15:42
    Matt Brailsford
    0

    Hey Benjamin,

    Hmm, I've not seen that one before. It appears to me to be more of a permissions / full trust thing. Are your file permissions correct on project root?

    Matt

  • Jamie Howarth 306 posts 773 karma points c-trib
    Aug 14, 2019 @ 15:58
    Jamie Howarth
    0

    Sure are

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Aug 14, 2019 @ 16:01
    Matt Brailsford
    0

    Hmm, everything I'm finding online for System.Security.SecurityException: Security error. pretty much revolves around full trust permissions.

    What's your setup?

    Matt

  • Jamie Howarth 306 posts 773 karma points c-trib
    Aug 15, 2019 @ 12:14
    Jamie Howarth
    0

    It's IIS 10 on my local Win10 Pro machine, full permissions on all folders. I've also got CMSImport installed with the field converters for TeaCommerce, and Articulate. I've got about 20 Umbraco websites set up the same way, with zero trust issues.

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Aug 15, 2019 @ 16:58
    Matt Brailsford
    0

    Oh, wait, do you have more than just the admin user setup?

    The security node doesn't show anything itself, instead, below it for all users who have permission to the tea commerce section that aren't the super admin user it will create a node below it for which you can configure the security permissions for that user.

    If you only have an admin user then you won't see anything as admin user automatically has everything.

    (I was going to share a screenshot, but Our seems to be having issues uploading images)

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Aug 15, 2019 @ 17:00
    Matt Brailsford
    0

    If you log into the demo store right now (the site resets over night) https://demo.teacommerce.net/umbraco/, username admin / password 1234, you can see I've setup a secondary user and then you can see how in the Tea Commerce section a node for that user appears under Security (but not one for admin)

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft