Skip to content

How to handle Exception?

s kumar

Asked Dec 6, 2012, 6:52 PM EST1 answer
Share
LinkedInX
Hi
      Ihave uploeded  2.88MB file size then Parse this profile Then throw Error "Exception of type 'System.OutOfMemoryException' was thrown." Plz Give me your suggestion.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Sandeep Singh Shekhawat
    0

    In web.config file added following code:


    <configuration>

      <system.web>

        <httpRuntime maxRequestLength="xxx" />

      </system.web>

    </configuration>

     

    Xxx : In KB. Define maximum as per requirement.

    0