Server Error in '/' Application.

Exception of type 'System.OutOfMemoryException' was thrown.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

Source Error:


Line 107:            }
Line 108:        }
Line 109:    }
Line 110:    public Color GetRandomColor()
Line 111:    {

Source File: d:\Inetpub\vhosts\thuyloibinhthuan.vn\httpdocs\App_Code\CaptchaProvider.cs    Line: 109

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   CaptchaProvider.CreateCaptcha() in d:\Inetpub\vhosts\thuyloibinhthuan.vn\httpdocs\App_Code\CaptchaProvider.cs:109
   Vn_Contact.Page_Load(Object sender, EventArgs e) in d:\Inetpub\vhosts\thuyloibinhthuan.vn\httpdocs\Vn\Contact.aspx.cs:14
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.8964; ASP.NET Version:2.0.50727.8962