Hoppa till huvudinnehållet

“export to shape file” tool ends up with “timeout exceeded” error,

Kommentarer

3 kommentarer

  • Mike Ketler

    Hi,

     

    You could try increasing the HTML5 Viewer timeout as the default is 60 seconds.

     

    This will require editing the viewer index.html page. 

     

    Replace:

     

    new geocortex.essentialsHtmlViewer.ViewerLoader().loadAndInitialize();

     

    With (you can change the values so the timeout is less or more):

     

    new geocortex.essentialsHtmlViewer.ViewerLoader().loadAndInitialize({ onSiteInitialized: function(app, loader) { geocortex.config.io.timeout = 600 * 1000; // 600 seconds. } });

     

    Thanks,

     

    Mike Ketler
    0
  • Permanently deleted user
    FYI, the formatting did not come through in the code above, it should read -

     

    new geocortex.essentialsHtmlViewer.ViewerLoader().loadAndInitialize(

     

                { onSiteInitialized: function(app, loader)

     

                    { geocortex.config.io.timeout = 600 * 1000; // 600 seconds.

     

                }

     

            });

     

    or on one line it can be -

     

    new geocortex.essentialsHtmlViewer.ViewerLoader().loadAndInitialize({ onSiteInitialized: function(app, loader) { geocortex.config.io.timeout = 120 * 1000; } });
    0
  • Permanently deleted user
    Hi,

     

    This changing in code is only increase the time before displaying "time out exceeded" error (This error will displayed after 120 second instead of 60 second).

     

     

    In other words, This time is increased in the code to try increasing the HTML5 viewer timeout before displaying this message to the end user.

     

    Am I right?

     

    Best,

     

    Fatin

     

     
    0

Du måste logga in om du vill lämna en kommentar.