Hi,
I have problems downloading symbols to Visual Studio Code from a BC container.
The error message is
The environment is:
I have installed the BC container locally on a virtual Windows Server 2019. The PowerShell script I have used is
Connection to the web client works.
The BC version is
The container server configuration is
PS C:\Users\Administrator> Get-BcContainerServerConfiguration -ContainerName bc20de
ContainerName : bc20de
NetworkProtocol : Default
DatabaseServer : localhost
DatabaseInstance : SQLEXPRESS
DatabaseName : CRONUS
EnableSqlConnectionEncryption : false
TrustSQLServerCertificate : false
ServerInstance : BC
EnableSqlInformationDebugger : true
AmountOfSqlStatementsInDebugger : 10
EnableLongRunningSqlStatementsInDebugger : true
LongRunningSqlStatementsInDebuggerThreshold : 500
ClientServicesPort : 7046
SOAPServicesPort : 7047
ODataServicesPort : 7048
ManagementServicesPort : 7045
ManagementServicesEnabled : true
ManagementApiServicesPort : 7086
ManagementApiServicesSSLEnabled : false
ManagementApiServicesEnabled : true
ClientServicesEnabled : true
ClientServicesSSLEnabled : false
TestAutomationEnabled : true
PageBackgroundTaskAllowedAutomationMethods : (Update,Microsoft.Dynamics.Nav.Client.BusinessChart;PublicKeyToken=31bf3856ad364e35)
DeveloperServicesPort : 7049
ReportingServicePort : 0
DeveloperServicesMaxRequestLength : 419430400
DeveloperServicesEnabled : true
DeveloperServicesSSLEnabled : true
SnapshotDebuggerServicesPort : 7083
SnapshotDebuggerEnabled : true
SamplingProfilingEnabled : true
UsePermissionSetsFromExtensions : true
SnapshotDebuggerServicesSSLEnabled : true
ExtensionAllowedTargetLevel : Internal
RequiredExtensions :
SolutionVersionExtension : 00000000-0000-0000-0000-000000000000
ReportPDFFontEmbedding : true
ReportAppDomainIsolation : true
ProhibitedReportServerPrinters : ["Microsoft Print to PDF","Microsoft XPS Document Writer"]
ReportMaxRows : 10000000
ReportDefaultMaxRows : 500000
ReportTimeout : 12:00:00
ReportDefaultTimeout : 06:00:00
ReportMaxDocuments : 500
ReportDefaultMaxDocuments : 200
QueryMaxRows : MaxValue
QueryTimeout : MaxValue
EnableSaveToWordForRdlcReports : true
EnableSaveToExcelForRdlcReports : true
EnableSaveFromReportPreview : true
SOAPServicesEnabled : true
ODataServicesEnabled : true
ODataServicesV4EndpointEnabled : true
SOAPServicesSSLEnabled : true
ODataServicesSSLEnabled : true
ODataMaxConnections : 0
ODataMaxConnectionsPerTenant : 0
ODataV4MaxConcurrentRequests : 5
ReportingServiceIsSideService : true
ReportingServiceEstablishConnectionTimeout : 00:00:05
ODataV4MaxRequestQueueSize : 95
ODataReadonlyGetDisabledForObjects : []
ODataReadonlyGetEnabled : true
SOAPMaxConcurrentRequests : 5
SOAPMaxRequestQueueSize : 95
SOAPMaxConnections : 0
SOAPMaxConnectionsPerTenant : 0
DeltaServiceClientTimeout : 00:02:00
ODataServicesOperationTimeout : 00:08:00
SOAPServicesOperationTimeout : 00:10:00
PublicODataBaseUrl : https://bc20de:7048/BC/OData
PublicSOAPBaseUrl : https://bc20de:7047/BC/WS/
PublicWebBaseUrl : https://bc20de/BC/
PublicWinBaseUrl : DynamicsNAV://bc20de:7046/BC/
DefaultClient : Web
ServicesOptionFormat : OptionCaption
ServicesLanguage : en-US
CalendarTwoDigitYearMax : -1
SOAPServicesMaxMsgSize : 65536
ServicesUseNTLMAuthentication : false
ServicesDefaultTimeZone : UTC
ServicesDefaultCompany :
ODataServicesMaxPageSize : 20000
ClientServicesOperationTimeout : MaxValue
ClientServicesProtectionLevel : EncryptAndSign
MaxConcurrentCalls : 1000
ClientServicesMaxConcurrentConnections : 500
ClientServicesCompressionThreshold : 64
ClientServicesMaxUploadSize : 350
EnableDebugging : true
DebuggingAllowed : true
SqlTracingAllowed : true
ODataMaxBodySize : 350
SqlLockTimeoutOverride : 0
ClientServicesMaxItemsInObjectGraph : 512
ClientServicesChunkSize : 28
ClientServicesProhibitedFileTypes : ade;adp;asp;bas;bat;chm;cmd;com;cpl;csh;exe;fxp;gadget;hlp;hta;inf;ins;isp;its;js;jse;ksh;lnk;mad;maf;mag;mam;maq;mar;
mas;mat;mau;mav;maw;mda;mdb;mde;mdt;mdw;mdz;msc;msi;msp;mst;ops;pcd;pif;prf;ps1;psm1;prg;pst;reg;scf;scr;sct;shb;shs;u
rl;vb;vbe;vbs;vsmacros;vss;vst;vsw;ws;wsc;wsf;wsh
ClientServicesAllowedFileTypes :
NASServicesStartupCodeunit :
NASServicesRunWithAdminRights : false
EnableDeadlockMonitoring : false
EnableLockTimeoutMonitoring : false
NASServicesStartupMethod :
NASServicesStartupArgument :
NASServicesEnableDebugging : false
ClientServicesCredentialType : NavUserPassword
UIElementRemovalOption : LicenseFileAndUserPermissions
ClientServicesTokenSigningKey :
ClientServicesFederationMetadataLocation :
ServicesCertificateThumbprint : C0D92C57BDC5441A63F765A50FFA50F9BD5DDB36
ServicesCertificateValidationEnabled : false
DisableTokenSigningCertificateValidation : false
TokenSigningCertificateValidationMode : IssuerNameValidation
DataCacheSize : 10
SessionEventTableRetainInterval : 90.00:00:00
NonInteractiveSessionsLogRetainInterval : 5.00:00:00
SqlCommandTimeout : 00:30:00
SqlManagementCommandTimeout : -1
SqlConnectionTimeout : 00:01:30
EnableSqlReadOnlyReplicaSupport : false
EnableExclusiveExistsCheckOnModify : false
BufferedInsertEnabled : true
DisableSmartSql : false
EnableFullALFunctionTracing : false
Multitenant : False
SqlConnectionIdleTimeout : 00:05:00
EnableALServerFileAccess : true
EnableApplicationChannelLog : true
EncryptionProvider : LocalKeyFile
AzureKeyVaultAppSecretsPublisherValidationEnabled : true
ExchangeAuthenticationMetadataLocation :
AppIdUri :
WSFederationLoginEndpoint :
AzureActiveDirectoryClientId :
AzureActiveDirectoryClientSecret :
AzureActiveDirectoryClientCertificateThumbprint :
EnableMembershipEntitlement :
EnablePartialRecords : true
MaxRowsToExportToExcel : MaxValue
EnableTaskScheduler : false
TaskSchedulerMaximumConcurrentRunningTasks : 5
DefaultTaskSchedulerSessionTimeout : 12:00:00
TaskSchedulerExecutionRetryExceptions : NavAppObjectMetadataException;NavAdministratorMadeChangesException
BackgroundSessionsDefaultTimeout : 08:00:00
BackgroundSessionsMaxConcurrent : 10
BackgroundSessionsMaxQueued : 100
BackgroundSessionsDefaultWaitTimeout : 08:00:00
UseSimplifiedFilters : false
ExcelAddInAzureActiveDirectoryClientId :
DisableWriteInsideTryFunctions : true
ExtendedSecurityTokenLifetime : 0
ClientServicesIdleClientTimeout : MaxValue
ODataEnableExcelAddInAnnotations : true
NavHttpClientMaxResponseContentSize : 150
NavHttpClientMaxTimeout : 00:05:00
ClientBuildRestriction : WarnClient
TraceLevel : Normal
ExternalTraceLevel : Error
EnableDataExportImport : true
MaximumSessionRecursionDepth : 14
MaxStreamReadSize : 1000000
ValidAudiences :
DefaultLanguage :
SupportedLanguages :
UnsupportedLanguageIds : 1034
ApiServicesEnabled : True
ApiSubscriptionsEnabled : true
ApiSubscriptionExpiration : 3
ApiSubscriptionNotificationUrlTimeout : 5000
ApiSubscriptionSendingNotificationTimeout : 30000
ApiSubscriptionDelayTime : 30000
ApiSubscriptionMaxNumberOfNotifications : 100
ApiSubscriptionMaxNumberOfSubscriptions : 200
EnableSymbolLoadingAtServerStartup : False
SqlLongRunningThreshold : 750
SqlLongRunningThresholdForApplicationInsights : 750
SqlBulkImportBatchSize : 448
UseIncrementalCompanyDelete : false
TaskSchedulerSystemTaskStartTime : 00:00:00
TaskSchedulerSystemTaskEndTime : 23:59:59
ChildSessionsMaxConcurrency : 5
ChildSessionsMaxQueueLength : 100
PageBackgroundTaskDefaultTimeout : 00:02:00
PageBackgroundTaskMaxTimeout : 00:10:00
XmlMetadataCacheSize : 500
GlobalSymbolReferenceCacheSize : 200
GlobalSymbolReferenceCacheTTLInHours : 24
PTESymbolReferenceCacheSize : 700
PTESymbolReferenceCacheTTLInHours : 24
AllowSessionWhileSyncAndDataUpgrade : false
SearchTimeout : 00:00:10
OverwriteExistingTranslations : true
LockoutPolicyFailedAuthenticationCount : 0
LockoutPolicyFailedAuthenticationWindow : 0
ReplaceReportExecutionTimeWithClientTime : true
UseFindMinusWhenPopulatingPage : true
DisableQueryHintOptimizeForUnknown : true
DisableQueryHintForceOrder : true
DisableQueryHintLoopJoin : true
EnableSqlQueryTopParameterization : false
SecurityProtocol : Tls12
IntegrationRecordsTableId : 5151
LegacyOptionCaptionResolution : false
EnableMultithreadedCompilation : true
ApplicationInsightsInstrumentationKey :
ApplicationInsightsConnectionString :
EnableUserConsistencyValidationOnTasks : true
AllowReadingCrossTenantApplicationDatabaseTables : false
EnableExclusiveApplicationPackageRole : true
EnableMalwareScanning : false
ManagementServicesIdleClientTimeout : 10:00:00
ALLongRunningFunctionTracingThresholdForApplicationInsights : 10000
ALFunctionTimingEnabled : true
ALCompatibleDateFormatCultureList :
EnableCloudReplicationMaintenance : false
EnableProfileCacheSynchronization : false
AllowSessionCallSuspendWhenWriteTransactionStarted : true
AzureKeyVaultClientId : 00000000-0000-0000-0000-000000000000
AzureKeyVaultClientCertificateStoreLocation : LocalMachine
AzureKeyVaultClientCertificateStoreName : My
AzureKeyVaultClientCertificateThumbprint :
AzureKeyVaultKeyUri :
The launch.json looks like
And the App.json like
What‘s wrong with this configuration and my first steps from C/AL into this unknown land?
Thanks in advance for helpful comments!
Hi,
I've tried (for the moment) the first possibility, and it works. Thanks!
Your container use SSL (-useSSL) while your launch.json says http://
You should either:
1-Use SSL and install the certificate locally
2-Do not use SSL
As I understand, you're starting your adventure in AL. So I suggest go with the second option.
Welcome to this magicAL world :p
Hi, From your error message, it looks a bit like the following, I hope it can give you some hints.
https://www.dynamicsuser.net/t/i-have-facing-problem-while-downloading-symbols/66300/9
Thanks.
ZHU
Hi Nitin,
I've tried this before and now again, but the error remains the same.
Hi,
Please try after adding below property in your Launch.json file.
"port": 7049,
Thanks.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,113 Super User 2024 Season 2
Martin Dráb 229,918 Most Valuable Professional
nmaenpaa 101,156