Could not download reference symbols BC Saas 17.5

Damjan
Member Posts: 94
Hi All,
We purchased BC SaaS version 17.5.22499.22680 and I would like to start with development.
Is it possible to do development on our Sandbox environment, not on some demo Sandbox that I got from Microsoft?
I have installed Visual Studio Code and and AL Language extension, and when I would like to download reference symbols error pops:
[2021-04-08 20:10:42.68] Using reference symbols cache path: c:\Users\d.zakojc\Documents\AL\ALProject1\./.alpackages
[2021-04-08 20:10:42.68] Sending request to https://api.businesscentral.dynamics.com/v2.0/sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=17.5.22499.22680
[2021-04-08 20:10:42.68] Sending request to https://api.businesscentral.dynamics.com/v2.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=17.5.22499.22680
[2021-04-08 20:10:42.96] The request for path /v2.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=17.5.22499.22680 failed with code NotFound. Reason: Not Found
[2021-04-08 20:10:42.96] The request for path /v2.0/sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=17.5.22499.22680 failed with code NotFound. Reason: Not Found
[2021-04-08 20:10:42.96] 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.
Microsoft (R) AL Compiler version 7.1.6.48380
Copyright (C) Microsoft Corporation. All rights reserved
Compilation started for project 'ALProject1' containing '1' files at '20:10:42.969'.
error AL1045: The package cache c:\Users\d.zakojc\Documents\AL\ALProject1\./.alpackages could not be found.
Compilation ended at '20:10:42.971'.
Error: The package could not be created.
This is app.json file
{
"id": "06215949-940e-4844-aada-a4e852feaad5",
"name": "ALProject1",
"publisher": "Default publisher",
"version": "1.0.0.0",
"brief": "",
"description": "",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"dependencies": [],
"screenshots": [],
"platform": "17.5.22499.22680",
"application": "17.5.22499.22680",
"idRanges": [
{
"from": 50100,
"to": 50149
}
],
"contextSensitiveHelpUrl": "https://ALProject1.com/help/",
"showMyCode": true,
"runtime": "7.0"
}
This is launch.json file:
{
"version": "0.2.0",
"configurations": [
{
"name": "Microsoft cloud sandbox",
"request": "launch",
"type": "al",
"environmentType": "Sandbox",
"environmentName": "sandbox",
"startupObjectId": 22,
"startupObjectType": "Page",
"breakOnError": true,
"launchBrowser": true,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true
}
]
}
Thank you
BR Damjan
We purchased BC SaaS version 17.5.22499.22680 and I would like to start with development.
Is it possible to do development on our Sandbox environment, not on some demo Sandbox that I got from Microsoft?
I have installed Visual Studio Code and and AL Language extension, and when I would like to download reference symbols error pops:
[2021-04-08 20:10:42.68] Using reference symbols cache path: c:\Users\d.zakojc\Documents\AL\ALProject1\./.alpackages
[2021-04-08 20:10:42.68] Sending request to https://api.businesscentral.dynamics.com/v2.0/sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=17.5.22499.22680
[2021-04-08 20:10:42.68] Sending request to https://api.businesscentral.dynamics.com/v2.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=17.5.22499.22680
[2021-04-08 20:10:42.96] The request for path /v2.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=17.5.22499.22680 failed with code NotFound. Reason: Not Found
[2021-04-08 20:10:42.96] The request for path /v2.0/sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=17.5.22499.22680 failed with code NotFound. Reason: Not Found
[2021-04-08 20:10:42.96] 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.
Microsoft (R) AL Compiler version 7.1.6.48380
Copyright (C) Microsoft Corporation. All rights reserved
Compilation started for project 'ALProject1' containing '1' files at '20:10:42.969'.
error AL1045: The package cache c:\Users\d.zakojc\Documents\AL\ALProject1\./.alpackages could not be found.
Compilation ended at '20:10:42.971'.
Error: The package could not be created.
This is app.json file
{
"id": "06215949-940e-4844-aada-a4e852feaad5",
"name": "ALProject1",
"publisher": "Default publisher",
"version": "1.0.0.0",
"brief": "",
"description": "",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"dependencies": [],
"screenshots": [],
"platform": "17.5.22499.22680",
"application": "17.5.22499.22680",
"idRanges": [
{
"from": 50100,
"to": 50149
}
],
"contextSensitiveHelpUrl": "https://ALProject1.com/help/",
"showMyCode": true,
"runtime": "7.0"
}
This is launch.json file:
{
"version": "0.2.0",
"configurations": [
{
"name": "Microsoft cloud sandbox",
"request": "launch",
"type": "al",
"environmentType": "Sandbox",
"environmentName": "sandbox",
"startupObjectId": 22,
"startupObjectType": "Page",
"breakOnError": true,
"launchBrowser": true,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true
}
]
}
Thank you
BR Damjan
0
Best Answer
Answers
-
Hi
I tried your suggestion, but issues are still present.
I do not understand how can I connect our own Sandbox environment to the Visual Studio Code, where I could write extensions and deploy them to Sandbox environment, if possible.0 -
Hi,
wow, it works as expected.
I connected to my Sandbox (development database in-cloud) and published first page extension.
I did this:
app.json -> changed following:
"platform": "17.0.0.0."
"application": "17.5.0.0"
"runtime": "6.0"
launch,json -> changed following:
"environmentType": "Sandbox",
"environmentName": "PROD_Backup_25032021",
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