Password Recovery Issue

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 Jahre weitere
Dear All,

i am using 3.80 version of nopcommerce for my online book store but when i press forgot password it sends mail when i click on password recovery link a page open when i enter new password and press recover button it generates message for internal error can any one help me???
6 Jahre weitere
[email protected] wrote:
Dear All,

i am using 3.80 version of nopcommerce for my online book store but when i press forgot password it sends mail when i click on password recovery link a page open when i enter new password and press recover button it generates message for internal error can any one help me???


Hi Javid,

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>

Then you will see exact error.

Thanks,
Jatin
6 Jahre weitere
ok dear i try it then inform you
6 Jahre weitere
ok dear i try it then inform you
6 Jahre weitere
forefront wrote:
Dear All,

i am using 3.80 version of nopcommerce for my online book store but when i press forgot password it sends mail when i click on password recovery link a page open when i enter new password and press recover button it generates message for internal error can any one help me???

Hi Javid,

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>

Then you will see exact error.

Thanks,
Jatin




Dear Jatin ,

This is exact error now please help me


The required anti-forgery form field "__RequestVerificationToken" is not present.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Mvc.HttpAntiForgeryException: The required anti-forgery form field "__RequestVerificationToken" is not present.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[HttpAntiForgeryException (0x80004005): The required anti-forgery form field "__RequestVerificationToken" is not present.]
   System.Web.Helpers.AntiXsrf.TokenValidator.ValidateTokens(HttpContextBase httpContext, IIdentity identity, AntiForgeryToken sessionToken, AntiForgeryToken fieldToken) +757
   System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext) +163
   System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor) +156
   System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__19(AsyncCallback asyncCallback, Object asyncState) +1449
   System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +150
   System.Web.Mvc.Async.AsyncResultWrapper.Begin(AsyncCallback callback, Object state, BeginInvokeDelegate beginDelegate, EndInvokeDelegate`1 endDelegate, Object tag, Int32 timeout) +96
   System.Web.Mvc.Async.AsyncControllerActionInvoker.BeginInvokeAction(ControllerContext controllerContext, String actionName, AsyncCallback callback, Object state) +487
   System.Web.Mvc.Controller.<BeginExecuteCore>b__1c(AsyncCallback asyncCallback, Object asyncState, ExecuteCoreState innerState) +45
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState) +111
   System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +150
   System.Web.Mvc.Async.AsyncResultWrapper.Begin(AsyncCallback callback, Object callbackState, BeginInvokeDelegate`1 beginDelegate, EndInvokeVoidDelegate`1 endDelegate, TState invokeState, Object tag, Int32 timeout, SynchronizationContext callbackSyncContext) +203
   System.Web.Mvc.Controller.BeginExecuteCore(AsyncCallback callback, Object state) +879
   System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +150
   System.Web.Mvc.Async.AsyncResultWrapper.Begin(AsyncCallback callback, Object callbackState, BeginInvokeDelegate`1 beginDelegate, EndInvokeVoidDelegate`1 endDelegate, TState invokeState, Object tag, Int32 timeout, SynchronizationContext callbackSyncContext) +154
   System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state) +527
   System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__4(AsyncCallback asyncCallback, Object asyncState, ProcessRequestState innerState) +108
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState) +111
   System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +150
   System.Web.Mvc.Async.AsyncResultWrapper.Begin(AsyncCallback callback, Object callbackState, BeginInvokeDelegate`1 beginDelegate, EndInvokeVoidDelegate`1 endDelegate, TState invokeState, Object tag, Int32 timeout, SynchronizationContext callbackSyncContext) +203
   System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +665
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +12638163
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408
6 Jahre weitere
Hi,

Missing @Html.AntiForgeryToken() in PasswordRecoveryConfirm.cshtml in your theme. Simply add this to that file, just after
using (Html.BeginForm())
            {


If not sure, open this same file on default clean view file, and check.

Regards,
Tomasz
6 Jahre weitere
nop4you wrote:
Hi,

Missing @Html.AntiForgeryToken() in PasswordRecoveryConfirm.cshtml in your theme. Simply add this to that file, just after
using (Html.BeginForm())
            {


If not sure, open this same file on default clean view file, and check.

Regards,
Tomasz


dear ,
what is path of PasswordRecoveryConfirm.cshtml??
6 Jahre weitere
[email protected] wrote:
Hi,

Missing @Html.AntiForgeryToken() in PasswordRecoveryConfirm.cshtml in your theme. Simply add this to that file, just after
using (Html.BeginForm())
            {


If not sure, open this same file on default clean view file, and check.

Regards,
Tomasz

dear ,
what is path of PasswordRecoveryConfirm.cshtml??




Dear Tomasz,


Thanks a lot my issue is resolved by your suggested solution.
6 Jahre weitere
Go here: \Presentation\Nop.Web\Views\Customer
6 Jahre weitere
[email protected] wrote:
Hi,

Missing @Html.AntiForgeryToken() in PasswordRecoveryConfirm.cshtml in your theme. Simply add this to that file, just after
using (Html.BeginForm())
            {


If not sure, open this same file on default clean view file, and check.

Regards,
Tomasz

dear ,
what is path of PasswordRecoveryConfirm.cshtml??



daer,
the issue is resolved but now when i click on given link in email to change password it go to passrecovery/confirm
and shows message   Wrong password recovery token please help me to resolve this issue
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.