Skip to main content
Kofax

HTTP 500 Timeout Errors Exporting Large Excel files

3011834

Question / Problem: 

When attempting to export large Excel files, HTTP 500 error is thrown with the following text in Viewer's log. What causes that and how can it be resolved?

ERROR Insight.App_Code.serviceHandler - https://127.0.0.1/WcfDataService/Htm.../ExportToExcel
System.Threading.ThreadAbortException: Thread was being aborted.

 

Answer / Solution: 

This issue occurs when the service handler times out before the data service can provide a response. In v5.x, the default timeout is 90 seconds. To fix this, modify the Viewer application's web.confg file as follows:

  1. Backup existing copy of \Program Files\Kofax\Insight 5.4.0.0\HtmlInsightView\View\web.config
  2. Edit the file and note the following section:

clipboard_e9ce064a15ae2f690c6093efcdeda54f9.png

3. Add the following entry to the existing httpRunTime line:

clipboard_e1fa7704c5058a7b2b91b04b9ca3a1fa1.png

  1. Save the file
  2. Perform an IIS reset or restart the Insight 5.4 Application Pool
  3. Test

 

Applies to:  

Product Version Category

Insight

KAFC

5.x

Viewer

Data Service

HTML Data Service

Export

Excel

 

  • Was this article helpful?