• Este debate tiene 1 respuesta, 2 mensajes y ha sido actualizado por última vez el hace 3 años, 10 meses por Cristina Nicolàs.
Viendo 2 entradas - de la 1 a la 2 (de un total de 2)

Problemas visual studio code para ejecutar el debugger BC release 14



  • sucasuc
    Participante
    sucasuc

    Buenos dias,

    Para poneros en situació, he estado desarrollando una extension con visual studio code, con un servidor windows server 2019 en el que tengo montado mediante docker la release 13 de Business Central, en la que estaba desarrollando sin problemas.

    Hace unos dias actualice a la release 14 de Business Central en el docker y ahora cuando desde mi maquina comeinzo a debuggar tarda mucho en responder por parte del contenedor y algunos de los casos se no llega la respuesta dando el siguiente error en el contenedor:

    TimeGenerated : 5/9/2019 12:35:10 PM

    EntryType : Error

    Message : Error accessing Website

    Type: System.TimeoutException

    Message: This request operation sent to

    net.tcp://localhost:7045/NAV/HealthService did not receive a

    reply within the configured timeout (00:01:00). The time

    allotted to this operation may have been a portion of a longer

    timeout. This may be because the service is still processing

    the operation or because the service was unable to send a

    reply message. Please consider increasing the operation

    timeout (by casting the channel/proxy to IContextChannel and

    setting the OperationTimeout property) and ensure that the

    service is able to connect to the client.

    He estado buscando una solución modificando el app.json para poner la versión concreta en la propiedad “platform” por si era un tema de configuración.

    He mirado la parametrización del Docker que te adjunto:

    cmdlet Get-NAVApplication at command pipeline position 1

    Supply values for the following parameters:

    ServerInstance: NAV

     

    Database server Database name ApplicationVersion ApplicationFamily

    ————— ————- —————— —————–

    LOCALHOST\SQLEXPRESS FinancialsES 14.0.29537.31961 ES

    Configuracion del servidor BC

    key value
    — —–
    AllowSessionWhileSyncAndDataUpgrade false
    AmountOfSqlStatementsInDebugger 10
    ApiServicesEnabled False
    ApiSubscriptionDelayTime 30000
    ApiSubscriptionExpiration 3
    ApiSubscriptionMaxNumberOfNotifications 100
    ApiSubscriptionMaxNumberOfSubscriptions 200
    ApiSubscriptionNotificationUrlTimeout 5000
    ApiSubscriptionsEnabled true
    ApiSubscriptionSendingNotificationTimeout 30000
    AppIdUri
    AzureActiveDirectoryClientCertificateThumbprint
    AzureActiveDirectoryClientId
    AzureActiveDirectoryClientSecret
    AzureKeyVaultClientCertificateStoreLocation LocalMachine
    AzureKeyVaultClientCertificateStoreName My
    AzureKeyVaultClientCertificateThumbprint
    AzureKeyVaultClientId 00000000-0000-0000-0000-000000000000
    AzureKeyVaultKeyUri
    BufferedInsertEnabled true
    CalendarTwoDigitYearMax -1
    ClientBuildRestriction WarnClient
    ClientServicesAllowedFileTypes
    ClientServicesChunkSize 28
    ClientServicesCompressionThreshold 64
    ClientServicesCredentialType NavUserPassword
    ClientServicesEnabled true
    ClientServicesFederationMetadataLocation
    ClientServicesIdleClientTimeout MaxValue
    ClientServicesKeepAliveInterval 00:02:00
    ClientServicesMaxConcurrentConnections 500
    ClientServicesMaxItemsInObjectGraph 512
    ClientServicesMaxNumberOfOrphanedConnections 20
    ClientServicesMaxUploadSize 150
    ClientServicesOperationTimeout MaxValue
    ClientServicesPort 7046
    ClientServicesProhibitedFileTypes ade;adp;asp;bas;bat;chm;cmd;com;cpl;csh;exe;fxp;gadget;hlp;hta;inf;i…
    ClientServicesProtectionLevel EncryptAndSign
    ClientServicesReconnectPeriod 00:10:00
    ClientServicesTokenSigningKey
    CompileBusinessApplicationAtStartup true
    DatabaseInstance SQLEXPRESS
    DatabaseName FinancialsES
    DatabaseServer localhost
    DataCacheSize 10
    DebuggingAllowed true
    DefaultClient Web
    DefaultLanguage
    DeltaServiceClientTimeout 00:02:00
    DeveloperServicesEnabled true
    DeveloperServicesPort 7049
    DeveloperServicesSSLEnabled true
    DisableQueryHintForceOrder true
    DisableQueryHintLoopJoin true
    DisableQueryHintOptimizeForUnknown false
    DisableSmartSql false
    DisableTokenSigningCertificateValidation false
    DisableWriteInsideTryFunctions true
    EnableALServerFileAccess true
    EnableApplicationChannelLog true
    ODataServicesSSLEnabled true
    ODataServicesV3EndpointEnabled true
    ODataServicesV4EndpointEnabled true
    OverwriteExistingTranslations true
    PublicODataBaseUrl https://bcdocker1:7048/NAV/OData
    PublicSOAPBaseUrl https://bcdocker1:7047/NAV/WS
    PublicWebBaseUrl https://bcdocker1/NAV/
    PublicWinBaseUrl DynamicsNAV://bcdocker1:7046/NAV/
    ReplaceReportExecutionTimeWithClientTime true
    ReportAppDomainIsolation true
    ReportPDFFontEmbedding true
    SearchTimeout 00:01:00
    SecurityProtocol Tls12
    ServerInstance NAV
    ServicesCertificateThumbprint 4836C1998B04007A50EA6F4FB4294CDEFC42E659
    ServicesCertificateValidationEnabled false
    ServicesDefaultCompany
    ServicesDefaultTimeZone UTC
    ServicesLanguage en-US
    ServicesOptionFormat OptionCaption
    ServicesUseNTLMAuthentication false
    SessionEventTableRetainInterval 90.00:00:00
    SOAPServicesEnabled true
    SOAPServicesMaxMsgSize 1024
    SOAPServicesPort 7047
    SOAPServicesSSLEnabled true
    SqlBulkImportBatchSize 448
    SqlCommandTimeout 00:30:00
    SqlConnectionIdleTimeout 00:05:00
    SqlConnectionTimeout 00:01:30
    SqlLongRunningThreshold 1000
    SqlParametersByOrdinal true
    SupportedLanguages
    TaskSchedulerMaximumConcurrentRunningTasks 10
    TaskSchedulerSystemTaskEndTime 23:59:59
    TaskSchedulerSystemTaskStartTime 00:00:00
    TenantEnvironmentType Sandbox
    TokenSigningCertificateValidationMode IssuerNameValidation
    TraceLevel Normal
    TrustSQLServerCertificate false
    UIElementRemovalOption LicenseFileAndUserPermissions
    UseFindMinusWhenPopulatingPage true
    UseIncrementalCompanyDelete true
    UseSimplifiedFilters false
    ValidAudiences
    WSFederationLoginEndpoint
    XmlMetadataCacheSize 500

    Saludos y muchas gracias por vuestra ayuda!!

    #10701

    Cristina Nicolàs
    Superadministrador
    Cristina Nicolàs

    Hola,

    Yo diría que hay algún error en el el último contenedor docker de BC14.

    Hace un mes o así (cuando justo salió Business Central 14) cree un contenedor docker de esta versión y estuve trabajando sin problemas.

    Esta semana he vuelto a crear un contenedor Docker de BC14 y no me funcionó de ninguna manera. En mi caso ya no el debug, es que no podia compilar ni publicar nada. Al final acabé eliminando el docker, instalando BC14 desde el DVD y estuve trabajando con una instalación de verdad.

    Un saludo,
    Cristina Nicolàs

    #10704
Viendo 2 entradas - de la 1 a la 2 (de un total de 2)

Debe iniciar sesión para responder a este tema.