AL icon indicating copy to clipboard operation
AL copied to clipboard

VSCode - AL - Unable to download symbols

Open svyas-19 opened this issue 7 years ago • 19 comments

Describe the bug

I am not able to download symbols in vscode. One of the Business Central On Cloud account started giving error few days ago, but I was still able to download symbols with other Business Central accounts. But, since yesterday, I am not able to download the symbols using any of the account. Tried creating new demo account but did not work.

Tried some combinations of version and runtime but did not work.

To Reproduce Command Palette -> AL: Download Symbol

Expected behavior To download the symbols successfully

Screenshots

app

image

image

Versions:

Vs Code: 1.32.3 AL Language: 2.1.87871

svyas-19 avatar Mar 27 '19 07:03 svyas-19

I am facing the same issue

nav

ajdel1 avatar Mar 27 '19 10:03 ajdel1

@StanislawStempin , Kindly guide us for the above issue

svyas-19 avatar Mar 27 '19 12:03 svyas-19

@kalberes, kindly guide us further

svyas-19 avatar Mar 28 '19 10:03 svyas-19

I am having same issue on run time 3.0.

image

Tonygithub17 avatar Mar 29 '19 08:03 Tonygithub17

@ciyav

Have you tried without the tenant entry in the launch.json?

kalberes avatar Mar 31 '19 22:03 kalberes

@kalberes

I tried without tenant entry but was unable to download symbols. It gave the same error.

svyas-19 avatar Apr 01 '19 05:04 svyas-19

@kalberes

I just download latest version 14.0.29530. The download Symbol issue solved.

Tonygithub17 avatar Apr 01 '19 07:04 Tonygithub17

@Tonygithub17

I have the vscode with below version and am not able to download symbols in it.

Visual Studio Code

Version: 1.32.3 (user setup) Commit: a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4 Date: 2019-03-14T23:43:35.476Z Electron: 3.1.6 Chrome: 66.0.3359.181 Node.js: 10.2.0 V8: 6.6.346.32 OS: Windows_NT x64 10.0.17134

And AL Language of version: 2.1.87871

svyas-19 avatar Apr 01 '19 07:04 svyas-19

Hi, I am still getting the same error. I am using the cloud sandbox

[2019-04-01 15:33:09.62] Using reference symbols cache path: c:\Users\akjai\Documents\AL\ALProject6./.alpackages [2019-04-01 15:33:09.66] Authenticating... [2019-04-01 15:33:11.43] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=13.0.0.0 [2019-04-01 15:33:11.45] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=13.0.0.0 [2019-04-01 15:33:54.89] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=13.0.0.0 failed with code InternalServerError. Reason: Internal Server Error [2019-04-01 15:33:54.94] 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.

ajdel1 avatar Apr 01 '19 10:04 ajdel1

Still getting the same error -

[2019-04-02 11:22:37.12] Using reference symbols cache path: c:\Users\AartiChopra\Documents\AL\ALProject6./.alpackages [2019-04-02 11:22:37.12] Authenticating... [2019-04-02 11:22:38.17] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=13.0.0.0 [2019-04-02 11:22:38.17] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=13.0.0.0 [2019-04-02 11:25:26.09] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=13.0.0.0 failed with code InternalServerError. Reason: Internal Server Error [2019-04-02 11:25:26.09] 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.

Please advise

@kalberes

I just download latest version 14.0.29530. The download Symbol issue solved. 14.0.29530 - for ? can you please elaborate .. thanks

ac2707 avatar Apr 02 '19 06:04 ac2707

This worked with the following settings - permissions - You have granted the D365 EXTENSION MGT in the Cloud Sandbox environment (and not in the main environment)

Reset the Sandbox environment.

ac2707 avatar Apr 02 '19 08:04 ac2707

Same error after doing below @ac2707 You have granted the D365 EXTENSION MGT in the Cloud Sandbox environment (and not in the main environment)

Reset the Sandbox environment.

umang11 avatar Apr 03 '19 04:04 umang11

Clear cache credentials and try again.

ac2707 avatar Apr 03 '19 04:04 ac2707

same issue

umang11 avatar Apr 03 '19 08:04 umang11

You do not have permission to insert '' charts because the tenant is mounted with the application database as read-only. Contact your system administrator." Can someone advice please what permissions to be updated for this ?

image

ac2707 avatar Apr 08 '19 11:04 ac2707

is anyone got solution for this

umang11 avatar Apr 17 '19 07:04 umang11

I have tried all the suggestion and solution provided above. But getting the same error. Is anyone get the idea how to rectify this issue.

VikalpSharma avatar May 26 '19 11:05 VikalpSharma

This is still occuring for me as well, and it's occuring on trial versions, and on paid tenants. Extremely frustrating as it makes developing new extensions impossible if you don't already have the symbols downloaded.

propagating avatar Jun 13 '19 23:06 propagating

Hi! In the last months we have been laser focused on getting the development tools ready for supporting large solutions on AL and we have fixed hundreds of bugs across the product. Unfortunately, this meant that we could not dedicate as much attention to the issues you have reported.

In general, for issues concerning the online sandboxes, please we suggest that you open a support case and work with our customer support team to gather all the information necessary to fix this problem.

To open a support case, you can:

  • Open a support request to CSS through the PartnerSource portal
  • Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

atoader avatar Aug 09 '19 12:08 atoader