I am trying to implement an AOT caching process through a console app which will be a scheduled task. I am receiving the following error when calling the GenerateHtml() method on the DocumentCache class.
I have sent an email to support with the VS solution:
ERR - Message: Object reference not set to an instance of an object., Stack Trace: at (Object , String )
at Groupdocs.Web.UI.ApplicationPathFinder.GetApplicationPath()
at Groupdocs.Web.UI.UrlsCreator.get_EndpointPrefix()
at Groupdocs.Web.UI.UrlsCreator.GetResourceForHtmlUrl(String documentPath, String resourcePath, Boolean relativeToOriginal, String instanceId)
at Groupdocs.Web.UI.DocumentCache.GenerateHtml(String documentPath, String baseUrl, Boolean usePngImagesForHtmlBasedEngine, Boolean useHttpHandlers, Boolean embedImagesIntoHtmlForWordFiles, Boolean supportListOfContentControls)
at Groupdocs.Web.UI.DocumentCache.GenerateHtml(Stream stream, String streamFileName, String fileExtension, Boolean useCachedStreamContentsIfPossible, Func`1 streamCreator, String baseUrl, Boolean usePngImagesForHtmlBasedEngine, Boolean useHttpHandlers, Boolean embedImagesIntoHtmlForWordFiles, Boolean supportListOfContentControls)
at CTech.GroupDocsCache.GroupDocsCache.d__b.MoveNext() in c:\Projects\DocumentManagementSystem\GroupDocsCache\CTech.GroupDocsCache\GroupDocsCache.cs:line 70