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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Download AL symbols not found error, how to change my connection url?

(0) ShareShare
ReportReport
Posted on by 10

Why my Visual Studio is connecting to 

http://adrianbc/BC/dev/metadata?tenant=default
?

I'm able to connect by browser to Business Central:
 pastedimage1644692358044v1.png

When I try to download AL symbols I get Not Found error:

[2022-02-11 13:20:58.02] Using reference symbols cache path: c:\Users\dimitri\OneDriveArqui\AL\Pan\./.alpackages
[2022-02-11 13:20:58.02] Sending request to http://adrianbc/BC/dev/metadata?tenant=default
[2022-02-11 13:20:58.03] The request for path /BC/dev/metadata?tenant=default failed with code NotFound. Reason: Not Found
[2022-02-11 13:20:58.03] Sending request to http://adrianbc/BC/dev/webendpoint
[2022-02-11 13:20:58.03] The request for path /BC/dev/webendpoint failed with code NotFound. Reason: Not Found
[2022-02-11 13:20:58.03] Sending request to http://adrianbc/BC/dev/metadata?tenant=default
[2022-02-11 13:20:58.03] The request for path /BC/dev/metadata?tenant=default failed with code NotFound. Reason: Not Found
[2022-02-11 13:20:58.03] Sending request to http://adrianbc/BC/dev/webendpoint
[2022-02-11 13:20:58.04] The request for path /BC/dev/webendpoint failed with code NotFound. Reason: Not Found
[2022-02-11 13:20:58.04] Sending request to http://adrianbc/BC/dev/metadata?tenant=default
[2022-02-11 13:20:58.04] The request for path /BC/dev/metadata?tenant=default failed with code NotFound. Reason: Not Found
[2022-02-11 13:20:58.04] Sending request to http://adrianbc/BC/dev/webendpoint
[2022-02-11 13:20:58.04] The request for path /BC/dev/webendpoint failed with code NotFound. Reason: Not Found

Here is my launch.json:

{
"version": "0.2.0",
"configurations": [        
    {
        "type": "al",
        "request": "launch",
        "name": "AdrianBC local",
        "server": "http://AdrianBC",
        "port": 80,
        "serverInstance": "BC",
        "authentication": "UserPassword",
        "breakOnError": true,
        "launchBrowser": true,
        "enableLongRunningSqlStatements": true,
        "enableSqlInformationDebugger": true,
        "tenant": "default",
        "schemaUpdateMode": "Synchronize"
    }
]}

Here is my docker setup:

Mounting Tenant
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Creating http download site
Setting SA Password and enabling SA
Creating adrian as SQL User and add to sysadmin
Creating SUPER user
Container IP Address: 172.24.103.254
Container Hostname  : AdrianBC
Container Dns Name  : AdrianBC
Web Client          : http://AdrianBC/BC/?tenant=default
Dev. Server         : http://AdrianBC
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting AdrianBC to 172.24.103.254 in host hosts file
Setting AdrianBC-default to 172.24.103.254 in host hosts file
Setting AdrianBC-default to 172.24.103.254 in container hosts file

Files:
http://AdrianBC:8080/ALLanguage.vsix

Container Total Physical Memory is 8.5Gb
Container Free Physical Memory is 5.8Gb

Initialization took 38 seconds
Ready for connections!
Reading CustomSettings.config from AdrianBC
Creating Desktop Shortcuts for AdrianBC
Container AdrianBC successfully created

Use:
Get-BcContainerEventLog -containerName AdrianBC to retrieve a snapshot of the event log from the container
Get-BcContainerDebugInfo -containerName AdrianBC to get debug information about the container
Enter-BcContainer -containerName AdrianBC to open a PowerShell prompt inside the container
Remove-BcContainer -containerName AdrianBC to remove the container again
docker logs AdrianBC to retrieve information about URL's again

PS C:\WINDOWS\system32> 

This is how I've created the docker in PowerShell:

Enable-WindowsOptionalFeature -Online -FeatureName $("Microsoft-Hyper-V", "Containers") -All

Set-ExecutionPolicy -ExecutionPolicy Unrestricted

Import-Module PowerShellGet

Install-Module -Name BcContainerHelper

$artifactUrl = Get-BCArtifactUrl -version 19 -country es  -type Sandbox

New-BCContainer -accept_eula -accept_outdated -containerName AdrianBC -artifactUrl $artifactUrl -shortcuts DesktopFolder -updateHosts -isolation hyperv -doNotExportObjectsToText -restart no -auth UserPassword -Verbose -locale "es-ES"

EDIT:
Created new container with -auth NavUserPassword and with your .json
Didn't work it's still adding /dev to url like sandboxbc/.../metadata
Also removing the final / on server url to look like http://AdrianBC didn't make a difference

  • Suggested answer
    MahGah Profile Picture
    15,613 on at

    Hi

    Recently I was trying to install docker and AL and had lots of issue as well. I list a few things that helped me below. I hope this help you as well. 

    For your Launch file maybe try the below setting. Just change the server with http://AdrianBC

    {
        "version": "0.2.0",
        "configurations": [
            {
                "name": "Your own server",
                "request": "launch",
                "type": "al",
                "environmentType": "OnPrem",
                "server": "http://devsandbox2022",
                "serverInstance": "BC",
                "authentication": "UserPassword",
                "startupObjectId": 22,
                "startupObjectType": "Page",
                "breakOnError": true,
                "launchBrowser": true,
                "enableLongRunningSqlStatements": true,
                "enableSqlInformationDebugger": true,
                "tenant": "default"
            }
        ]
    }

    Also, maybe try to create container but use -auth NavUserPassword  instead of -auth UserPassword

  • kuhi Profile Picture
    10 on at

    Created new container with -auth NavUserPassword and with your .json

    Didn't work it's still adding /dev to url like sandboxbc/.../metadata

    Also removing the final / on server url to look like http://AdrianBC didn't make a difference

  • Suggested answer
    MahGah Profile Picture
    15,613 on at

    Maybe try to post the issue here as well. I hope someone can provide a solution.  github.com/.../

  • Suggested answer
    YUN ZHU Profile Picture
    104,211 Super User 2026 Season 2 on at
  • Suggested answer
    MahGah Profile Picture
    15,613 on at

    Hi

    1) When you used the json file did you replaced on-prem with Sandbox? Looks like you have Sandbox and not On-prem

    2) Can you try to install older version like version 17 and try? still use NavUserPassword

  • kuhi Profile Picture
    10 on at

    I've created a new container with type "OnPrem" and version 19 latest.

    Created a new Visual Studio Code project and worked perfectly.

    Not sure what happens, maybe it's not working as sandbox but as onprem is working... but well it's solved 

    Thanks 4 everyone who helped :D

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 569 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 375 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 228 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans