AL extension version for Visual Studio Code cannot be used with the specified server.

dalmatinkodalmatinko Member Posts: 11
Hi all,

maybe someone have an idea what can be reason for the error receiving when try to connect BC15 (Sandbox on local Docker).

"...
[2020-02-17 16:15:34.32] Publishing AL application using launch configuration 'Your own server'.
[2020-02-17 16:15:34.89] Targeting server 'http://172.22.160.178' and server instance 'BC'.
[2020-02-17 16:15:34.89] Using Windows authentication.
[2020-02-17 16:15:34.91] Sending request to http://172.22.160.178:7049/BC/dev/metadata
[2020-02-17 16:15:35.41] Error: This AL extension version for Visual Studio Code cannot be used with the specified server.
Please update the AL extension from the Visual Studio Code marketplace.

Additional information:
Server details
- Runtime: 4.2
- Web API: 4.0
- Debugger: 3.0

AL extension details
- Supported runtimes: 1.0, 2.0, 2.1, 2.2, 2.3, 2.4, 3.0, 3.1, 3.2, 4.0
- Supported Web API: 1.0, 2.0, 3.0, 4.0
- Supported debuggers: 1.0, 2.0, 3.0
…"


qbabuawm4lys.png


I've tried to update AL extension (there is nothing found to update) and I can't find 4.2 version, only 4.0 is allowed for me to select in "app.json".

Thanks!

Comments

  • DenSterDenSter Member Posts: 8,307
    The container should have a compatible version of the AL extension as a download. It's a .vsix file that you can install in VSCode, and that should work.

    Open web browser on the host where you have your container and go here:
    http://yourcontainername:8080/
    Copy the vsix file to the host, then type 'vsix' in the command palette and install it from there.
  • DenSterDenSter Member Posts: 8,307
    By the way, intellisense doesn't suggest 4.2 but you can enter it in app.json and see if it compiles
  • dalmatinkodalmatinko Member Posts: 11
    Thanks DenSter!

    Your first suggestion helped me to access VSCode to Docker Sandbox.

    Best regards,
Sign In or Register to comment.