Skip to main content

Notifications

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

  • kuhi Profile Picture
    10 on at
    RE: Download AL symbols not found error, how to change my connection url?

    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

  • Suggested answer
    MahGah Profile Picture
    15,445 on at
    RE: Download AL symbols not found error, how to change my connection url?

    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

  • Suggested answer
    YUN ZHU Profile Picture
    84,557 Super User 2025 Season 1 on at
  • Suggested answer
    MahGah Profile Picture
    15,445 on at
    RE: Download AL symbols not found error, how to change my connection url?

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

  • kuhi Profile Picture
    10 on at
    RE: Download AL symbols not found error, how to change my connection url?

    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,445 on at
    RE: Download AL symbols not found error, how to change my connection url?

    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

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans