Tilsette ved Senter for omsorgsforskning, vest


Error når innhold rendres PersonWithImageBlock Møt Frode Fadnes J fageleg leiar

A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync() at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at HVL.Employees.Repositories.EmployeeRepository.GetEmployeesByIdAsync(Int32 id, Boolean asNoTracking) in D:\a\1\s\source\HVL.Employees\Repositories\EmployeeRepository.cs:line 30 at HVL.Employees.Services.EmployeeIntegration.GetEmployeesByIdAsync(Int32 id, Boolean asNoTracking) in D:\a\1\s\source\HVL.Employees\Services\EmployeeIntegration.cs:line 39 at HVL.Providers.EmployeeProvider.EmployeeDataProvider.<>c__DisplayClass10_0.<<LoadContent>b__1>d.MoveNext() in D:\a\1\s\source\HVL\Providers\EmployeeProvider\EmployeeDataProvider.cs:line 53 --- End of stack trace from previous location --- at HVL.Providers.EmployeeProvider.EmployeeDataProvider.LoadContent(ContentReference contentLink, ILanguageSelector languageSelector) in D:\a\1\s\source\HVL\Providers\EmployeeProvider\EmployeeDataProvider.cs:line 53 at EPiServer.Core.ContentProvider.<>c__DisplayClass123_0.<LoadContentFromCacheOrRepository>b__0() at EPiServer.Framework.Cache.ObjectInstanceCacheExtensions.ReadThroughWithWait[T](IObjectInstanceCache cache, String cacheKey, Func`1 readValue, Func`2 evictionPolicy) at EPiServer.Core.Internal.ContentInstanceCache.ReadThrough(ContentReference contentLink, String selectedLanguage, Func`1 readValue) at EPiServer.Core.ContentProvider.LoadContentFromCacheOrRepository(ContentReference contentreference, ILanguageSelector selector) at EPiServer.Core.Internal.ProviderPipelineImplementation.GetItem(ContentProvider provider, ContentReference contentLink, LoaderOptions loaderOptions) at EPiServer.Core.Internal.DefaultContentLoader.TryGet[T](ContentReference contentLink, LoaderOptions loaderOptions, T& content) at EPiServer.Core.Html.StringParsing.ContentFragment.GetContent(Boolean enableMasterLanguageFallback) at EPiServer.Core.Html.StringParsing.ContentFragment.GetSecurityDescriptor() at EPiServer.Core.Html.StringParsing.StringFragmentCollection.GetFilteredFragments(IPrincipal principal) at HVL.Features.Components.PersonWithImage.PersonWithImageBlockController.GetEmployeeDataIfExists(PersonWithImageBlock currentBlock) in D:\a\1\s\source\HVL\Features\Components\PersonWithImage\PersonWithImageBlockController.cs:line 61 at HVL.Features.Components.PersonWithImage.PersonWithImageBlockController.InvokeComponentAsync(PersonWithImageBlock currentBlock) in D:\a\1\s\source\HVL\Features\Components\PersonWithImage\PersonWithImageBlockController.cs:line 21 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 EPiServer.Cms.AspNetCore.Mvc.Internal.DefaultMvcContentRenderer.RenderAsync(ViewContext viewContext, IContentData contentData, TemplateModel templateModel, String templateTag) at EPiServer.Cms.AspNetCore.Mvc.Internal.DefaultMvcContentRenderer.RenderAsync(IHtmlHelper helper, IContentData contentData, TemplateModel templateModel) at EPiServer.Web.Mvc.MvcContentRenderer.RenderAsync(IHtmlHelper helper, IContentData contentData, TemplateModel templateModel) at HVL.Business.Rendering.ErrorHandlingContentRenderer.RenderAsync(IHtmlHelper helper, IContentData contentData, TemplateModel templateModel) in D:\a\1\s\source\HVL\Business\Rendering\ErrorHandlingContentRenderer.cs:line 31

Error når innhold rendres PersonWithImageBlock Møt Janne Bjorheim Bøe dagleg leiar

A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync() at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at HVL.Employees.Repositories.EmployeeRepository.GetEmployeesByIdAsync(Int32 id, Boolean asNoTracking) in D:\a\1\s\source\HVL.Employees\Repositories\EmployeeRepository.cs:line 30 at HVL.Employees.Services.EmployeeIntegration.GetEmployeesByIdAsync(Int32 id, Boolean asNoTracking) in D:\a\1\s\source\HVL.Employees\Services\EmployeeIntegration.cs:line 39 at HVL.Providers.EmployeeProvider.EmployeeDataProvider.<>c__DisplayClass10_0.<<LoadContent>b__1>d.MoveNext() in D:\a\1\s\source\HVL\Providers\EmployeeProvider\EmployeeDataProvider.cs:line 53 --- End of stack trace from previous location --- at HVL.Providers.EmployeeProvider.EmployeeDataProvider.LoadContent(ContentReference contentLink, ILanguageSelector languageSelector) in D:\a\1\s\source\HVL\Providers\EmployeeProvider\EmployeeDataProvider.cs:line 53 at EPiServer.Core.ContentProvider.<>c__DisplayClass123_0.<LoadContentFromCacheOrRepository>b__0() at EPiServer.Framework.Cache.ObjectInstanceCacheExtensions.ReadThroughWithWait[T](IObjectInstanceCache cache, String cacheKey, Func`1 readValue, Func`2 evictionPolicy) at EPiServer.Core.Internal.ContentInstanceCache.ReadThrough(ContentReference contentLink, String selectedLanguage, Func`1 readValue) at EPiServer.Core.ContentProvider.LoadContentFromCacheOrRepository(ContentReference contentreference, ILanguageSelector selector) at EPiServer.Core.Internal.ProviderPipelineImplementation.GetItem(ContentProvider provider, ContentReference contentLink, LoaderOptions loaderOptions) at EPiServer.Core.Internal.DefaultContentLoader.TryGet[T](ContentReference contentLink, LoaderOptions loaderOptions, T& content) at EPiServer.Core.Html.StringParsing.ContentFragment.GetContent(Boolean enableMasterLanguageFallback) at EPiServer.Core.Html.StringParsing.ContentFragment.GetSecurityDescriptor() at EPiServer.Core.Html.StringParsing.StringFragmentCollection.GetFilteredFragments(IPrincipal principal) at HVL.Features.Components.PersonWithImage.PersonWithImageBlockController.GetEmployeeDataIfExists(PersonWithImageBlock currentBlock) in D:\a\1\s\source\HVL\Features\Components\PersonWithImage\PersonWithImageBlockController.cs:line 61 at HVL.Features.Components.PersonWithImage.PersonWithImageBlockController.InvokeComponentAsync(PersonWithImageBlock currentBlock) in D:\a\1\s\source\HVL\Features\Components\PersonWithImage\PersonWithImageBlockController.cs:line 21 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 EPiServer.Cms.AspNetCore.Mvc.Internal.DefaultMvcContentRenderer.RenderAsync(ViewContext viewContext, IContentData contentData, TemplateModel templateModel, String templateTag) at EPiServer.Cms.AspNetCore.Mvc.Internal.DefaultMvcContentRenderer.RenderAsync(IHtmlHelper helper, IContentData contentData, TemplateModel templateModel) at EPiServer.Web.Mvc.MvcContentRenderer.RenderAsync(IHtmlHelper helper, IContentData contentData, TemplateModel templateModel) at HVL.Business.Rendering.ErrorHandlingContentRenderer.RenderAsync(IHtmlHelper helper, IContentData contentData, TemplateModel templateModel) in D:\a\1\s\source\HVL\Business\Rendering\ErrorHandlingContentRenderer.cs:line 31

Error når innhold rendres PersonWithImageBlock Møt koord E-helsearena

A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync() at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at HVL.Employees.Repositories.EmployeeRepository.GetEmployeesByIdAsync(Int32 id, Boolean asNoTracking) in D:\a\1\s\source\HVL.Employees\Repositories\EmployeeRepository.cs:line 30 at HVL.Employees.Services.EmployeeIntegration.GetEmployeesByIdAsync(Int32 id, Boolean asNoTracking) in D:\a\1\s\source\HVL.Employees\Services\EmployeeIntegration.cs:line 39 at HVL.Providers.EmployeeProvider.EmployeeDataProvider.<>c__DisplayClass10_0.<<LoadContent>b__1>d.MoveNext() in D:\a\1\s\source\HVL\Providers\EmployeeProvider\EmployeeDataProvider.cs:line 53 --- End of stack trace from previous location --- at HVL.Providers.EmployeeProvider.EmployeeDataProvider.LoadContent(ContentReference contentLink, ILanguageSelector languageSelector) in D:\a\1\s\source\HVL\Providers\EmployeeProvider\EmployeeDataProvider.cs:line 53 at EPiServer.Core.ContentProvider.<>c__DisplayClass123_0.<LoadContentFromCacheOrRepository>b__0() at EPiServer.Framework.Cache.ObjectInstanceCacheExtensions.ReadThroughWithWait[T](IObjectInstanceCache cache, String cacheKey, Func`1 readValue, Func`2 evictionPolicy) at EPiServer.Core.Internal.ContentInstanceCache.ReadThrough(ContentReference contentLink, String selectedLanguage, Func`1 readValue) at EPiServer.Core.ContentProvider.LoadContentFromCacheOrRepository(ContentReference contentreference, ILanguageSelector selector) at EPiServer.Core.Internal.ProviderPipelineImplementation.GetItem(ContentProvider provider, ContentReference contentLink, LoaderOptions loaderOptions) at EPiServer.Core.Internal.DefaultContentLoader.TryGet[T](ContentReference contentLink, LoaderOptions loaderOptions, T& content) at EPiServer.Core.Html.StringParsing.ContentFragment.GetContent(Boolean enableMasterLanguageFallback) at EPiServer.Core.Html.StringParsing.ContentFragment.GetSecurityDescriptor() at EPiServer.Core.Html.StringParsing.StringFragmentCollection.GetFilteredFragments(IPrincipal principal) at HVL.Features.Components.PersonWithImage.PersonWithImageBlockController.GetEmployeeDataIfExists(PersonWithImageBlock currentBlock) in D:\a\1\s\source\HVL\Features\Components\PersonWithImage\PersonWithImageBlockController.cs:line 61 at HVL.Features.Components.PersonWithImage.PersonWithImageBlockController.InvokeComponentAsync(PersonWithImageBlock currentBlock) in D:\a\1\s\source\HVL\Features\Components\PersonWithImage\PersonWithImageBlockController.cs:line 21 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 EPiServer.Cms.AspNetCore.Mvc.Internal.DefaultMvcContentRenderer.RenderAsync(ViewContext viewContext, IContentData contentData, TemplateModel templateModel, String templateTag) at EPiServer.Cms.AspNetCore.Mvc.Internal.DefaultMvcContentRenderer.RenderAsync(IHtmlHelper helper, IContentData contentData, TemplateModel templateModel) at EPiServer.Web.Mvc.MvcContentRenderer.RenderAsync(IHtmlHelper helper, IContentData contentData, TemplateModel templateModel) at HVL.Business.Rendering.ErrorHandlingContentRenderer.RenderAsync(IHtmlHelper helper, IContentData contentData, TemplateModel templateModel) in D:\a\1\s\source\HVL\Business\Rendering\ErrorHandlingContentRenderer.cs:line 31