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
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?
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.
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)
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)
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:
Thanks,
Benjamin
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
Sure are
Hmm, everything I'm finding online for
System.Security.SecurityException: Security error.
pretty much revolves around full trust permissions.What's your setup?
Matt
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.
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)
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
is working on a reply...