SaaS CMS has officially launched! Learn more now.

Error: Lazy loaded property value is not supported by the current property instance

Vote:
 

I'm having an error running some epi pages. 

Adding "stringDelayedLoadThreshold" to appsettings.json doesn't seem to help.

Page Does have properties with hints on "longstring", TextArea and has properties of type IList<ContentReference>.

Exception:

InvalidOperationException: Lazy loaded property value is not supported by the current property instance

Stack trace:

EPiServer.DataAccess.Internal.LazyPropertyValueLoader.SetValue(PropertyData property, PropertyDataRecord dataRecord, Func<string, Type, object> valueConverter)
EPiServer.DataAccess.Internal.ContentListDB.ReadCustomProperties(DbDataReader reader, Dictionary<int, Dictionary<int, IContent>> allFetchedItems, bool isReadingVersions)
EPiServer.DataAccess.Internal.ContentListDB.ReadPublishedList(DbCommand cmd)
EPiServer.Data.Providers.Internal.SqlDatabaseExecutor+<>c__DisplayClass24_0<TResult>.<Execute>b__0()
EPiServer.Data.Providers.SqlTransientErrorsRetryPolicy.Execute<TResult>(Func<TResult> method)
EPiServer.DataAccess.Internal.ContentListDB.LoadSpecificContentInstances(IList<ContentReference> contentLinks, int languageBranchID)
EPiServer.Core.Internal.DefaultContentProvider.BatchLoad(IList<ContentReference> contentLinks, Func<IList<ContentReference>, IList<IContent>> dbLoader)
EPiServer.Core.Internal.DefaultContentProvider.LoadContents(IList<ContentReference> contentReferences, ILanguageSelector selector)
EPiServer.Core.ContentProvider.GetContentBatch(IList<ContentReference> batch, ILanguageSelector selector, ref List<IContent> contents, ref Dictionary<ContentReference, int> contentMap)
EPiServer.Core.ContentProvider.GetScatteredContents(IEnumerable<ContentReference> contentLinks, ILanguageSelector selector)
EPiServer.Core.Internal.ProviderPipelineImplementation.GetItems(ContentProvider provider, IList<ContentReference> contentLinks, LoaderOptions loaderOptions)
EPiServer.Core.Internal.DefaultContentLoader.GetChildren<T>(ContentReference contentLink, LoaderOptions loaderOptions, int startIndex, int maxRows)
EPiServer.Core.Internal.DefaultContentLoader.GetChildren<T>(ContentReference contentLink, CultureInfo language)
Wilhelmsen.Web.Domain.Extensions.PageDataExtensions.GetChildrenOfType<T>(PageData pageData, IContentLoader contentLoader, CultureInfo currentCulture) in PageDataExtensions.cs

This is quite frustrating as i don't even know which property is causing issues because i cannot load the model and exception message was written by an angry girlfriend, so i have no idea what is wrong.

#293485
Dec 21, 2022 11:50
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.