store with a custom plugin web deploy issue

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
NopCommerce version: 3.9

I've designed a web store using NopCommerce 3.9. Any code I added is in a plugin.

The store uses a front page that can be found in the plugin. It relies on a route called 'home' in a RouteProvider class in the plugin. It does not complain about that route, instead it complains about a route named 'RegisterVendor' found in the same file. Here are both routes


routes.MapRoute("home",
                "",
                new { controller = "AoiVendorsHome", action = "Index" },
                new[] { "Nop.Plugin.Other.AoiVendors.Controllers" });



routes.MapRoute("RegisterVendor",
                "register/designer",
                new { controller = "AoiExchange", action = "RegisterVendor" },
                new[] { "Nop.Plugin.Other.AoiVendors.Controllers" });


The plugin installs properly and everything works exactly as expected on my local machine.

The problem is after deploying to the web it can't find the route. Here is a imgur link, follow it to see the error



Restarting the server fixes the error for a while, but it does eventually come back. It also comes back any time I redeploy without restarting the server afterwards.

Does anyone have any ideas?

Thank You.
6 years ago
here's the img



and here is a link to the actual site

http://prairieapps-001-site4.gtempurl.com/
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.