Can't debug my ASP.net application

Sygrien 21 Reputation points
2022-07-03T15:41:40.52+00:00

Hello,

I'm developing an ASP.net app using Visual Studio Professional 2019. I use Microsof Edge as a browser.
When I start my app without debugging (Ctrl + F5), everything works fine.
When I start my app with debugging (F5), I get this error message :

Hmmm… can't reach this page
It looks like the webpage at file:///C:/%5CProgramData%5CMicrosoft%5CVisualStudio%5CEdgeAdapter%5C94d888de/landingPage.html might be having issues, or it may have moved permanently to a new web address.

It is really weird, because %5C is the equivalent of a backslash. And when replacing all the %5C with "\", I can see that the page indeed exists.

Looking into IIS (version 10), I have fiddled around and tried being smart : I changed the value of "Enable 32-bit Applications" of my AppPool to "True", but this doesn't change anything.

Help, please !

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,277 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
943 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sygrien 21 Reputation points
    2022-07-04T05:43:11.537+00:00

    Thank you ZhiLv,
    I don't redirect/open anything. The debugger is trying to open this landing page !!
    When I don't use the debugger, I end up on a page of my application, with the url of my application.
    The app is a .net Framework app.
    Thanks again.

    0 comments No comments