Quantcast
Channel: Oracle, MySQL, Sybase, Informix and other databases
Viewing all articles
Browse latest Browse all 1350

"Unable to read file" - error when opening file using MS Excel

$
0
0

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.


Viewing all articles
Browse latest Browse all 1350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>