plugin configure erro

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 Jahre weitere
Hi friend

I have developed a plugin for shiping rate computation

But when i click on configure in admin area it gives error like

"Execution of the child request failed. Please examine the InnerException for more information."




please help me as soon as possible


Thanks and regards
chandan
11 Jahre weitere
chandankumar wrote:
Hi friend

I have developed a plugin for shiping rate computation

But when i click on configure in admin area it gives error like

"Execution of the child request failed. Please examine the InnerException for more information."




please help me as soon as possible


Thanks and regards
chandan


Can't help much without knowing your code. PM me if you are willing to share your code, I can help you check. :P
11 Jahre weitere
what code are u want to share
11 Jahre weitere
please help  asap;
11 Jahre weitere
please give response

Thanks and regards
chandan
11 Jahre weitere
chandankumar wrote:
please give response

Thanks and regards
chandan


The part that throws error or the whole plugin. :D
11 Jahre weitere
Hi

When i click on config on Admin area "Shipping rate computation methods "

it shows error in  Presentation\Nop.Web\Administration\Views\Shipping\ConfigureProvider.cshtml







@model ShippingRateComputationMethodModel
@{
    //page title
    ViewBag.Title = @T("Admin.Configuration.Shipping.Providers.Configure").Text + " - " + Model.FriendlyName;
}
<div class="section-header">
    <div class="title">
        <img src="@Url.Content("~/Administration/Content/images/ico-configuration.png")" alt="" />
        @T("Admin.Configuration.Shipping.Providers.Configure") - @Model.FriendlyName @Html.ActionLink("(" + T("Admin.Configuration.Shipping.Providers.BackToList") + ")", "Providers")
    </div>
</div>
@if (!String.IsNullOrEmpty(Model.ConfigurationActionName))
{
    @Html.Action(Model.ConfigurationActionName, Model.ConfigurationControllerName, Model.ConfigurationRouteValues);
}
else
{
    @T("Admin.Common.ConfigurationNotRequired")




errror occured in   the line :

@Html.Action(Model.ConfigurationActionName, Model.ConfigurationControllerName, Model.ConfigurationRouteValues);

The error is :

Execution of the child request failed. Please examine the InnerException for more information.



please help
what i have to do for this error

Thanks and regards
chandan
11 Jahre weitere
chandankumar wrote:
Hi

When i click on config on Admin area "Shipping rate computation methods "

it shows error in  Presentation\Nop.Web\Administration\Views\Shipping\ConfigureProvider.cshtml







@model ShippingRateComputationMethodModel
@{
    //page title
    ViewBag.Title = @T("Admin.Configuration.Shipping.Providers.Configure").Text + " - " + Model.FriendlyName;
}
<div class="section-header">
    <div class="title">
        <img src="@Url.Content("~/Administration/Content/images/ico-configuration.png")" alt="" />
        @T("Admin.Configuration.Shipping.Providers.Configure") - @Model.FriendlyName @Html.ActionLink("(" + T("Admin.Configuration.Shipping.Providers.BackToList") + ")", "Providers")
    </div>
</div>
@if (!String.IsNullOrEmpty(Model.ConfigurationActionName))
{
    @Html.Action(Model.ConfigurationActionName, Model.ConfigurationControllerName, Model.ConfigurationRouteValues);
}
else
{
    @T("Admin.Common.ConfigurationNotRequired")




errror occured in   the line :

@Html.Action(Model.ConfigurationActionName, Model.ConfigurationControllerName, Model.ConfigurationRouteValues);

The error is :

Execution of the child request failed. Please examine the InnerException for more information.



please help
what i have to do for this error

Thanks and regards
chandan


Most probably ur action is throwing the error. And when nopCommerce tries to call ur on that particular line, exception is thrown. Have you run a debug, step through your code and etc? This error still doesn't show much! :)
11 Jahre weitere
what i have to do to solve the problem?

Thanks and regards
11 Jahre weitere
chandankumar wrote:
what i have to do to solve the problem?

Thanks and regards


Run the code in Debug mode, check the Exception thrown and see what's the real error. :)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.