wooncherk wrote:Hi friends,
i have adding a plugin into my nop commerce project and in admin area it is also coming but when i click on Configure
link in "Shipping rate computation methods " gives error like
Execution of the child request failed. Please examine the InnerException for more information.
Inner Exception :
The controller for path '/Admin/Shipping/ConfigureProvider' was not found or does not implement IController.
plz help me to solve this above error.
Thanks & Regards
sandal
It cant find the controller. Make sure your GetConfigurationRoute is returning the correct route. :D
@wooncherk - Thanks for replying.
I have created a plugin for shipping service and have include method 'GetConfigurationRoute' in it but the problem remains that the method is not getting called.
I get an error in LocalizedRoute.cs>GetVirtualPath when the view tries executing -
@Html.Action(Model.ConfigurationActionName, Model.ConfigurationControllerName, Model.ConfigurationRouteValues);
in ConfigureProvide.cshtml
It must be that your GetConfigurationRoute is referring to a non-existence Action, thus causing the error. Can you show your GetConfigurationRoute method? :)
@wooncherk Thanks for reply
GetConfigurationRoute method is as:
public void GetConfigurationRoute(out string actionName, out string controllerName, out RouteValueDictionary routeValues)
{
actionName = "Configure";
controllerName = "ShippingAramex";
routeValues = new RouteValueDictionary() { { "Namespaces", "Commercebay.Plugin.Shipping.Aramex.Controllers" }, { "area", null } };
}