Security exceptions after upgrading Umbraco to 7.2.4
I've started to see the following exception when I click on my store node in the TC section.
I can't think why I'm suddenly seeing this other than I upgraded Umbraco to 7.2.4 a few days ago.
Any ideas? A bit of searching suggested setting trust="Full" in web.config but that's not helped and I've never had to play about with trust before.
Server Error in '/' Application.
Security Exception
Description: The application attempted to perform an
operation not allowed by the security policy. To grant this
application the required permission please contact your system
administrator or change the application's trust level in the
configuration file.
Deleting the temporary files mentioned in the effor c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a134b2ee\acb863ba seems to have fix it.
An unhandled exception occurred System.Security.SecurityException: Security error. at TeaCommerce.Umbraco.Application.Views.Stores.EditStore.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.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) The Zone of the assembly that failed was: MyComputer
This is Tea Commerce checking its security settings and don't give access to the EditStore UI. Can you install a clean version and make an issue at GitHub with instructions how to reproduce. Thanks
I rebooted the server today because Umbraco was just giving me an empty screen when logging on. I'm finding Umbraco 7 to be quite flakey. Any way it also gave me access to the store node again.
Security exceptions after upgrading Umbraco to 7.2.4
I've started to see the following exception when I click on my store node in the TC section.
I can't think why I'm suddenly seeing this other than I upgraded Umbraco to 7.2.4 a few days ago.
Any ideas? A bit of searching suggested setting trust="Full" in web.config but that's not helped and I've never had to play about with trust before.
Server Error in '/' Application.
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.Exception Details: System.Security.SecurityException: Security error.
Source Error:
Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a134b2ee\acb863ba\App_Web_editstore.aspx.a6caedcd.xv1_kc64.0.cs Line: 0
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237
Regards, Matt
I'm using TC 3.0.1 for Umbraco 7.
Deleting the temporary files mentioned in the effor c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a134b2ee\acb863ba seems to have fix it.
Very strange behaviour.
Seems I spoke to soon and it's back again.
This is in the trace logs
Umbraco.Core.UmbracoApplicationBase
An unhandled exception occurred System.Security.SecurityException: Security error. at TeaCommerce.Umbraco.Application.Views.Stores.EditStore.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.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) The Zone of the assembly that failed was: MyComputer
This is Tea Commerce checking its security settings and don't give access to the EditStore UI. Can you install a clean version and make an issue at GitHub with instructions how to reproduce. Thanks
You think this is definitely TC?
I rebooted the server today because Umbraco was just giving me an empty screen when logging on. I'm finding Umbraco 7 to be quite flakey.
Any way it also gave me access to the store node again.
I think I should keep an eye on it.
Regards, Matt
Hi there,
We also have the same problem in Umbraco 7.2.8 with 3.x versions of Teacommerce (we have tried all).
We have tried everything suggested such as clearing the ASP.Net cache, and even restarting the server. Have also tried setting High Trust on security.
Is there a solution or workaround to this problem?
Thanks, Peter
This was fixed in Tea Commerce 3.0.4 and 3.0.5 so if you upgrade to latest version it should be fixed.
https://documentation.teacommerce.net/revision-history/
Kind regards
Anders
is working on a reply...