Hello,
I have created a functionality to send xls report to client. I have used datareader to get data from SQL server and used response.write to send the data to client.
Many time when i open the downloaded file first time i got error "Unable to read file", but when i open the same file next time i can see the contents.
Please let me know what is causing first time when i open the file.