500.19 error on Azure only

view story

http://serverfault.com – My application reads in and parses XML files into a SQL database (also Azure hosted). Files up to 15 mb or so don't give me any problems but the next largest file I have to test with is 30mb and it always gives me the following error (after processing for a while): 502 - Web server received an invalid response while acting as a gateway or proxy server. There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content serve (HowTos)