Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Error While downloading the symbol in VS Code

Posted on by 139

Hii Team we are getting error while download the symbol in visual code 

The Error was

If you are targeting a cloud instance, supply these IDs if contacting Microsoft support.
[2023-01-24 18:22:46.73] The request for path /BC140/dev/metadata?tenant=default failed with code InternalServerError. Reason: Internal Server Error
[2023-01-24 18:22:46.73] Sending request to localhost:7049/.../metadata
[2023-01-24 18:22:46.80] Error: An error occured while processing the request.
pastedimage1674564919868v1.png
Thanks 
Johnson
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 68,395 Super User 2024 Season 2 on at
    RE: Error While downloading the symbol in VS Code

    Hi, just adding some info.

    After the On-Pre version is installed by default, some settings need to be turned on.

    Hope the following helps.

    pastedimage1674607489827v1.png

    pastedimage1674607543897v2.png

    Thanks.

    ZHU

  • Suggested answer
    Govinda Kumar Profile Picture
    Govinda Kumar 2,201 Moderator on at
    RE: Error While downloading the symbol in VS Code

    Hi Johnson Samuel,

    Kindly use that format,

    {

       "version": "0.2.0",

       "configurations": [

           {

               "name": "Your own server",

               "request": "launch",

               "type": "al",

               "environmentType": "OnPrem",

               "server": "http://localhost:8080/BC140",

               "serverInstance": "BC190",

               "authentication": "Windows",

               "startupObjectId": 9307,

               "startupObjectType": "Page",

               "breakOnError": "All",

               "launchBrowser": true,

               "enableLongRunningSqlStatements": true,

               "enableSqlInformationDebugger": true,

               "tenant": "default",

               "schemaUpdateMode": "Synchronize"

           }

       ]

    }

    Replace BC190 with your version.

    Regards

    Govinda Kumar

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 58,859 Super User 2024 Season 2 on at
    RE: Error While downloading the symbol in VS Code

    Are you using OnPrem or Cloud?

    If Cloud then just use

    {

       "version": "0.2.0",

       "configurations": [

           {

               "name": "Microsoft cloud sandbox",

               "request": "launch",

               "type": "al",

               "environmentType": "Sandbox",

               "environmentName": "Sandbox", //Your sanbox name here

               "startupObjectId": 22,

               "startupObjectType": "Page",

               "breakOnError": true,

               "launchBrowser": true,

               "enableLongRunningSqlStatements": true,

               "enableSqlInformationDebugger": true

           }

       ]

    }

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 20,995 Moderator on at
    RE: Error While downloading the symbol in VS Code

    Hi,

    Try to add one more property as below

    "environmentType":"OnPrem",

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,252 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,089 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans