Presserom
Her finn du pressekontaktar, pressefoto og ekspertar på ulike forskingsfelt ved Høgskulen på Vestlandet.
Mediekontakt
Error while rendering PersonWithImageBlock svein ove eikenes med bilde
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.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
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 31
at HVL.Employees.Services.EmployeeIntegration.GetEmployeesByIdAsync(Int32 id, Boolean asNoTracking) in D:\a\1\s\source\HVL.Employees\Services\EmployeeIntegration.cs:line 32
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 57
--- 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 57
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.Framework.Cache.ObjectInstanceCacheExtensions.ReadThrough[T](IObjectInstanceCache cache, String key, Func`1 readValue, Func`2 evictionPolicy, ReadStrategy readStrategy)
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
Pressefoto
Bruk gjerne våre pressebilde, men hugs å merke dei med namnet på fotografen. Ta gjerne kontakt med oss om du har du behov for andre bilde.
Finn vår logo og designmanual.
Er du på leit etter ein ekspert?
Vi har laga ei liste over forskarar ved HVL som forskar på samfunnsaktuelle tema.
Innsyn
Oversikt over tilsette med sidegjeremål
