Hello,
I installed Business Central Wave 1 Spring 19 Release on Window Server 2012.
In Visual Studio Code I've tried downloading symbols with Microsoft Sandbox and my own Server but neither is working.
When I try to download the symbols with my own Server I'm kind of stuck in an authentication loop.
Always have to "Log in" with "Your Username" and "Your Password" and only can cancel the authentication.
This is the launch.json for my own Server:
{
"version": "0.2.0",
"configurations": [
{
"type": "al",
"request": "launch",
"name": "Your own server",
"server": "http://localhost",
"serverInstance": "BC140",
"authentication": "UserPassword",
"startupObjectId": 22,
"startupObjectType": "Page",
"breakOnError": true,
"launchBrowser": true,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true
}
]
}
The app.json for my own Server:
{
"id": "f1169f08-796f-43b9-a4bd-a5706e2483de",
"name": "TEST",
"publisher": "Default publisher",
"version": "1.0.0.0",
"brief": "",
"description": "",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"dependencies": [],
"screenshots": [],
"platform": "14.0.0.0",
"application": "14.0.0.0",
"idRanges": [
{
"from": 50100,
"to": 50149
}
],
"showMyCode": true,
"runtime": "3.0"
}
------------------------------------------------------------------------------
This is the launch.json with Microsoft Sandbox (30 Days Trial)
{
"version": "0.2.0",
"configurations": [
{
"type": "al",
"request": "launch",
"name": "Microsoft cloud sandbox",
"startupObjectId": 22,
"startupObjectType": "Page",
"breakOnError": true,
"launchBrowser": true,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true
}
]
}
and the app.json with Microsoft Sandbox (30 Days Trial)
{
"id": "89a868d9-212b-4504-bd64-e9dcc04aa4af",
"name": "TEST2",
"publisher": "Default publisher",
"version": "1.0.0.0",
"brief": "",
"description": "",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"dependencies": [],
"screenshots": [],
"platform": "14.0.0.0",
"application": "14.0.0.0",
"idRanges": [
{
"from": 50100,
"to": 50149
}
],
"showMyCode": true,
"runtime": "3.0"
}
This is the error I get when i try to download with Microsoft Sandbox:
[2020-01-28 17:27:20.32] Targeting Dynamics 365 Business Central.
[2020-01-28 17:27:21.26] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=14.0.0.0 failed with code BadRequest. Reason: Bad Request
[2020-01-28 17:27:22.58] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=14.0.0.0 failed with code BadRequest. Reason: Bad Request
[2020-01-28 17:27:22.59] 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.
------------------------------------------------------------------------------
Get-NAVServerInstance is giving me this:
ServerInstance : MicrosoftDynamicsNavServer$BC140
DisplayName : Microsoft Dynamics 365 Business Central Server [BC140]
ServerAccount : XXXX\Administrator
Version: 14.0.29530.0
Default : True
------------------------------------------------------------------------------
I searched the internet for solutions but nothing worked that's why I'm posting here now.
I really hope someone can help me with this.