Copied to clipboard

Flag this post as spam?

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


  • Tomasz Kowalski 135 posts 445 karma points
    Apr 15, 2014 @ 14:57
    Tomasz Kowalski
    0

    "Security Exception" while viewing VAT groups

    Hi,

    I'm getting this error in backend, when I want to edit VAT group:

    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:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [SecurityException: Security error.]
       TeaCommerce.Umbraco.Application.Views.VATGroups.EditVatGroup.OnInit(EventArgs e) +434
       System.Web.UI.Control.InitRecursive(Control namingContainer) +186
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +12659043
       System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +12658553
       System.Web.UI.Page.ProcessRequest() +119
       System.Web.UI.Page.ProcessRequest(HttpContext context) +99
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +913
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165
    

    But not in all VAT groups. Trust is set to Full. My user has administrator permissions.

    Umbraco 4.10.1

    TeaCommerce 2.1.2b1 licensed

    I'm aware that these are pretty old versions, but I can not upgrade it now.

    Any suggestions?

    Kind regards

    Thomas

  • Anders Burla 2560 posts 8256 karma points
    Apr 16, 2014 @ 08:29
    Anders Burla
    0

    Do you have a multi store setup?

    Kind regards
    Anders

  • Tomasz Kowalski 135 posts 445 karma points
    Apr 16, 2014 @ 08:38
    Tomasz Kowalski
    0

    Yes, I do.

    Kind regards

    Thomas

  • Anders Burla 2560 posts 8256 karma points
    Apr 16, 2014 @ 09:24
    Anders Burla
    0

    Do you get the exception in the Umbraco content part or in Tea Commerce admin?

  • Tomasz Kowalski 135 posts 445 karma points
    Apr 16, 2014 @ 10:32
    Tomasz Kowalski
    0

    Yes, when I go to TeaCommerce section, clik on Stores -> webshop ->Settings -> Internationalisation -> Vat groups -> VATfree (for example)

    I have access to all sections/settings/webshops.

    And it happens not in all webshops. I just don't know, where to look after error.

    /Thomas

  • Anders Burla 2560 posts 8256 karma points
    Apr 16, 2014 @ 13:12
    Anders Burla
    0

    Can you send a screenshot of your shop setup in Tea Commerce and which vat groups that fail to load?

    And also a screenshot of your security permissions in Tea Commerce

    Kind regards
    Anders

  • Matt Taylor 873 posts 2086 karma points
    Jul 05, 2014 @ 15:24
    Matt Taylor
    0

    I'm suffering the same problem.

    I can view/edit the default VAT group OK but after creating a new one I cannot view it.

    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\a814f9de\afe7cbfd\App_Web_editvatgroup.aspx.101ee69c.3lqzk64w.0.cs    Line: 0

    Stack Trace:

    [SecurityException: Security error.]
       TeaCommerce.Umbraco.Application.Views.VATGroups.EditVatGroup.OnInit(EventArgs e) +434
       System.Web.UI.Control.InitRecursive(Control namingContainer) +186
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +12659043
       System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +12658553
       System.Web.UI.Page.ProcessRequest() +119
       System.Web.UI.Page.ProcessRequest(HttpContext context) +99
       ASP.umbraco_plugins_tea_commerce_views_vatgroups_editvatgroup_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a814f9de\afe7cbfd\App_Web_editvatgroup.aspx.101ee69c.3lqzk64w.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.18446

    All TC permissions are granted to my user.

     

    If I log out and log in as 'Admin' it works.

    Sounds like a bug in the system.

    I'm using Umbraco v6.1.6 and TC v2.2.3.

    Regards,

    Matt

     

  • Anders Burla 2560 posts 8256 karma points
    Jul 07, 2014 @ 09:26
    Anders Burla
    0

    Minor bug you found :) Has fixed - will be in next release :)

Please Sign in or register to post replies

Write your reply to:

Draft