Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 95Ih29mbcNk6vlPmDcjIXb
Power Pages - Power Apps Portals
Unanswered

No matching route found for RedirectToRoute on registration

Like (1) ShareShare
ReportReport
Posted on 27 Aug 2024 18:36:18 by 3
Hi all,
I receive recently in all my environments this Error when I try to register using redeem code, if I check "I have an existing account" the process continues normally:

Portal version : 9.6.7.8
Portal type : CustomerPortal

No matching route found for RedirectToRoute.
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 matching route found for RedirectToRoute.

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:
 
[InvalidOperationException: No matching route found for RedirectToRoute.]
   System.Web.HttpResponse.RedirectToRoute(String routeName, RouteValueDictionary routeValues, Boolean permanent) +256
   Site.Areas.Account.Models.<ValidateAndRegisterUser>d__25.MoveNext() in C:\__w\1\s\Samples\MasterPortal\Areas\Account\Models\RegistrationManager.cs:254
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
   Site.Areas.Account.Views.Login.Registration.SubmitButton_Click(Object sender, EventArgs e) in C:\__w\1\s\Samples\MasterPortal\Areas\Account\Views\Login\Registration.aspx.cs:280
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +138
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +150
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5440
Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,013 Most Valuable Professional

Leaderboard
Loading started