Click here to Skip to main content
15,908,264 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am uploading a file. I am using the HttpPostedFile object to read the file contents. I am getting the fileName, Content length etc. But i am not been able to read the input stream of file. It is giving me an exception

'(hpf.InputStream).ReadTimeout' threw an exception of type 'System.InvalidOperationException'

Any suggestions??

Thanks,
Asfand
Posted
Comments
That's Aragon 16-Jan-12 9:01am    
Share your code of reading the input stream. Make sure that file is not larger.

 
Share this answer
 
45y464yy54
y
54y
54
y54
y
54
y54
y
54
y54
y
54y
5
y5y54y54
y
54
y5
y
5y5
y
5
y5y

y
y
y
y
y
y
yy

y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y

y
y
y
y
y
y
y
y


5
5
5
5

5
5
5
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900