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 :
Microsoft Dynamics NAV (Archived)

NAV2018 Extensions : No Server has been chosen

(0) ShareShare
ReportReport
Posted on by 134

Hi all, 

I have been working on an extension for NAV2018. I have managed to create a new project in VSCode and generated the symbols. The issue is when I try to download symbols as I get an error simply stating "No Server has been chosen". 

I have specified the server's and the rest of the details in the launch.json as follows; 

{
"version": "0.2.0",
"configurations": [
{
"type": "al",
"request": "launch",
"name": "Your own server",
"server": "http://localhost",
"serverInstance": "NAV2018",
"authentication": "Windows",
"startupObjectId": 22,
"port": 7049,
"schemaUpdateMode": "Synchronize"
}
]
}
When I try to download the symbols of the demo database that comes with the installation i.e. the "serverinstance" & "port" properties of the launch.json point to the NAV instance linked with the demo database, it gives no errors. Any ideas why such error could occur? 
Thanks in advance. 

*This post is locked for comments

I have the same question (0)
  • Y_NAV_1716 Profile Picture
    134 on at
    RE: NAV2018 Extensions : No Server has been chosen

    Had some time to check this out ... this solved it! thanks!

  • Verified answer
    Community Member Profile Picture
    on at
    RE: NAV2018 Extensions : No Server has been chosen

    Hi,

    We also encountered this problem and in our case the cause was that we used workspaces in Visual Studio code. If the project was opened from the workspace, the error message was displayed, but when we opened it as a folder, it did not appear.
    The workspace did not contain any configuration changes. We did not find out what exactly the cause of the problem was, it looks like the AL extension has a general problem with workspaces.

    Chris

    Edited: typo

  • Y_NAV_1716 Profile Picture
    134 on at
    RE: NAV2018 Extensions : No Server has been chosen

    Hi, thanks for the links above. 

    I had already published the app and generated the symbols as explained in the article though :( 

    Any other ideas, any one? 

  • Suggested answer
    I Gusti Made Ari Profile Picture
    3,594 on at
    RE: NAV2018 Extensions : No Server has been chosen

    Then issue could be due to your database . Please check from event viewer if any error.

    Is your NAV2018 database is upgraded one ?

    if that the case please do following first :

    blogs.msdn.microsoft.com/.../import-symbols-in-new-or-upgrade-databases-with-microsoft-dynamics-nav-2018

    Similar issue can be found on below :

    github.com/.../3641

  • Y_NAV_1716 Profile Picture
    134 on at
    RE: NAV2018 Extensions : No Server has been chosen

    Hi , thanks for your reply.

    Yes developer service is running and enable loading app. symbols at server startup are enabled. Also, yes i did generate the symbols, successfully, before trying to download them using the command you've mentioned.

    Any other ideas?

    Thanks!

  • Suggested answer
    I Gusti Made Ari Profile Picture
    3,594 on at
    RE: NAV2018 Extensions : No Server has been chosen

    Hi , please make sure Developer Service is running and "Enable loading application symbols at server startup" is checked at the development tab at the service configuration.

    you also need to run below command first to generate symbol of your database before download symbol :

    sample :

    finsql.exe Command=generatesymbolreference, Database="Demo Database NAV (11-0)", ServerName=.\NAVDEMO

    Details :

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-running-cside-and-al-side-by-side

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans