vS code connection to business cental database?
mdsr
Member Posts: 163
Hi all,
I am trying to built my first extension i need to some pre settings of vs code for on premices but dont know how to do can anyone guide me

I am trying to built my first extension i need to some pre settings of vs code for on premices but dont know how to do can anyone guide me

-1
Answers
-
Looks like you are missing the Symbols...you have to download Symbols in VS Code, press Shift+Control+P to open Command Palette and then write AL>Download Symbols.1
-
yes i am unable to download symbol giving me this error:
Could not download symbols. Please see the Visual Studio Code output log for more details.-1 -

i want just do setting in vs code so that i will start my first extension development.-1 -
try AL:Package to download package first before you download symbols.
can also try to change the runtime version to 3.0 (it works for me)0 -
Try checking this walkthrough https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-extension-example
I think your configuration might be incorrect.
Double check your instance name (Business Central Administration) and the authentication method (Windows, UserName, NavUserPassword).
The port is also important, and you'll need to enable the developer service endpoint.
0 -

i have done that still not able to connect.
-1 -
can we install Business central and NAV2016 on same Computer or it will give error while dealing with Business Central.-1
-

error while downloading symbol
-1 -
Your ports are wrong. The developer services are running on port 8049, but your setup on VSCode is trying to get symbols using port 70490
-
@ShaiHulud in which file ports are located in vs code.how to set can you please tell me
-1 -

error while publishing when i change runtime=3.0 to 2.0 then it gives me this error
0 -
In launch.json you need to add property "port" under configurations, as such:
{ "version": "0.2.0", "configurations": [ { "type": "al", "request": "launch", "name": "BC13", "server": "http://localhost", "serverInstance": "BC13", "authentication": "Windows", "port": 8049 } ] }1
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
- 323 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


