Connect Business Central On Premises from VS Code
manikandan
Member Posts: 160
Hi All,
When I am trying to connect Business Central On Premises from AL getting below error message ,
Note:
But I can able connect to NAV 2018 from AL and can do customization also with out any issue
Please help .

When I am trying to connect Business Central On Premises from AL getting below error message ,
Note:
But I can able connect to NAV 2018 from AL and can do customization also with out any issue
Please help .

0
Best Answers
-
No, that's not what I meant. I referred to the AL Language extension in VS Code. Update it by downloading it from the marketplace.
Just uninstall the one you have and then search for AL Language and install it from the online marketplace.
A good programmer makes al the right mistakes
My blog5 -
Hi AJ,
Issue has been closed. I just closed and reopened my AL and now I Can able to publish to the server.Thanks for your support
0
Answers
-
I think you are not using the latest AL extension for VS Code.
Download it from VS Code marketplace and then add this property to your app.json:
"runtime": "2.0"
After you have downloaded the latest AL extension for VS Code, your AL apps for NAV 2018 should get this line in app.json:
"runtime": "1.0"
A good programmer makes al the right mistakes
My blog0 -
Hi AJ,
Can you please confirm is this correct ?
0 -
No, that's not what I meant. I referred to the AL Language extension in VS Code. Update it by downloading it from the marketplace.
Just uninstall the one you have and then search for AL Language and install it from the online marketplace.
A good programmer makes al the right mistakes
My blog5 -
Hi Aj ,
Thanks for your reply now I have updated my AL code .
Now I am getting below error message ,
But I have already set it in NAV Admin as below
and I made NetFx40_LegacySecurityPolicy enabled="false also from below folder
C:\Program Files\Microsoft Dynamics 365 Business Central\130\Service
Is any thing missing Can you please guide me !
0 -
Hi AJ,
Issue has been closed. I just closed and reopened my AL and now I Can able to publish to the server.Thanks for your support
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K 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
- 324 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