Click here to Skip to main content
15,920,383 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
How to fixed it when it is uploaded in server.
Posted
Comments
koolprasad2003 28-Nov-11 0:46am    
pl. provide the Exception details.
pl. paste the ex.StackTrace.
OutofMemory has lot of Scenario's. is it due to SQL or due any resource or due to components. pl. provide details and when this exception throws ?

hi rohit,
Click Here[^]
 
Share this answer
 
Please share us your code. And on what line you get the error so we could help.

Usually an OutOfMemoryException exception is thrown when an attempt to allocate memory fails. This exception may be thrown with an additional message, "Not enough storage is available to complete this operation," when invoking a method on a COM object that returns a user-defined type that contains a safe array (an array of non-fixed size). This is because the .NET Framework cannot marshal a structure field with a safe array type.

Best links for you:

http://support.microsoft.com/kb/909678[^]

http://msdn.microsoft.com/en-us/library/9w766t6y(v=vs.80).aspx[^]

Regards,
Eduard
 
Share this answer
 
•Check the "Maximum size of the form session state" and set it to 53000 for example (for large file attachment).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900