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

dalmatinko
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
…"

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!
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
…"

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!
0
Comments
-
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.0 -
By the way, intellisense doesn't suggest 4.2 but you can enter it in app.json and see if it compiles0
-
Thanks DenSter!
Your first suggestion helped me to access VSCode to Docker Sandbox.
Best regards,
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions