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...
Answered

Not able to download the symbols while creating a workspace

(0) ShareShare
ReportReport
Posted on by 607

HI All,

My Cloud Sandbox for Business Central got recently updated to : 

pastedimage1589875540603v1.png

So i selected 5.0 version while creating a workspace : 

pastedimage1589875637311v2.png

And then i gave the usual parameters severInstance,sandboxname and server in the launch.json file and when i try download the symbols , its giving me the following error : 

Error: An error occurred while sending the request. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.. An existing connection was forcibly closed by the remote host. [2020-05-19 13:25:56.06] Error: An error occured while processing the request. Request ID: d80bb7a0-5123-4d6e-97ec-b671fdd619c1 Session ID: 29c4ccc4-faf8-4cd8-b1b6-cc1ac3786b1c If you are targeting a cloud instance, supply these IDs if contacting Microsoft support.

I have tried a lot and i am really stuck in this for a long time.

PLEASE HELP!!!!!!!!

I have the same question (0)
  • Verified answer
    Chameera Kavinda Profile Picture
    510 on at

    Hi AXBOY,

    Try again adding "tenant" property in launch.app file. Remove the "ServerInstance" property also.

    6735.PNG

  • Suggested answer
    THE Italian Profile Picture
    on at

    It would be helpful if you paste here the launch.json AND app.json files from your AL extension folder. These should be changed accordingly and target verrsion 16.0.0.0

  • Anders Hedegaard Profile Picture
    285 on at

    Did you try to restart Visual Studio Code? :-)

  • AXBOY Profile Picture
    607 on at

    I have removed the server instance and added tennant Id as told but still getting the same error .

    Also i have restarted the VS code, still same error.

    My code on Launch.json :

               "type": "al",

               "request": "launch",

               "sandboxName": "DevTraining",

               "name": "Microsoft cloud sandbox",

               "server": " XXXXXXX...",

               "tenant": "XXXXXXXXXXXXXXXXXXXXXX....",

               "startupObjectId": 22,

               "startupObjectType": "Page",

               "breakOnError": true,

               "launchBrowser": true,

               "enableLongRunningSqlStatements": true,

               "enableSqlInformationDebugger": true

    and App.Json :

    "id": "XXXXXXXXXXXXXXXXXXXXXXXXXXXX",

     "name": " XXXX",

     "publisher": "XXXXX",

     "version": "1.0.0.0",

     "brief": "",

     "description": "",

     "privacyStatement": "",

     "EULA": "",

     "help": "",

     "url": "",

     "logo": "",

     "dependencies": [

       {

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

         "publisher": "Microsoft",

         "name": "System Application",

         "version": "16.0.0.0"

       },

       {

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

         "publisher": "Microsoft",

         "name": "Base Application",

         "version": "16.0.0.0"

       }

     ],

     "screenshots": [],

     "platform": "16.0.0.0",

     "idRanges": [

       {

         "from": 50000,

         "to": 99999

       }

     ],

     "contextSensitiveHelpUrl": "XXXXXXXXXXXXXXXXX",

     "showMyCode": true,

     "runtime": "5.0"

    Please HELP!

  • Verified answer
    THE Italian Profile Picture
    on at

    1. Press F1 and search for clear credential cache, select the command and hit return. Be sure to enter the right credentials

    2. Try with the below launch and app.json by changing the appropriate app id, tenant id, sandbox name

    3. Go to Tenant Admin Center (TAC) and be sure that you have an operational sandbox with that name and with version 16 or 16.1

    4. If 1 and 2 does not work, open a request to Microsoft support through your CSP partner

    {

       "version": "0.2.0",

       "configurations": [

           {

               "type": "al",

               "request": "launch",

               "name": "Microsoft cloud sandbox",

               "startupObjectId": 22,

               "startupObjectType": "Page",

               "breakOnError": true,

               "launchBrowser": true,

               "enableLongRunningSqlStatements": true,

               "enableSqlInformationDebugger": true,

               "sandboxName": "MySandboxName",

               "tenant": "0bb068ce-dbc2-4e4f-ae3a-67726e31decd"

           }

       ]

    }

    {

     "id": "0bb068ce-dbc2-4e4f-ae3a-67726e31decd",

     "name": "ALProject8",

     "publisher": "Default publisher",

     "version": "1.0.0.0",

     "brief": "",

     "description": "",

     "privacyStatement": "",

     "EULA": "",

     "help": "",

     "url": "",

     "logo": "",

     "dependencies": [],

     "screenshots": [],

     "application": "16.0.0.0",

     "platform": "16.0.0.0",

     "idRanges": [

       {

         "from": 50100,

         "to": 50149

       }

     ],

     "contextSensitiveHelpUrl": "ALProject8.com/.../",

     "showMyCode": true,

     "runtime": "5.0"

    }

  • AXBOY Profile Picture
    607 on at

    Thank u, it worked now.

    But i noticed one strange thing that symbols are getting downloaded on both 4.0 and 5.0 platform even though my sandbox updated to 16.0 version. Can you please explain how this is possible?

    And Also which platform should i choose among those 2?

  • Suggested answer
    THE Italian Profile Picture
    on at

    Depends what you are targeting for as MINIMUM. If you choose 4 then it will create a template for 15 (hence you could go for 16 too). If you choose 6, it will create a template for 16.

  • AXBOY Profile Picture
    607 on at

    So i guess selecting both of them is right?

    Also is it possible to change the launch browser, right now its taking the Internet explorer , can i change it to chrome?

  • Verified answer
    THE Italian Profile Picture
    on at

    Yes. You have to specify your browser parameter in the settings.json file

    docs.microsoft.com/.../devenv-al-extension-configuration

  • AXBOY Profile Picture
    607 on at

    Thank you all so much for the 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,010

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans