Search code examples
c#azureremote-debuggingazure-web-app-service

Azure error, cannot locate Internet Explorer


VS2017 C#

I have done this many times in the past on another PC. Azure App set to debug, 2017, published debug version of code.

In VS 2017 Right-Clicked WebApp in Server Explorer / Attach Debugger.

Getting Config...
Warming up site...
Finding process to attach to...

Then a dialogue appears...

Server Explorer
    Unable to start program 'http://DaDeDa.azurewebsites.net'.
    Cannot locate Microsoft Internet Explorer.

I'm running this from a Windows 10 PC Edge/Chrome only. I think I uninstalled Internet Explorer a while back.

Do I really need it to debug? OR Is there a setting somewhere I can change to Edge/Chrome?

Thanks


Solution

  • 1.You could go to this page and reinstall Internet Explorer on Windows 10.

    2.Or you could choose this way.Run regedit and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\App Paths.

    If IEXPLORE.EXE doesn't exist, add it.Then change the (Default) REG_SZ value to C:\Program Files\Internet Explorer\iexplore.exe and create a new REG_SZ, name the value with Path and set the data to C:\Program Files\Internet Explorer.

    Here is the reference.If you still have questions, please let me know.