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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

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.

(0) ShareShare
ReportReport
Posted on by

Hi,

I am currently creating a project on visual code with AL code extension for business central. I have recently updated the docker to 2.0.02. After that, while publishing, I have encountered an error saying:

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: 2.3
- Web API: 2.0
- Debugger: 2.0

AL extension details
- Supported runtimes: 1.0, 2.0, 2.1, 2.2
- Supported Web API: 1.0, 2.0
- Supported debuggers: 1.0, 2.0

2605.Capture.PNG

My AL extension is currently up-to-date.

When I update my run time version to 2.3 to match the server, I would receive another error:

error AL1043: The runtime version '2.3' is not supported by the AL compiler.
Error: The package could not be created.
0552.Capture2.PNG

Is there a fix to this?

Categories:
I have the same question (0)
  • Nishit Profile Picture
    2 on at

    hi christelle,

    it seems that runtime 2.3 not supported by your target environment,

    Kindly set this as 2.0 in App.json and try it again.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Whick Docker images are you using? With Docker-based images, if you're using developer preview images it's recommended to use the .vsix file that you can download directly from the Docker container. If you check Docker logs, you can find the .vsix file. 

    If you're using the standard bcsandox build, then set "runtime": "2.2" in app.json.

  • Community Member Profile Picture
    on at

    Hi Nishit, when I set the runtime to 2.0 it still gives the same error. Is there a way to change the server's runtime instead?

  • Community Member Profile Picture
    on at

    Hi Stefano, where can I find the docker logs?

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    just write docker logs on your command prompt.

  • Suggested answer
    Saurav.Dhyani Profile Picture
    14,468 User Group Leader on at

    christelle,

    Hope this helps -

    https://saurav-nav.blogspot.com/2019/01/msdyn365bc-error-this-al-extension.html

  • Community Member Profile Picture
    on at

    Hi Saurav, where can I get the updated dvd? I have tried downloading from microsoft partnersource (mbs.microsoft.com/.../bconpremdownload) and downloaded w1 but the al extension version is still dated 11/13/2018

    0535.Capture3.PNG

    Can you help me get the latest product DVD?

  • Rdobryanskyy1 Profile Picture
    5 on at

    What if I am running OSX and have the same problem?

    [2020-03-18 20:47:11.35] 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.4

    - 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, 4.1, 4.2, 4.3

    - Supported Web API: 1.0, 2.0, 3.0, 4.0

    - Supported debuggers: 1.0, 2.0, 3.0

    The AL extension was installed today. I don't have CD, I don't have CD-ROM. Any ideas where I can find proper VSIX?

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    What D365BC version are you using? Platform 13 is D365BC version 13.x (quite old). For runtime, use the suggested options accordingly to your D365BC version.

  • Rdobryanskyy1 Profile Picture
    5 on at

    Where I can check this? I am new to D365BC. I am running it at home.dynamics.com, not on the local server.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans