Too many redirects error

kobosh 176 Reputation points
2021-08-17T18:59:10.323+00:00

I cloned web form mvp

tipwings toys project from git hub. I launched solution in Visual Studio 2019. When I run it I get error : Too many redirects.
When I debug no break point is being hit ( on default or on Errorpage) I also checked connection string. What can I do to make it run.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yijing Sun-MSFT 7,061 Reputation points
    2021-08-18T08:02:14.337+00:00

    Hi @kobosh ,
    Your error means your application always loop redirection. The result is your application_start.When you run the project, it will first run the application_start. And then it have error. After, it will redirect to the error page. However, the application_start is wrong, so it can't run the error page. It only restart the application_start but it still can't run the error page. So ,it cause your problems.
    Best regards,
    Yijing Sun


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments