I was putting in some debugging code to test some things, and then the debug code didn\'t behave as expected. The example below is a simplified code to demonstrate my questi
HttpContext.Current.Request.InputStream.Position=0;
Once you read the position goes to last value, from there its trying to read second time. So before you read, set the position to zero.
Hope it helps.