navision 2015

Bad request error with Download Symbols

When you created the sandbox with a specific name, you need to add “tenant” details in the Launch.json page.

Issue :

[2020-05-24 01:28:25.17] Could not download reference symbols. Please ensure that:
1. The correct server name and instance are specified in the launch.json file.
2. The correct application version is specified in the app.json file.
3. The dependencies are correctly specified in the app.json file.
Resolution :

Business central, Microsoft Dynamics 365 Business Central

VS Code Setup for Dynamics 365 Business Central Wave 2 and download symbol issue

Error :

error AL1045: The package cache

The request for path /BC150/dev/packages?publisher=Microsoft&appName=System&versionText=15.0.0.0 failed with code NotFound. Reason: Not Found

After downloading Dynamics 365 BC Wave 2 I encountered above two issues.

I did change fallowing things to my helloworld app , then it started working. Hope this information will help someone.

  1. Download Latest version of VS Code
  2. Check you have the latest version of AL Extension for VS code (mine as of 10-11-2019)

  1. Make sure developer services are enabled in config

  1. Select extension target platform as Wave2

  1. Update config in launch.json

  1. Now you can download symbols

Happy to learn if I miss anything in this article. #BCALhelp

Microsoft Dynamics 365 Business Central, MSDYN365BC

The request for path /DynamicsNAV130/dev/metadata failed with code InternalServerError. Reason: NetFx40_LegacySecurityPolicy is enabled and must be turned off in the Microsoft.Dynamics.Nav.Server.exe.config file.

Open the file

C:\Program Files\Microsoft Dynamics 365 Business Central\130\Service\Microsoft.Dynamics.Nav.Server.exe.CONFIG

and set NetFx40_LegacySecurityPolicy = False

<add key=”NetFx40_LegacySecurityPolicy” value=”false”/>

 

netfx

Microsoft Dynamics 365 Business Central, MSDYN365BC

Connecting Visual Code to Microsoft Dynamics 365 Business Central  on Prem 

Connecting Visual Code to Microsoft Dynamics 365 Business Central  on Prem

-> creating Hello Word app using >AL:Go

-> Select Server for configuration

-> Update Parameter Server Instance with the service name  (Default : DynamicsNAV130)

-> Update authentication to windows or other as required (Default : Windows)

-> Update Port to your customer Port (Default : 7049)

-> Download Symbols Enjoy