User1436298894 posted
Hi,
I have to Upload a file which is upto 10MB(only rtf or text files). i am using fileupload component and i am able to recieve the file as httpPostedFile. But the problem for me is when i tried to read the contents and post it
to Database, Then server throws out of memory Exception.
Quite interestingly this does not happens in Developer machines but this happens in production enviornment. i am using StringBuilder to read the content. Here string builder is created and read the contents. But when i am adding
it as a sqlparameters i have to read the contents and make it to string[]. That is where it throws the exception.
Anyone have any idea about how to solve this issue?.
Thanks in advance
Bijo.