2019-06-13 13:00:02.2728 Info Message Template Auto Format enabled 2019-06-13 13:00:02.2984 Info Loading assembly file: {correctfilepath}\Microsoft.ApplicationInsights.NLogTarget.dll 2019-06-13 13:00:02.3589 Info Adding target AsyncTargetWrapper(Name=dbTarget) 2019-06-13 13:00:02.3799 Info Adding target AsyncTargetWrapper(Name=aiTarget) 2019-06-13 13:00:02.4175 Info Found 68 configuration items 2019-06-13 13:00:02.5749 Info Configuration initialized. 2019-06-13 13:00:02.5803 Info NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 4.6.3.9764. Product version: 4.6.3. 2019-06-13 13:00:04.6763 Warn Exception in layout renderer. Exception: System.InvalidOperationException: Session has not been configured for this application or request. at Microsoft.AspNetCore.Http.DefaultHttpContext.get_Session() at NLog.Web.LayoutRenderers.AspNetSessionIdLayoutRenderer.DoAppend(StringBuilder builder, LogEventInfo logEvent) at NLog.LayoutRenderers.LayoutRenderer.RenderAppendBuilder(LogEventInfo logEvent, StringBuilder builder) 2019-06-13 13:00:04.8760 Error Error has been raised. Exception: System.NullReferenceException: Object reference not set to an instance of an object. at NLog.Targets.Target.PrecalculateVolatileLayoutsWithLock(LogEventInfo logEvent) at NLog.Targets.Wrappers.AsyncTargetWrapper.Write(AsyncLogEventInfo logEvent) at NLog.Targets.Wrappers.AsyncTargetWrapper.WriteAsyncThreadSafe(AsyncLogEventInfo logEvent) 2019-06-13 13:00:06.0467 Warn Exception in layout renderer. Exception: System.InvalidOperationException: Session has not been configured for this application or request. at Microsoft.AspNetCore.Http.DefaultHttpContext.get_Session() at NLog.Web.LayoutRenderers.AspNetSessionIdLayoutRenderer.DoAppend(StringBuilder builder, LogEventInfo logEvent) at NLog.LayoutRenderers.LayoutRenderer.RenderAppendBuilder(LogEventInfo logEvent, StringBuilder builder) 2019-06-13 13:00:06.0663 Warn Exception in layout renderer. Exception: System.InvalidOperationException: Session has not been configured for this application or request. at Microsoft.AspNetCore.Http.DefaultHttpContext.get_Session() at NLog.Web.LayoutRenderers.AspNetSessionIdLayoutRenderer.DoAppend(StringBuilder builder, LogEventInfo logEvent) at NLog.LayoutRenderers.LayoutRenderer.RenderAppendBuilder(LogEventInfo logEvent, StringBuilder builder) 2019-06-13 13:00:06.4686 Warn Exception in layout renderer. Exception: System.InvalidOperationException: Session has not been configured for this application or request. at Microsoft.AspNetCore.Http.DefaultHttpContext.get_Session() at NLog.Web.LayoutRenderers.AspNetSessionIdLayoutRenderer.DoAppend(StringBuilder builder, LogEventInfo logEvent) at NLog.LayoutRenderers.LayoutRenderer.RenderAppendBuilder(LogEventInfo logEvent, StringBuilder builder) 2019-06-13 13:00:06.4686 Warn Exception in layout renderer. Exception: System.InvalidOperationException: Session has not been configured for this application or request. at Microsoft.AspNetCore.Http.DefaultHttpContext.get_Session() at NLog.Web.LayoutRenderers.AspNetSessionIdLayoutRenderer.DoAppend(StringBuilder builder, LogEventInfo logEvent) at NLog.LayoutRenderers.LayoutRenderer.RenderAppendBuilder(LogEventInfo logEvent, StringBuilder builder) 2019-06-13 13:00:06.7323 Warn Exception in layout renderer. Exception: System.InvalidOperationException: Session has not been configured for this application or request. at Microsoft.AspNetCore.Http.DefaultHttpContext.get_Session() at NLog.Web.LayoutRenderers.AspNetSessionIdLayoutRenderer.DoAppend(StringBuilder builder, LogEventInfo logEvent) at NLog.LayoutRenderers.LayoutRenderer.RenderAppendBuilder(LogEventInfo logEvent, StringBuilder builder) 2019-06-13 13:00:06.9127 Warn Exception in layout renderer. Exception: System.InvalidOperationException: Session has not been configured for this application or request. at Microsoft.AspNetCore.Http.DefaultHttpContext.get_Session() at NLog.Web.LayoutRenderers.AspNetSessionIdLayoutRenderer.DoAppend(StringBuilder builder, LogEventInfo logEvent) at NLog.LayoutRenderers.LayoutRenderer.RenderAppendBuilder(LogEventInfo logEvent, StringBuilder builder) 2019-06-13 13:00:22.4392 Warn Exception in layout renderer. Exception: System.InvalidOperationException: Session has not been configured for this application or request. at Microsoft.AspNetCore.Http.DefaultHttpContext.get_Session() at NLog.Web.LayoutRenderers.AspNetSessionIdLayoutRenderer.DoAppend(StringBuilder builder, LogEventInfo logEvent) at NLog.LayoutRenderers.LayoutRenderer.RenderAppendBuilder(LogEventInfo logEvent, StringBuilder builder) 2019-06-13 13:00:23.1412 Warn Exception in layout renderer. Exception: System.InvalidOperationException: Session has not been configured for this application or request. at Microsoft.AspNetCore.Http.DefaultHttpContext.get_Session() at NLog.Web.LayoutRenderers.AspNetSessionIdLayoutRenderer.DoAppend(StringBuilder builder, LogEventInfo logEvent) at NLog.LayoutRenderers.LayoutRenderer.RenderAppendBuilder(LogEventInfo logEvent, StringBuilder builder)