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.
How to handle Exception?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Sandeep Singh ShekhawatRank #147 · 15.6K pointsPosted Dec 6, 2012, 7:27 PM EST
In web.config file added following code:
<configuration>
<system.web>
<httpRuntime maxRequestLength="xxx" />
</system.web>
</configuration>
Xxx : In KB. Define maximum as per requirement.