Copied to clipboard

Flag this post as spam?

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


  • Matt Taylor 821 posts 1924 karma points
    Apr 02, 2015 @ 17:39
    Matt Taylor
    0

    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:

    [No relevant source lines]


    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:

    [SecurityException: Security error.]
       TeaCommerce.Umbraco.Application.Views.Stores.EditStore.OnInit(EventArgs e) +1471
       System.Web.UI.Control.InitRecursive(Control namingContainer) +186
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +12671271
       System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +12670781
       System.Web.UI.Page.ProcessRequest() +119
       System.Web.UI.Page.ProcessRequest(HttpContext context) +99
       ASP.app_plugins_teacommerce_views_stores_editstore_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a134b2ee\acb863ba\App_Web_editstore.aspx.a6caedcd.xv1_kc64.0.cs:0
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +913
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165
    



    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237

    Regards, Matt

  • Matt Taylor 821 posts 1924 karma points
    Apr 02, 2015 @ 17:39
    Matt Taylor
    0

    I'm using TC 3.0.1 for Umbraco 7.

  • Matt Taylor 821 posts 1924 karma points
    Apr 02, 2015 @ 18:22
    Matt Taylor
    100

    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.

  • Matt Taylor 821 posts 1924 karma points
    Apr 02, 2015 @ 19:58
    Matt Taylor
    0

    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

  • Anders Burla Johansen 2560 posts 8256 karma points
    Apr 07, 2015 @ 08:04
    Anders Burla Johansen
    0

    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

  • Matt Taylor 821 posts 1924 karma points
    Apr 07, 2015 @ 17:22
    Matt Taylor
    0

    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

  • Peter 3 posts 23 karma points
    Mar 20, 2016 @ 03:02
    Peter
    0

    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

    Screenshot

  • Anders Burla Johansen 2560 posts 8256 karma points
    Mar 21, 2016 @ 07:29
    Anders Burla Johansen
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft