Sometimes when I open the Infopath form, it says "Loading form" and gives the following error:
Exception of type "System.OutOfMemoryException" was thrown.
As per my observation, this error is displayed only when the the attachment size in the form is very large e.g. >10MB or so.
When, I remove the attachment, it works fine.
I get this error only when I open the form in browser mode. Opening in Infopath application just works fine.
Any suggestions?