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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Business Central - Stops opening randomly (problem occurs while running code in VScode)

(0) ShareShare
ReportReport
Posted on by 85

Hello Experts,

I have encountered a strange problem. I have been modifying a report in BC and constantly am deploying/publishing my AL Code pack to launch into the browser and investigate if my changes are working. Lately every once in a while the window will not open (or it will open and ask me to refresh) after this happens I am unable to access BC from the browser or by launching into it from VSCode. If I try I either get ellipsis that stay for seemingly forever or this error message 

2020_2D00_01_2D00_08-09_5F00_52_5F00_09_2D00_Window.png2020_2D00_01_2D00_08-10_5F00_02_5F00_00_2D00_.png.

Below is the Launch.JSON code in my app.

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "al",
            "request": "launch",
            "name": "Sandbox15",
            "startupObjectId": 9650,
            "startupObjectType": "Page",
            "breakOnError": true,
            "launchBrowser": true,
            "enableLongRunningSqlStatements": true,
            "enableSqlInformationDebugger": true,
            "sandboxName": "Sandbox15",
            "schemaUpdateMode": "Synchronize",
            "tenant": "84901946-819a-43fb-9629-ac9dcec87601"
        },
    ]
}

Does anyone know what is causing this to happen? And if so how can I fix it? I've done things with this environment before but never encountered this trouble.

Thanks,

I have the same question (0)
  • keoma Profile Picture
    32,729 on at

    whats your al code you want to run?

    please add also the app.json.

  • James French Profile Picture
    25 on at

    Hello Archer, I am trying to run some report code and my app.JSON looks like this (see below)

    Possibly related to this is Business Central has been SUPER SUPER SLOW to the point it will time out and ask me to refresh and wake the page whenever I scroll down too fast, or at certain points when trying to add a new report design / layout.

    {

     "id": "032c13c0-6441-41e2-91d4-9eea259f4936",

     "name": "Lori Morris Reports PO_SO_SINV",

     "publisher": "Default publisher",

     "version": "1.0.0.6",

     "brief": "",

     "description": "",

     "privacyStatement": "",

     "EULA": "",

     "help": "",

     "url": "",

     "logo": "",

     "dependencies": [

       {

         "appId": "63ca2fa4-4f03-4f2b-a480-172fef340d3f",

         "publisher": "Microsoft",

         "name": "System Application",

         "version": "1.0.0.0"

       },

       {

         "appId": "437dbf0e-84ff-417a-965d-ed2bb9650972",

         "publisher": "Microsoft",

         "name": "Base Application",

         "version": "15.0.0.0"

       }

     ],

     "screenshots": [],

     "platform": "15.0.0.0",

     "idRanges": [

       {

         "from": 50100,

         "to": 50149

       }

     ],

     "contextSensitiveHelpUrl": "DebugSandbox15.com/.../",

     "showMyCode": true,

     "runtime": "4.0"

    }

  • Suggested answer
    Olister Rumao Profile Picture
    3,967 on at

    Hi,

    I have observed this issue while my sandbox is on update.

    Also, make sure that your tenant id is correct and startup objects are correctly defined.

    Let me know if you need help!

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans