Server Error in '/' Application.

The data area passed to a system call is too small.

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: Borland.Vcl.EOutOfResources: The data area passed to a system call is too small.


Source Error:


Line 25: 
Line 26: Graph.GraphType = 1
Line 27: Graph.GraphToBrowser(1)
Line 28: 
Line 29: %>

Source File: C:\Web\A-H\chestysoft.co.uk\aspnet\aspnetgraph\bar1.aspx    Line: 27

Stack Trace:


[EOutOfResources: The data area passed to a system call is too small.
]
   Borland.Vcl.Units.Graphics.GDIError() +198
   Borland.Vcl.Units.Graphics.CopyBitmap(UInt32 Handle, UInt32 OldPalette, UInt32 NewPalette, tagDIBSECTION& DIB, TCanvas Canvas) +1215
   Borland.Vcl.TBitmap.CopyImage(UInt32 AHandle, UInt32 APalette, tagDIBSECTION DIB) +319
   Borland.Vcl.TBitmap.SetSize(Int32 AWidth, Int32 AHeight) +209
   drawgraphnet.DrawGraph.DoPalette(TGraphType GraphType) +1847
   drawgraphnet.DrawGraph.GetGraph() +143
   drawgraphnet.DrawGraph.GraphToArray(Int32 ImageType) +55
   drawgraphnet.DrawGraph.GraphToBrowser(Int32 ImageType) +201
   ASP.aspnet_aspnetgraph_bar1_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\Web\A-H\chestysoft.co.uk\aspnet\aspnetgraph\bar1.aspx:27
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +117
   System.Web.UI.Page.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8753


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3770.0