[Component Error] incidentsBanner
System.InvalidOperationException: The ConnectionString property has not been initialized.
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Ytl.Infrastructure.Incidents.Repositories.IncidentsRepository.GetDistinctIncidents(Int32 take, IEnumerable`1 incidentTypes) in /home/vsts/work/1/s/src/Ytl.Infrastructure/Incidents/Repositories/IncidentsRepository.cs:line 32
at Ytl.Components.Incidents.Services.IncidentsBannerService.GetIncidentsBanner() in /home/vsts/work/1/s/src/Ytl.Components/Incidents/Services/IncidentsBannerService.cs:line 28
at lambda_method354799(Closure, Object, Object[])
at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeSyncCore(ObjectMethodExecutor executor, Object component, ViewComponentContext context)
at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context)
at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context)
at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper.InvokeCoreAsync(ViewComponentDescriptor descriptor, Object arguments)
at AspNetCoreGeneratedDocument.Views_Partials_blocklist_external.ExecuteAsync() in /home/vsts/work/1/s/src/Ytl.Website/Views/Partials/blocklist/external.cshtml:line 16
Technical issues
Sorry we are experiencing technical difficulties with our online report a problem service. Apologies for any inconvenience caused.
To report an incident please contact us on 0345 600 4 600.
System.NullReferenceException: Object reference not set to an instance of an object.
at Ytl.Components.Auth.ViewComponents.SsoSilentViewComponent.InvokeAsync() in /home/vsts/work/1/s/src/Ytl.Components/Auth/ViewComponents/SsoSilentViewComponent.cs:line 55
at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsyncCore(ObjectMethodExecutor executor, Object component, ViewComponentContext context)
at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context)
at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context)
at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper.InvokeCoreAsync(ViewComponentDescriptor descriptor, Object arguments)
at AspNetCoreGeneratedDocument.Views_Partials_blocklist_external.ExecuteAsync() in /home/vsts/work/1/s/src/Ytl.Website/Views/Partials/blocklist/external.cshtml:line 16