Excel, CSV export fail under IIS

I am running a production environment of Scriptcase 9.4 under IIS so that I can use Single Sign-On for users in a Windows domain intranet environment. When I try to export to Excel or CSV under IIS the page freezes at the export page with “export XLS” at the top and the View and Download buttons grayed out. The progress bar in the middle doesn’t show any progress. Pressing the back button changes the header to “Export” but the rest of the page stays the same and I’m stuck there and have to close the tab.

When I load the same application under the Apache server included with Scriptcase it works as expected.

I already cleared up authentication / permission issues to get the PDF export to work and PDF exports are working ok. In IIS the Scriptcase folder is set for anonymous authentication and the application folders are set for Windows authentication.

I don’t see any errors in the PHP error log. Chrome Developer mode is showing multiple errors (that keep accumulating until I close out the export tab) indicating that a jquery get request is returning a 404 error:

The URL that is returning the error looks like http : // serverIP:port/scriptcase/tmp/sc_pb_a5cac92f8135b662d9c3fdbb0f07dd14.log?_=1565020253646

This appears to be some issue with the IIS handling of the jquery request, but so far Googling the issue hasn’t turned up anything useful.

Any help appreciated.

Answering my own question in case this helps someone else later:

I finally found something in Google that lead me down the right path. The issue wasn’t with the handling of the jquery, it was with the handling of the .log file. I needed to go into the IIS MIME Types and add a type with extension “.log” and MIME Type “text/plain”. After doing that the Excel and CSV generation are working correctly.