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

Visual Studio Code can´t download symbols, in production envionment

(0) ShareShare
ReportReport
Posted on by 49

Hey

Im trying to download symbols for the production enviroment. But it fails. First i got "internal server error" and when i cleaned the cache to login again it wont accept my credentials. Even tho they are right.

Anyone has experience of this?

Thanks!

I have the same question (0)
  • Verified answer
    Steven Renders Profile Picture
    5,672 Moderator on at

    Is it a BC Saas production environment? VSCode can only connect to sandboxes, that might be why?

  • Knofan Profile Picture
    49 on at

    Yes, that is the case. Thank you. I did not realize this. If i like to put things to an production environment. How do i do?

  • Suggested answer
    Steven Renders Profile Picture
    5,672 Moderator on at

    VSCode can only connect to a sandbox, not a production environment. In a production environment, you can do the following:

    To install an extension by using the client

    1. In Dynamics 365 Business Central, use search to open the Extension Management page.

    In the Extension Management window, you can view the extensions that are published to your server. For each extension, you can see the current installation status.

    2. Choose an extension to see additional information and to install the extension.

    3. Review and accept the license agreement.

    4. Choose the Install button to install the extension.

  • Suggested answer
    pankaj.k Profile Picture
    994 on at

    Hi,

    You can't Download symbols form the Production Environment. you need user sandbox Environment for downloading the symbols.

  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at

    Adding more info about the Launch.json file with sandbox environment.

    {
        "version": "0.2.0",
        "configurations": [
            {
                "name": "sandbox",
                "request": "launch",
                "type": "al",
                "environmentType": "Sandbox",
                "environmentName": "Sandbox",
                "tenant": "031bddaf-157a-4XXXXXXX-0d993549c547",
                "startupObjectId": 22,
                "startupObjectType": "Page",
                "breakOnError": true,
                "launchBrowser": false,
                "enableLongRunningSqlStatements": true,
                "enableSqlInformationDebugger": true
            }
        ]
    }
  • Robert Jolliffe Profile Picture
    885 on at

    Make sure your Sandbox environment is actually called Sandbox.  We have renamed ours and if I forget this it won't connect.

    Close all your Chrome/Edge pages and make sure it isn't running in the background (to make sure it's not picking up the wrong credentials somewhere).

  • Suggested answer
    YUN ZHU Profile Picture
    95,329 Super User 2025 Season 2 on at

    Hi, just adding some info.

    In vs code, you can only do snapshot Debugging in Production environment.

    Snapshot Debugging (Debugging in Cloud Production)

    https://yzhums.com/13350/

    Hope this helps as well.

    Thanks.

    ZHU

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,143

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans