Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

BC container: Error downloading symbols

(0) ShareShare
ReportReport
Posted on by 5

Hi,

I have problems downloading symbols to Visual Studio Code from a BC container.

The error message is

pastedimage1675609947479v1.png

The environment is:

I have installed the BC container locally on a virtual Windows Server 2019. The PowerShell script I have used is

pastedimage1675610004481v2.png

Connection to the web client works.

The BC version is

pastedimage1675610047872v3.png

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

pastedimage1675610098330v4.png

 

And the App.json like

pastedimage1675610127533v5.png 

What‘s wrong with this configuration and my first steps from C/AL into this unknown land?

Thanks in advance for helpful comments!

  • Ulrich Schmitt Profile Picture
    Ulrich Schmitt 5 on at
    RE: BC container: Error downloading symbols

    Hi,

    I've tried (for the moment) the first possibility, and it works. Thanks!

  • Verified answer
    NavNab Profile Picture
    NavNab 4 on at
    RE: BC container: Error downloading symbols

    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

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,115 Super User 2024 Season 2 on at
    RE: BC container: Error downloading symbols

    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

    pastedimage1675643891964v1.png

    Thanks.

    ZHU

  • Ulrich Schmitt Profile Picture
    Ulrich Schmitt 5 on at
    RE: BC container: Error downloading symbols

    Hi Nitin,

    I've tried this before and now again, but the error remains the same.

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: BC container: Error downloading symbols

    Hi,

    Please try after adding below property in your Launch.json file.

    "port": 7049,

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans