Copied to clipboard

Flag this post as spam?

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


  • Jonas Eriksson 930 posts 1825 karma points
    Feb 04, 2015 @ 11:45
    Jonas Eriksson
    0

    Error on edit order 'OrderContext' does not exist in the namespace 'TeaCommerce.Umbraco.Web'

    When I click to edit an order I get this error message:

    The solution is upgraded to 3.0 from v2.

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

    Compiler Error Message: CS0234: The type or namespace name 'OrderContext' does not exist in the namespace 'TeaCommerce.Umbraco.Web' (are you missing an assembly reference?)

    Source Error:

     
    Line 39:     
    Line 40:     
    Line 41:     public class _Page_macroScripts_tea_commerce_edit_order_cshtml : TeaCommerce.Umbraco.Web.OrderContext {
    Line 42:         
    Line 43: #line hidden
    Source File: c:\Users\jonas\AppData\Local\Temp\Temporary ASP.NET Files\vs\cdcec1ae\ada51511\App_Web_edit-order.cshtml.ddffc327.hpt-ifxh.0.cs    Line: 41 

     

  • Anders Burla Johansen 2560 posts 8256 karma points
    Feb 04, 2015 @ 15:59
    Anders Burla Johansen
    100

    When you installed Tea Commerce you should see an edit-order.cshtml.default in your /macroScripts/tea-commerce/. This file uses the new syntax. Both the edit order and email template files must be updated.

    Kind regards
    Anders

  • Jonas Eriksson 930 posts 1825 karma points
    Feb 06, 2015 @ 07:08
    Jonas Eriksson
    0

    Great

    Thanks

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies