Blank File download issue
-
Hi all, I'm using Response.Writefile to transmit a file to the client; the method works on one server, but on another with seemingly identical configuration, it sends an empty file - correct name, etc, but no content. No error message. I've tried setting content-length to no avail, and I'm using pretty standard code - and before you ask, yes, the file has something in it. Anyone have any prior experience with this? Thanks, Steve
-
Hi all, I'm using Response.Writefile to transmit a file to the client; the method works on one server, but on another with seemingly identical configuration, it sends an empty file - correct name, etc, but no content. No error message. I've tried setting content-length to no avail, and I'm using pretty standard code - and before you ask, yes, the file has something in it. Anyone have any prior experience with this? Thanks, Steve
Deleting Response.Close() in my code and moving the code to override the page render command fixed the issue. Why this would only show up on some servers I can't say.