Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I think I understand why this error occurs.
I have
public class SomeClass : IValidate<ContentData>
{
public IEnumerable<ValidationError> Validate(ContentData instance)
{
//I do EPiServer.DataFactory.Get(ContentReference contentLink) here
}
}
I think, this method called before EpiServer load ContentProvider on first visit site in a long time, because if I delete "DataFactory.Get", error not repeated.
Is that so?
Hi.
Sometimes I get EPiServer.Core.ContentProviderNotFoundException.
I noticed that the error appears when I first visit site in a long time.
Stack Trace:
What could be causing this error?