Widget import issue with 11 version in local

Former Member
Former Member

Hi Team,

I enabled socket Socket Message Bus Service, job server also running and all are connected in diagnostic like below

When I import the widgets in my local,I got below error and I didn't have any idea.

Kindly help me to resolve this issue please, thanks!

Parents Reply Children
  • Former Member
    0 Former Member in reply to Former Member

    Yes I created custom widgets and I imported into my local.

    <?xml version="1.0" encoding="utf-8"?>
    <exceptions generated="2021-08-12T12:51:30.3028262Z" version="11.1.4.12924" product="Telligent Community" machineName="LAPTOP-B85L0VDS" operatingSystem="Microsoft Windows NT 10.0.18363.0">
    	<exception id="2" userAgent="" serverName="LAPTOP-B85L0VDS" httpPathAndQuery="" httpVerb="" httpReferrer="" message="An error occurred while rendering the 'callback-data-import-fragments-task.jsm' script from the widget 'Widget Studio' (bf8b78932cbb4566a0a35ab228724f9d)" type="ContentFragmentRenderingError" ipAddress="127.0.0.1" lastOcurred="2021-08-12T12:51:18.5630000Z" frequency="5">
    UnknownException: An error occurred while rendering the 'callback-data-import-fragments-task.jsm' script from the widget 'Widget Studio' (bf8b78932cbb4566a0a35ab228724f9d) (An error occurred while trying to render a widget. Details of the issue were logged for review by the administrator.) ---&gt; Telligent.Evolution.ScriptedContentFragments.Model.JavaScriptException: Line 22, Column 1: An unexpected error prevented your requested action from completing. The error has been logged for the administrator to review.
     at call(Jint.Parser.Ast.ThisExpression) @  0:1
     ---&gt; Jint.Runtime.JavaScriptException: An unexpected error prevented your requested action from completing. The error has been logged for the administrator to review.
       at Jint.Engine.Execute(Program program, JintCallStack callStack)
       at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentRenderingService.ExecuteJavascript(JavascriptExecutionContext context, String resourceName, DateTime sourceLastModifiedDateUtc, Func`1 getSource, ScriptLanguage parentLanguage)
       --- End of inner exception stack trace ---
       at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentRenderingService.ExecuteJavascript(JavascriptExecutionContext context, String resourceName, DateTime sourceLastModifiedDateUtc, Func`1 getSource, ScriptLanguage parentLanguage)
       at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentRenderingService.&lt;&gt;c__DisplayClass38_1.&lt;RenderScriptInternal&gt;b__0()
       at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentOutputCachingService.Get(ScriptedContentFragment fragment, String cacheKey, Boolean cacheable, Func`1 getRenderedOutput)
       at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentRenderingService.RenderScriptInternal(ScriptedContentFragment contentFragment, NameValueCollection parameters, IPropertyTemplateOptions propertyOptions, String templateName, String internalId, String wrapperId, Boolean throwExceptions, String cacheKey, ScriptLanguage language, String friendlyTemplateName, IDictionary`2 additionalContext)
       --- End of inner exception stack trace ---
       at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentRenderingService.RenderScriptInternal(ScriptedContentFragment contentFragment, NameValueCollection parameters, IPropertyTemplateOptions propertyOptions, String templateName, String internalId, String wrapperId, Boolean throwExceptions, String cacheKey, ScriptLanguage language, String friendlyTemplateName, IDictionary`2 additionalContext)
       at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentRenderingService.RenderScript(ScriptedContentFragment fragment, NameValueCollection parameters, String fileName, String internalId, String wrapperId, Boolean throwExceptions, IDictionary`2 additionalContext)
       at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentFileExecutionService.RenderFileInternal(TextWriter writer, Action`3 error, String internalId, String wrapperId, ScriptedContentFragment fragment, String fileName, NameValueCollection parameters, IPropertyTemplateOptions propertyOptions, IDictionary`2 additionalContext)
    </exception>
    </exceptions>

    I shared the error xml export and I didn't see any option to export the diagnostics export.

    Kindly check the above xml and let me know for any other information, thanks!

  • Former Member
    0 Former Member in reply to Former Member

    Diagnostics export is at Administration > About > Download Diagnostics.

    Can you also provide a copy of the widget you are trying to import that produces this error? Did you create this widget in another instance and export it?