Streamreader Timeout Issue

  • Thread starter Thread starter Matt Bailey
  • Start date Start date
M

Matt Bailey

Hi,

I have an ASPX page with a C# backend in which I use a StreamReader to
input a file so that I can parse through it. While the code I have
works, I get a 404 error when I try to use an input file larger that 10
mb, which will be a common occurance for my app. Is there a way I can
increase the time on the timeout, or is there an alternative to the
streamreader that I can use?

Any help is greatly appreciated.

Thanks
 
Yes, by extending timeout in config. But, if all you are doing is backend
parsing, set the parser up as a windows service and fire it off asynch.
Then, timeout will not matter.

It really depends on whether or not you need to display the parse.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think Outside the Box!
*************************************************
 
Back
Top