Update to the original post:
The file download works when the .net application's application pool is set to run with "Local System" and does not work with "Network Services".
The file download works when the .net application's application pool is set to run with "Local System" and does not work with "Network Services".