Business Central V13 service not starting when DeveloperServicesEnabled ticked

jimmyfjimmyf Member Posts: 104
Hi I am trying to setup a local BC V13 environment connecting to a cronus GB database in order to create an extension. However in my service config if I tick DeveloperServicesEnabled the service wont start. If this is unticked the service starts fine! I am using Version 13.0.27183

Any ideas?

I can connect successfully to the RTC, Web Client and object designer without this setting ticked so no issue with SQL permissions.

Thanks

Answers

  • SanderDkSanderDk Member Posts: 502
    What error occur in the Event View of your developer machine?
    How is your BC Tier configured?
    For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.
  • jimmyfjimmyf Member Posts: 104
    Server instance: BC130
    Category: Runtime
    ClientSessionId: 00000000-0000-0000-0000-000000000000
    ClientActivityId: 00000000-0000-0000-0000-000000000000
    ServerSessionUniqueId: 00000000-0000-0000-0000-000000000000
    ServerActivityId: e23ba593-03e3-4dfa-a6d8-24a9916691ba
    EventTime: 03/23/2020 10:30:20
    Message (TargetInvocationException): This message had personal data removed. The original may still be in transient telemetry. Find it using the transientTelemetryId.
    Failed to start service Microsoft.Dynamics.Nav.Service.Dev.DevHost.
    ParentException: TargetInvocationException
    ExceptionStackTrace:
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Microsoft.Owin.Hosting.ServerFactory.ServerFactoryAdapter.Create(IAppBuilder builder)
    at Microsoft.Owin.Hosting.Engine.HostingEngine.Start(StartContext context)
    at Microsoft.Dynamics.Nav.Service.Dev.DevHost.Open(String machineName, ServerUserSettings settings)
    at Microsoft.Dynamics.Nav.WindowsServices.NavServerWindowsService.StartOwinServices(ServerUserSettings settings)
    InnerException:
    RootException: HttpListenerException
    ExceptionStackTrace:
    at System.Net.HttpListener.AddAllPrefixes()
    at System.Net.HttpListener.Start()
    at Microsoft.Owin.Host.HttpListener.OwinHttpListener.Start(HttpListener listener, Func`2 appFunc, IList`1 addresses, IDictionary`2 capabilities, Func`2 loggerFactory)
    at Microsoft.Owin.Host.HttpListener.OwinServerFactory.Create(Func`2 app, IDictionary`2 properties)
    CallerStackTrace:
    at Microsoft.Dynamics.Nav.WindowsServices.NavServerWindowsService.StartOwinServices(ServerUserSettings settings)
    at Microsoft.Dynamics.Nav.WindowsServices.NavServerWindowsService.StartAllServices(ServerUserSettings settings)
    at Microsoft.Dynamics.Nav.WindowsServices.NavServerWindowsService.Start(String commandLineServiceInstanceName)
    at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    at System.Threading.ThreadPoolWorkQueue.Dispatch()


    ProcessId: 11304
    Tag: 00001O3
    ThreadId: 7
    CounterInformation:
  • jimmyfjimmyf Member Posts: 104
    <?xml version="1.0" encoding="utf-8"?>
    <appSettings>
    <add key="NetworkProtocol" value="Default" />
    <add key="DatabaseServer" value="MANCLFABER2" />
    <add key="DatabaseInstance" value="MSSQL17" />
    <add key="DatabaseName" value="Demo Database NAV (13-0)" />
    <add key="EnableSqlConnectionEncryption" value="False" />
    <add key="TrustSQLServerCertificate" value="False" />
    <add key="ServerInstance" value="BC130" />
    <add key="ClientServicesPort" value="7046" />
    <add key="SOAPServicesPort" value="7047" />
    <add key="ODataServicesPort" value="7048" />
    <add key="ManagementServicesPort" value="7045" />
    <add key="ManagementServicesEnabled" value="True" />
    <add key="ClientServicesEnabled" value="True" />
    <add key="DeveloperServicesPort" value="7049" />
    <add key="DeveloperServicesEnabled" value="True" />
    <add key="DeveloperServicesSSLEnabled" value="False" />
    <add key="ExtensionAllowedTargetLevel" value="Internal" />
    <add key="CompileBusinessApplicationAtStartup" value="True" />
    <add key="ReportPDFFontEmbedding" value="True" />
    <add key="ReportAppDomainIsolation" value="True" />
    <add key="EnableSaveToWordForRdlcReports" value="True" />
    <add key="EnableSaveToExcelForRdlcReports" value="True" />
    <add key="EnableSaveFromReportPreview" value="True" />
    <add key="CompileBusinessApplicationAtStartup" value="True" />
    <add key="SOAPServicesEnabled" value="False" />
    <add key="ODataServicesEnabled" value="True" />
    <add key="ODataServicesV3EndpointEnabled" value="True" />
    <add key="ODataServicesV4EndpointEnabled" value="True" />
    <add key="SOAPServicesSSLEnabled" value="False" />
    <add key="ODataServicesSSLEnabled" value="False" />
    <add key="ODataMaxConnections" value="0" />
    <add key="DefaultClient" value="Windows" />
    <add key="ServicesOptionFormat" value="OptionCaption" />
    <add key="ServicesLanguage" value="en-US" />
    <add key="CalendarTwoDigitYearMax" value="-1" />
    <add key="SOAPServicesMaxMsgSize" value="1024" />
    <add key="ServicesUseNTLMAuthentication" value="False" />
    <add key="ServicesDefaultTimeZone" value="UTC" />
    <add key="ODataServicesMaxPageSize" value="1000" />
    <add key="ClientServicesOperationTimeout" value="MaxValue" />
    <add key="ClientServicesProtectionLevel" value="EncryptAndSign" />
    <add key="MaxConcurrentCalls" value="1000" />
    <add key="ClientServicesMaxConcurrentConnections" value="500" />
    <add key="ClientServicesReconnectPeriod" value="00:10:00" />
    <add key="ClientServicesMaxNumberOfOrphanedConnections" value="20" />
    <add key="ClientServicesCompressionThreshold" value="64" />
    <add key="ClientServicesMaxUploadSize" value="150" />
    <add key="EnableDebugging" value="False" />
    <add key="DebuggingAllowed" value="True" />
    <add key="ClientServicesMaxItemsInObjectGraph" value="512" />
    <add key="ClientServicesChunkSize" value="28" />
    <add key="ClientServicesProhibitedFileTypes" value="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;prg;pst;reg;scf;scr;sct;shb;shs;url;vb;vbe;vbs;vsmacros;vss;vst;vsw;ws;wsc;wsf;wsh" />
    <add key="NASServicesRunWithAdminRights" value="False" />
    <add key="EnableDeadlockMonitoring" value="True" />
    <add key="NASServicesEnableDebugging" value="False" />
    <add key="ClientServicesCredentialType" value="Windows" />
    <add key="UIElementRemovalOption" value="LicenseFileAndUserPermissions" />
    <add key="ServicesCertificateValidationEnabled" value="True" />
    <add key="DisableTokenSigningCertificateValidation" value="false" />
    <add key="TokenSigningCertificateValidationMode" value="IssuerNameValidation" />
    <add key="DataCacheSize" value="10" />
    <add key="SessionEventTableRetainPeriod" value="0" />
    <add key="SessionEventTableRetainInterval" value="90.00:00:00" />
    <add key="NonInteractiveSessionsLogRetainPeriod" value="0" />
    <add key="NonInteractiveSessionsLogRetainInterval" value="5.00:00:00" />
    <add key="SqlCommandTimeout" value="00:30:00" />
    <add key="BufferedInsertEnabled" value="True" />
    <add key="DisableSmartSql" value="False" />
    <add key="DocumentServicesProvider" value="SHAREPOINTONLINE" />
    <add key="EnableFullALFunctionTracing" value="False" />
    <add key="Multitenant" value="False" />
    <add key="SqlConnectionIdleTimeout" value="00:05:00" />
    <add key="EnableALServerFileAccess" value="True" />
    <add key="EnableApplicationChannelLog" value="True" />
    <add key="EncryptionProvider" value="LocalKeyFile" />
    <add key="EnableMembershipEntitlement" value="False" />
    <add key="MaxRowsToExportToExcel" value="MaxValue" />
    <add key="EnableTaskScheduler" value="True" />
    <add key="TaskSchedulerMaximumConcurrentRunningTasks" value="10" />
    <add key="ClientServicesKeepAliveInterval" value="00:02:00" />
    <add key="UseSimplifiedFilters" value="False" />
    <add key="DisableWriteInsideTryFunctions" value="True" />
    <add key="ExtendedSecurityTokenLifetime" value="0" />
    <add key="ClientServicesIdleClientTimeout" value="MaxValue" />
    <add key="ODataEnableExcelAddInAnnotations" value="True" />
    <add key="NavHttpClientMaxResponseContentSize" value="15" />
    <add key="NavHttpClientMaxTimeout" value="00:05:00" />
    <add key="SqlParametersByOrdinal" value="True" />
    <add key="ClientBuildRestriction" value="WarnClient" />
    <add key="TraceLevel" value="Normal" />
    <add key="ExternalTraceLevel" value="Error" />
    <add key="EnableDataExportImport" value="True" />
    <add key="AllowSessionCallSuspendWhenWriteTransactionStarted" value="True" />
    <add key="MaxStreamReadSize" value="1000000" />
    <add key="ApiServicesEnabled" value="False" />
    <add key="ApiSubscriptionsEnabled" value="True" />
    <add key="ApiSubscriptionExpiration" value="3" />
    <add key="ApiSubscriptionNotificationUrlTimeout" value="5000" />
    <add key="ApiSubscriptionSendingNotificationTimeout" value="30000" />
    <add key="ApiSubscriptionDelayTime" value="30000" />
    <add key="ApiSubscriptionMaxNumberOfNotifications" value="100" />
    <add key="ApiSubscriptionMaxNumberOfSubscriptions" value="200" />
    <add key="CacheUserDefinedWebServices" value="true" />
    <add key="EnableSymbolLoadingAtServerStartup" value="True" />
    <add key="SqlLongRunningThreshold" value="1000" />
    <add key="SqlBulkImportBatchSize" value="448" />
    <add key="UseIncrementalCompanyDelete" value="True" />
    <add key="TaskSchedulerSystemTaskStartTime" value="00:00:00" />
    <add key="TaskSchedulerSystemTaskEndTime" value="23:59:59" />
    <add key="XmlMetadataCacheSize" value="500" />
    <add key="AllowSessionWhileSyncAndDataUpgrade" value="False" />
    <add key="ExternalNavAppDeploymentEndpoint" value="" />
    <add key="ExternalNavAppDeploymentRequestTimeout" value="00:03:00" />
    <add key="ReportSettingsLookupForm" value="1560" />
    <add key="SearchTimeout" value="00:00:10" />
    <add key="OverwriteExistingTranslations" value="True" />
    <add key="HybridDeploymentProxyEndpoint" value="" />
    <add key="HybridDeploymentProxyRequestTimeout" value="00:03:00" />
    <add key="LockoutPolicyFailedAuthenticationCount" value="0" />
    <add key="LockoutPolicyFailedAuthenticationWindow" value="0" />
    <add key="ReplaceReportExecutionTimeWithClientTime" value="True" />
    <add key="UseFindMinusWhenPopulatingPage" value="False" />
    <add key="LegacyOptionCaptionResolution" value="False" />
    <add key="DisableQueryHintForceOrder" value="False" />
    <add key="DisableQueryHintLoopJoin" value="False" />
    <add key="DisableQueryHintOptimizeForUnknown" value="False" />
    </appSettings>
  • SanderDkSanderDk Member Posts: 502
    Isn't there another message in the event viewer? cause the does look right.
    For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.
Sign In or Register to comment.