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

Notifications

Announcements

Community site session details

Community site session details

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

Login to BC Wave2 15 OnPrem from Visual Studio Code failed

(0) ShareShare
ReportReport
Posted on by 20

Hello,

I'm old on NAV but new on BC, developed some extensions for NAV without problems. Now BC Wave2 15 OnPrem installed (Win10 Prof) my problem is to login to BC from Visual Studio Code. I' m using Workgroup no domain going for my first "HelloWorld" example. But on trying download symbols or running without debugging (CTRL+F5) I can enter my username an password but nothing happens instead of that I can repeat this endless. No reaktion at all. There is no entry at the event log and no error message at the output of VSCode.

Service settings "developer service endpoint" is set. "Enable loading application symbol referendes at server startup" is set.

VSCode is showing this - nothing more. (why is there version 16 set - I'm using BC 15, it is a issue) :

[2020-04-25 22:42:35.02] Sending request to localhost:7049/.../packages Application&versionText=16.0.0.0

app.json looks like this:
{
  "id": "09fef5d8-b250-412c-a672-c397a9e4906d",
  "name": "Test4",
  "publisher": "Default publisher",
  "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": 50100,
      "to": 50149
    }
  ],
  "contextSensitiveHelpUrl": "">https://Test4.com/help/",
  "showMyCode": true,
  "runtime": "5.0",
  "target": "OnPrem"
}

launch.json:
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Publish: Your own server",
            "type": "al",
            "request": "launch",
            "server": "http://localhost",
            "serverInstance": "BC150",
            "authentication": "UserPassword",
            "startupObjectId": 22,
            "breakOnError": true,
            "breakOnRecordWrite": false,
            "launchBrowser": true,
            "enableSqlInformationDebugger": true,
            "enableLongRunningSqlStatements": true,
            "longRunningSqlStatementsThreshold": 500,
            "numberOfSqlStatements": 10,
            "port": 7049
    
            
        }
       
    ]
}

Sometimes eventlog shows this but I don't know if this is an reaktion of non working login:

The permission settings for "application specific" will give the user ... no "Local Activation" authorization for the COM server application with the CLSID ... and the APPID .... granted in the application container "Not available" (SID: Not available). Security entitlement can be changed using the Component Services Administration Tool.

Can anyone help me please?

BCDeveloper

I have the same question (0)
  • Verified answer
    Salah Eddine BENOUALA Profile Picture
    485 on at

    Hi dear,

    You installed BC 15 (2019 wave 2) and you are setting up extension for BC 16 (2020 Wave 1).

    Please select runtime 4.0 instead of 5.0 when creating the extension.

    pastedimage1587853630081v2.png

    Make also sure that you are using the correct authentication (Authentication="Windows" if you log in with windows credentials)

    And don't forget to enable symbols download and endpoint in Business Central Administration

    -----------------------------------------

    Best Regards,

    Salah Eddine BENOUALA

    Dynamics NAV & 365 Business Central Consultant

    Please verify my answer, if you find it helpful.

    Doing so you'll show others that there was found a solution and you credit my help.

  • BCDeveloper Profile Picture
    20 on at

    So thank you. The problem was having wrong versions on VSC for BC2019 Wave 2. Stepping back to AL Language 15.0 it works - but login doesn't fail again. This is because setting authentication to windows doesnt work because of missing SSL parameter. But I cant set it because of missing certificate. This is what I have to fix next.

    Best regards

    BCDeveloper

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

News and Announcements

Season of Giving Solutions is Here!

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 1,638

#2
YUN ZHU Profile Picture

YUN ZHU 837 Super User 2025 Season 2

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 704 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans