Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No route in the route table matches the supplied values. #1

Open
akeilox opened this issue Oct 14, 2015 · 3 comments
Open

No route in the route table matches the supplied values. #1

akeilox opened this issue Oct 14, 2015 · 3 comments

Comments

@akeilox
Copy link

akeilox commented Oct 14, 2015

I wanted to get up a quick register/login/reset-pw function on a site running Umbraco 7.2.4

so I grabbed the SimplyAuth and copied under App_Code, created the custom member attributes and created/copied the Views and Templates (followed the installation script steps manually).

I can get the login page showing up fine, but when i hit /reset or /register I get the error

No route in the route table matches the supplied values.

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.InvalidOperationException: No route in the route table matches the supplied values.

Source Error: 


Line 4:  }
Line 5:  
Line 6:  @Html.Action("RenderRegister", "SimpleAuthSurface")

Any ideas what might cause this? I have also tried copying the controller and model files to the individual folders on the root/model and root/controller folders - but that also resulted in same error.

@KevinJump
Copy link
Member

Yeah, a rename gone wrong

I took all the SimpleAuth bits and renamed them SimpilyAuth - can't remember what possesed me now.

anyway, I've just updated so it works. b588dbe

updated 7 files, almost all the base templates in views - one of the partials, and SimplyAuth.cs class (which has the path to the partials in for the surface controller).

Grab these files (or just replace Simple with Simpily wherever you find it in the views.

@akeilox
Copy link
Author

akeilox commented Oct 14, 2015

Thanks for the heads up!

I have modified as per updates and did a quick run, register, email-verify-link (updates verifiedlogin property), login ok.

On reset password however, after entering the proper credentials I get error:
Error Resetting Password: The DateTime represented by the string is not supported in calendar System.Globalization.GregorianCalendar.

on the member (referred above) properties
joinedDate was set as "15-Oct-2015 @ 03:33:57" and
resetGuid 15102015355010807

Is it a culture thing, or missing something else?

@akeilox
Copy link
Author

akeilox commented Oct 15, 2015

Hi Kevin

Looked at it again after some sleep and it seems the check for resetGuid in Controller is missing H, i.e. not in synch with ddMMyyyyHHmmssFFFF as per creation/set.

I noticed, if one runs the reset password routine while still logged in (a valid use-case for change pw with email cnfrmtion; in user profile page), then it throws error cant found route.

Another point is although I have changed the ReturnUrl ="/profile", it doesnt seem to redirect to that page upon login and stays within login. Probably missing something but not sure what..

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants