Publishing a Page Is Prevented Due to Slow Rendering Visualizers


There is an issue where accessing the Content Library in the Persona Bar or deploying a visualizer on a page causes the site to slow down.



  • Must have a version lower than Evoq 9.4.0.




There is a known bug within the code of the Evoq 9.1.1 version. This issue occurs when a specific Content type has a large number of fields and the API call to render the visualizer times out.

Error: FriendlyMessage="Error: Visualizer is currently unavailable."

Stack Trace:

DotNetNuke.Services.Exceptions.Exceptions - FriendlyMessage="Error: Visualizer is currently unavailable." ctrl="ASP.desktopmodules_dnncorp_structuredcontentvisualizer_view_ascx" exc="System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Evoq.StructuredContent.Visualizer.Components.Remote.VisualizerRemoteManager.CallRenderApi[T](Int32 portalId, String url)
at Evoq.StructuredContent.Visualizer.Components.Remote.VisualizerRemoteManager.Render(String visualizerInstanceId, String currentPageUrl, Int32 portalId)
at Polly.Policy.<>c__DisplayClass8_0`1.<Execute>b__0()
at Polly.Retry.RetryEngine.Implementation(Action action, IEnumerable`1 shouldRetryPredicates, Func`1 policyStateFactory)
at Polly.Policy.Execute[TResult](Func`1 action, Context context)
at Evoq.StructuredContent.Visualizer.Components.Remote.VisualizerRetryRemoteManager.Render(String visualizerInstanceId, String currentPageUrl, Int32 portalId)
at Evoq.StructuredContent.Visualizer.Components.VisualizerManager.<>c__DisplayClass7_0.<Render>b__0()
at Evoq.StructuredContent.Visualizer.Components.VisualizerManager.ExecuteAndHandleExceptions(RenderResultMetadata renderResultMetadata, Int32 moduleId, Int32 portalId, Int32 version, Func`1 action)
at Evoq.StructuredContent.Visualizer.Components.VisualizerManager.Render(ModuleInfo moduleInfo, Int32 version, Settings settings, String currentPageUrl)
at Evoq.StructuredContent.Visualizer.View.InitializeRender()
---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---



The solution is to upgrade your environment to Evoq 9.4.


After upgrading the environment to 9.4, run the following query:

  • exec UpdateHostSetting 'StructuredContentRenderTimeoutInSeconds', '120', 0, 1

In the above query,  '120' is the setting value, 0 means it is not a secure setting, and 1 is the User ID adding this setting.

  • This will increase the visualizer render timeout value to 120 seconds.



To confirm the resolution of this issue, you should be able to access the Content Library.



Please sign in to leave a comment.