Server error 503 - Task Error in Verison 4.50.4

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 year ago
I have an error... apparently the error list is to long causing the topic to crash.
At any rate.. I am linking to it. Please click the link below to see the error log.

https://skagitmediamobileweb.com/error-from-website.txt

Thanks!
Rob
1 year ago
Is there an error in the log  - I could not see one ?
Best to search the local log file for "Error"
Then post the text from a bit before the error and the error itself.

Alternatively you can shutdown and restart to create a new file then go directly to recreate the issue then hopefully the log file is only small
1 year ago
It's a Stack Overflow
You must have something in your custom code that causes it to call itself Nop.Plugin.Colhouse.Customizations.Services.CustomerAttributeService.GetAllCustomerAttributesAsync()
1 year ago
Ok so here's the new thing that is occurring. I fixed the stack overflow, it was part of the old plugin code that I upgraded to work in this version. But now I have this error..

An error occurred during the compilation of a resource required to process this request. Please review the following specific error details and modify your source code appropriately.
E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml

    The name 'T' does not exist in the current context

                                <button type="submit" name="save" class="btn btn-primary">@T("Admin.Common.Save")</button>


#pragma checksum "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "ac090f99862de1102e21b0ce99ccfa11ae7b64e3"

// <auto-generated/>

#pragma warning disable 1591

[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore._Plugins_Nop_Plugin_Colhouse_Customizations_Views_Configure), @"mvc.1.0.view", @"/Plugins/Nop.Plugin.Colhouse.Customizations/Views/Configure.cshtml")]

namespace AspNetCore

{

    #line hidden

    using System;

    using System.Collections.Generic;

    using System.Linq;

    using System.Threading.Tasks;

    using Microsoft.AspNetCore.Mvc;

    using Microsoft.AspNetCore.Mvc.Rendering;

    using Microsoft.AspNetCore.Mvc.ViewFeatures;

#nullable restore

#line 2 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

using Nop.Plugin.Colhouse.Customizations.Models;



#line default

#line hidden

#nullable disable

#nullable restore

#line 3 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

using Nop.Plugin.Colhouse.Customizations;



#line default

#line hidden

#nullable disable

#nullable restore

#line 4 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

using Nop.Web.Framework;



#line default

#line hidden

#nullable disable

    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"ac090f99862de1102e21b0ce99ccfa11ae7b64e3", @"/Plugins/Nop.Plugin.Colhouse.Customizations/Views/Configure.cshtml")]

    [global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/Plugins/Nop.Plugin.Colhouse.Customizations/Views/Configure.cshtml")]

    [global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]

    public class _Plugins_Nop_Plugin_Colhouse_Customizations_Views_Configure : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<ConfigurationModel>

    {

        #pragma warning disable 1998

        public async override global::System.Threading.Tasks.Task ExecuteAsync()

        {

#nullable restore

#line 5 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

  

    Layout = "_ConfigurePlugin";



#line default

#line hidden

#nullable disable

            WriteLiteral("<!-- ");

#nullable restore

#line (8,7)-(8,34) 6 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

Write(Model.AvailableStores.Count);



#line default

#line hidden

#nullable disable

            WriteLiteral(" -->\r\n");

#nullable restore

#line (9,2)-(9,56) 6 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

Write(await Component.InvokeAsync("StoreScopeConfiguration"));



#line default

#line hidden

#nullable disable

            WriteLiteral("\r\n");

#nullable restore

#line 10 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

using (Html.BeginForm())

{

    



#line default

#line hidden

#nullable disable

#nullable restore

#line (12,6)-(12,29) 6 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

Write(Html.AntiForgeryToken());



#line default

#line hidden

#nullable disable

            WriteLiteral(@"    <style>

        label{

             z-index: 999;

        }

    </style>

    <div class=""panel-group"">

        <div class=""panel panel-default"">

            <div class=""panel-body"">

                <div class=""form-group"">

                    <div class=""col-md-3"">

");

            WriteLiteral("                        <nop-label asp-for=\"Enable\" />\r\n                    </div>\r\n                    <div class=\"col-md-9\">\r\n");

            WriteLiteral("                        <nop-editor asp-for=\"Enable\" />\r\n                    </div>\r\n                </div>\r\n                <div class=\"form-group\">\r\n                    <div class=\"col-md-3\">\r\n");

            WriteLiteral("                        <nop-label asp-for=\"WholesaleStoreId\" />\r\n                    </div>\r\n                    <div class=\"col-md-9\">\r\n");

            WriteLiteral("                        <nop-select asp-for=\"WholesaleStoreId\"");

            BeginWriteAttribute("asp-items", " asp-items=\"", 1478, "\"", 1512, 1);

#nullable restore

#line (38,75)-(38,97) 30 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

WriteAttributeValue("", 1490, Model.AvailableStores, 1490, 22, false);



#line default

#line hidden

#nullable disable

            EndWriteAttribute();

            WriteLiteral(" />\r\n                    </div>\r\n                </div>\r\n                <div class=\"form-group\">\r\n                    <div class=\"col-md-3\">\r\n");

            WriteLiteral("                        <nop-label asp-for=\"RetailStoreId\" />\r\n                    </div>\r\n                    <div class=\"col-md-9\">\r\n");

            WriteLiteral("                        <nop-select asp-for=\"RetailStoreId\"");

            BeginWriteAttribute("asp-items", " asp-items=\"", 2034, "\"", 2068, 1);

#nullable restore

#line (48,72)-(48,94) 30 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

WriteAttributeValue("", 2046, Model.AvailableStores, 2046, 22, false);



#line default

#line hidden

#nullable disable

            EndWriteAttribute();

            WriteLiteral(" />\r\n                    </div>\r\n                </div>\r\n                <div class=\"form-group\">\r\n                    <div class=\"col-md-3\">\r\n");

            WriteLiteral("                        <nop-label asp-for=\"WholesaleCustomerRoleId\" />\r\n                    </div>\r\n                    <div class=\"col-md-9\">\r\n");

            WriteLiteral("                        <nop-select asp-for=\"WholesaleCustomerRoleId\"");

            BeginWriteAttribute("asp-items", " asp-items=\"", 2637, "\"", 2678, 1);

#nullable restore

#line (58,82)-(58,111) 30 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

WriteAttributeValue("", 2649, Model.AvailableCustomerRoles, 2649, 29, false);



#line default

#line hidden

#nullable disable

            EndWriteAttribute();

            WriteLiteral(" />\r\n                    </div>\r\n                </div>\r\n                <div class=\"form-group\">\r\n                    <div class=\"col-md-3\">\r\n");

            WriteLiteral("                        <nop-label asp-for=\"RetailCustomerRoleId\" />\r\n                    </div>\r\n                    <div class=\"col-md-9\">\r\n");

            WriteLiteral("                         <nop-select asp-for=\"RetailCustomerRoleId\"");

            BeginWriteAttribute("asp-items", " asp-items=\"", 3236, "\"", 3277, 1);

#nullable restore

#line (68,80)-(68,109) 30 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

WriteAttributeValue("", 3248, Model.AvailableCustomerRoles, 3248, 29, false);



#line default

#line hidden

#nullable disable

            EndWriteAttribute();

            WriteLiteral(@" />

                    </div>

                </div>

                <div class=""form-group"">

                    <div class=""col-md-3"">

                        <nop-label asp-for=""SelectedWholesaleFormFieldsIds"" />

                    </div>

                    <div class=""col-md-9"">

                        ");

#nullable restore

#line (76,26)-(76,152) 6 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

Write(Html.EditorFor(model => model.SelectedWholesaleFormFieldsIds, new { SelectList = Model.AvailableWholesaleCustomerFormFields }));



#line default

#line hidden

#nullable disable

            WriteLiteral("\r\n\r\n                        <script>\r\n                                $(document).ready(function() {\r\n                                    var wholesaleFormIdsInput = $(\'#");

#nullable restore

#line (80,70)-(80,127) 6 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

Write(Html.IdFor(model => model.SelectedWholesaleFormFieldsIds));



#line default

#line hidden

#nullable disable

            WriteLiteral("\').data(\"kendoMultiSelect\");\r\n                                    wholesaleFormIdsInput.setOptions({\r\n                                        autoClose: false\r\n                                    });\r\n\r\n");

#nullable restore

#line 85 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

                                     if (Model.AvailableWholesaleCustomerFormFields.Count == 0)

                                    {

                                        



#line default

#line hidden

#nullable disable

            WriteLiteral(@"

                                            wholesaleFormIdsInput.setOptions({

                                                enable: false,

                                                placeholder: 'Not available'

                                            });

                                            wholesaleFormIdsInput._placeholder();

                                            wholesaleFormIdsInput._enable();

                                        ");

#nullable restore

#line 94 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

                                              

                                    }



#line default

#line hidden

#nullable disable

            WriteLiteral(@"                                });

                        </script>

                    </div>

                </div>

                <div class=""form-group"">

                    <div class=""col-md-3"">



                        <nop-label asp-for=""SelectedRetailFormFieldsIds""/>

                    </div>

                    <div class=""col-md-9"">

                        ");

#nullable restore

#line (106,26)-(106,146) 6 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

Write(Html.EditorFor(model => model.SelectedRetailFormFieldsIds, new { SelectList = Model.AvailableRetailCustomerFormFields }));



#line default

#line hidden

#nullable disable

            WriteLiteral("\r\n                        <script>\r\n                                $(document).ready(function() {\r\n                                    var retailFormIdsInput = $(\'#");

#nullable restore

#line (109,67)-(109,121) 6 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

Write(Html.IdFor(model => model.SelectedRetailFormFieldsIds));



#line default

#line hidden

#nullable disable

            WriteLiteral("\').data(\"kendoMultiSelect\");\r\n                                    retailFormIdsInput.setOptions({\r\n                                        autoClose: false\r\n                                    });\r\n\r\n");

#nullable restore

#line 114 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

                                     if (Model.AvailableRetailCustomerFormFields.Count == 0)

                                    {

                                        



#line default

#line hidden

#nullable disable

            WriteLiteral(@"

                                            retailFormIdsInput.setOptions({

                                                enable: false,

                                                placeholder: 'Not available'

                                            });

                                            retailFormIdsInput._placeholder();

                                            retailFormIdsInput._enable();

                                        ");

#nullable restore

#line 123 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

                                              

                                    }



#line default

#line hidden

#nullable disable

            WriteLiteral("                                });\r\n                        </script>\r\n                    </div>\r\n                </div>\r\n                <div class=\"form-group\">\r\n                    <div class=\"col-md-3\">\r\n");

            WriteLiteral("                         <nop-label asp-for=\"WholesaleRegisterText\" />\r\n\r\n                    </div>\r\n                    <div class=\"col-md-9\">\r\n                        ");

#nullable restore

#line (136,26)-(136,92) 6 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

Write(Html.EditorFor(model => model.WholesaleRegisterText, "RichEditor"));



#line default

#line hidden

#nullable disable

            WriteLiteral("\r\n                    </div>\r\n                </div>\r\n                <div class=\"form-group\">\r\n                    <div class=\"col-md-3\">\r\n");

            WriteLiteral("                        <nop-label asp-for=\"RetailRegisterText\" />\r\n\r\n                    </div>\r\n                    <div class=\"col-md-9\">\r\n                        ");

#nullable restore

#line (146,26)-(146,89) 6 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

Write(Html.EditorFor(model => model.RetailRegisterText, "RichEditor"));



#line default

#line hidden

#nullable disable

            WriteLiteral(@"

                    </div>

                </div>

            </div>

        </div>

        <div class=""panel panel-default"">

            <div class=""panel-body"">

                <div class=""form-group"">

                    <div class=""col-md-3"">

                        &nbsp;

                    </div>

                    <div class=""col-md-9"">

                        <button type=""submit"" name=""save"" class=""btn btn-primary"">");

#nullable restore

#line (158,84)-(158,106) 6 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

Write(T("Admin.Common.Save"));



#line default

#line hidden

#nullable disable

            WriteLiteral("</button>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n");

#nullable restore

#line 164 "E:\Client-Files\fdgweb\Colhouse\nopCommerce_4.50.4_Source\Presentation\Nop.Web\Plugins\Nop.Plugin.Colhouse.Customizations\Views\Configure.cshtml"

}



#line default

#line hidden

#nullable disable

        }

        #pragma warning restore 1998

        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]

        public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }

        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]

        public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }

        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]

        public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }

        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]

        public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }

        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]

        public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<ConfigurationModel> Html { get; private set; }

    }

}

#pragma warning restore 1591
1 year ago
https://www.nopcommerce.com/en/boards/topic/50367/t-doesnt-exist-in-current-context
1 year ago
@New York... good thought.. I just tried that and didn't work unfortunately. There was one in there previously. But i copied over it to be sure and still didn't work. Thoughts?

Appreciate all the responses!
Rob
1 year ago
I copied the view from another plugin and it worked.. everything seems to be working again. So we will do some more testing and load the code.  Thank again for all the help.

Rob
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.