web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

How to change the default browser when running a runnable class in AX

(0) ShareShare
ReportReport
Posted on by

Hello,

Does anyone know how to change the default browser when debug a runnable class in AX in Visual Studio 2019?

(My default browser in my system is Chrome.)

I tried to run a runnable class in Visual studio 2019, such as the simplest code below.

internal final class Test
{
    public static void main(Args _args)
    {
        info("Hello AX");
    }

}

The problem is that, when I run the class (already set the class as startup object), the default browser is always Internet Explorer.

Furthermore, the Internet Explorer cannot support the running process, and will display an error message below.

pastedimage1662644618037v1.png

If I clicked "Leave this page", the web will show like this.

pastedimage1662644871834v3.png

If I clicked the "Stay on this page", the web will show like this.

pastedimage1662644733110v2.png

Can anyone provide some suggestions for me?

Thank you.

Warm regards.

Kai Cheng

I have the same question (0)
  • Komi Siabi Profile Picture
    13,049 Most Valuable Professional on at
    RE: How to change the default browser when running a runnable class in AX

    On your VM, change the default browser.

    Windows Key - > Default apps -> Web browser

  • Suggested answer
    nunomaia Profile Picture
    23 Moderator on at
    RE: How to change the default browser when running a runnable class in AX

    Try to change in debug settings of Visual Studio. Screenshot of settings 

    pastedimage1662647813002v1.png

  • Kai Cheng Profile Picture
    on at
    RE: How to change the default browser when running a runnable class in AX

    Hi Komi,

    Thank you for reply.

    I already set chrome as my default web browser, and the problem is I want to change the default browser when debugging in Visual Studio.

    Nuno gave me the answer I need.

    Thank you for your kindness.

    Warm regards,

    Kai Cheng

  • Kai Cheng Profile Picture
    on at
    RE: How to change the default browser when running a runnable class in AX

    Hi Nano,

    Thank you so much. That's what I need!

    I searched it on the Internet for hours, but haven' t find the answer which can solve my problem.

    It's so nice to see your reply.

    Thank you again.

    Warm regards.

    Kai Cheng

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 861

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287 Super User 2025 Season 2

#3
Sagar Suman Profile Picture

Sagar Suman 230 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans