Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Not enough storage is available to process this command - Error

edited October 2003 in General
I've come accross this problem with one of my client's reports and its abit of
a show stopper. It occures when printing out a few pages of a RTF text via
TppDBRichText using a DBPipeline connecting up to an ADOQuery to M$ SQL7 . I've
run the query used on Query Analyser and the results come back fine. The funny
thing is this error occurs only when doing a print preview. The complete report
prints fine if sent directly to a printer. Using Report Builder 6.01.

Here is a stack dump which might give you some help.

Any ideas/help would be greatly appreciated.

Regards


---------------------------

date/time : 2003-10-23 14:35
computer name : NAZ
user name : NSA
operating system : Windows 2000 Service Pack 3 build 2195
system language : English
system up time : 5 hours 54 minutes
physical memory : 107?383 MB (free/total)
free disk space : (C:) 721,26 MB
executable : ProcSys.exe
exec. date/time : 2003-10-23 14:34
version : 1.0.0.34
madExcept version : 2.5
exception class : EPrintError
exception message : Cannot generate report.

Not enough storage is available to process this command.
.

main thread ($5dc):
00668bcd ProcSys.exe ppReport TppReport.RequestPage
77fa0311 ntdll.dll KiUserExceptionDispatcher
0040358a ProcSys.exe System @ClassDestroy
0043f882 ProcSys.exe Graphics TBitmapImage.Destroy
00403200 ProcSys.exe System TObject.Free
0043f828 ProcSys.exe Graphics TSharedImage.Release
0067168b ProcSys.exe ppDrwCmd TppDrawRichText.Draw
00680617 ProcSys.exe ppDevice TppDevice.DrawPage
0066cebf ProcSys.exe ppViewr TppScreenDevice.RenderPage
0066cadf ProcSys.exe ppViewr TppScreenDevice.ReceivePage
0067fa19 ProcSys.exe ppDevice TppPublisher.TakeDeviceAction
0067fc8f ProcSys.exe ppDevice TppPublisher.ReceivePage
00668caa ProcSys.exe ppReport TppReport.PageSent
0068cafd ProcSys.exe ppClass TppCustomEngine.DoOnPageSent
00635260 ProcSys.exe ppEngine TppEngine.SendPage
00634cfb ProcSys.exe ppEngine TppEngine.FinishPage
00634416 ProcSys.exe ppEngine TppEngine.GenerateBands
00633d7b ProcSys.exe ppEngine TppEngine.GeneratePage
00633eea ProcSys.exe ppEngine TppEngine.RestorePage
00633b42 ProcSys.exe ppEngine TppEngine.Generate
00633a6b ProcSys.exe ppEngine TppEngine.RequestPage
00668b2a ProcSys.exe ppReport TppReport.RequestPage
0067fd55 ProcSys.exe ppDevice TppPublisher.DoOnPageRequest
006806fe ProcSys.exe ppDevice TppDevice.MakePageRequest
0066ccfc ProcSys.exe ppViewr TppScreenDevice.GotoPage
0066c3ee ProcSys.exe ppViewr TppViewer.NextPage
0062f776 ProcSys.exe ppPreview TppCustomPreview.PerformPreviewAction
0063002e ProcSys.exe ppPreview TppPreview.ToolButtonClickEvent
00456392 ProcSys.exe Controls TControl.Click
00481b08 ProcSys.exe Buttons TSpeedButton.Click
00481af1 ProcSys.exe Buttons TSpeedButton.MouseUp
00456708 ProcSys.exe Controls TControl.DoMouseUp
0045677d ProcSys.exe Controls TControl.WMLButtonUp
00456201 ProcSys.exe Controls TControl.WndProc
00456048 ProcSys.exe Controls TControl.Perform
00458b64 ProcSys.exe Controls TWinControl.IsControlMouseMsg
00458c60 ProcSys.exe Controls TWinControl.WndProc
0045894c ProcSys.exe Controls TWinControl.MainWndProc
0046bcf4 ProcSys.exe Forms StdWndProc
77e172af user32.dll DispatchMessageA
00474e13 ProcSys.exe Forms TApplication.ProcessMessage
00474e4a ProcSys.exe Forms TApplication.HandleMessage
004719cf ProcSys.exe Forms TCustomForm.ShowModal
0067c7af ProcSys.exe ppProd TppProducer.PrintToScreen
0067c5d4 ProcSys.exe ppProd TppProducer.Print
00668039 ProcSys.exe ppReport TppReport.Print
006be4b6 ProcSys.exe fBaseReport 33 TFmBaseReport.RunReport
006ebecc ProcSys.exe fRepEnq 226 TFmRepEnq.RunReport
006ecf66 ProcSys.exe fEnqReports 53 TFmEnqReports.PrintVendorEnq
00806a32 ProcSys.exe fOrderEnqList 353 TFmOrderEnqList.bPrintEnqClick
00507762 ProcSys.exe dxBar 20998 TdxBarItem.DoClick
005076f9 ProcSys.exe dxBar 20988 TdxBarItem.DirectClick
0050ad6d ProcSys.exe dxBar 22395 TdxBarItemControl.ControlUnclick
0050dbb4 ProcSys.exe dxBar 23592 TdxBarButtonControl.ControlUnclick
004f6d43 ProcSys.exe dxBar 14062 TCustomdxBarControl.WMLButtonUp
00456201 ProcSys.exe Controls TControl.WndProc
00458d4a ProcSys.exe Controls TWinControl.WndProc
004f7859 ProcSys.exe dxBar 14360 TCustomdxBarControl.WndProc
0045894c ProcSys.exe Controls TWinControl.MainWndProc
0046bcf4 ProcSys.exe Forms StdWndProc
77e172af user32.dll DispatchMessageA
004f1bd9 ProcSys.exe dxBar 11932 TdxBarPopupMenu.Popup
004f1c6b ProcSys.exe dxBar 11956 TdxBarPopupMenu.PopupFromCursorPos
00806822 ProcSys.exe fOrderEnqList 305 TFmOrderEnqList.gVendorsMouseDown
004563e6 ProcSys.exe Controls TControl.MouseDown
005bf43e ProcSys.exe dxTL 7389 TCustomdxTreeList.MouseDown
005efef8 ProcSys.exe dxDBGrid 2172 TCustomdxDBGrid.MouseDown
00456429 ProcSys.exe Controls TControl.DoMouseDown
004565af ProcSys.exe Controls TControl.WMRButtonDown
00456201 ProcSys.exe Controls TControl.WndProc
00458d4a ProcSys.exe Controls TWinControl.WndProc
005c698b ProcSys.exe dxTL 9603 TCustomdxTreeList.WndProc
005f0442 ProcSys.exe dxDBGrid 2291 TCustomdxDBGrid.WndProc
0045894c ProcSys.exe Controls TWinControl.MainWndProc
0046bcf4 ProcSys.exe Forms StdWndProc
77e13db1 user32.dll CallWindowProcW
7175256f comctl32.dll #413
77e172af user32.dll DispatchMessageA
00474e13 ProcSys.exe Forms TApplication.ProcessMessage
00474e4a ProcSys.exe Forms TApplication.HandleMessage
00475055 ProcSys.exe Forms TApplication.Run
008097b3 ProcSys.exe ProcSys 76 EntryPoint

thread $724:
77f83bb8 ntdll.dll NtReplyWaitReceivePortEx
00422e5b ProcSys.exe madExcept 3188 ThreadExceptFrame

thread $59c:
77f83197 ntdll.dll NtDelayExecution
77e87615 kernel32.dll SleepEx
77e875e6 kernel32.dll Sleep
00422e5b ProcSys.exe madExcept 3188 ThreadExceptFrame

thread $870:
77f83786 ntdll.dll NtWaitForSingleObject
77e8780d kernel32.dll WaitForSingleObjectEx
77e87832 kernel32.dll WaitForSingleObject

thread $72c:
77f83786 ntdll.dll NtWaitForSingleObject
77e8780d kernel32.dll WaitForSingleObjectEx
77e87832 kernel32.dll WaitForSingleObject

thread $7b0:
77f83786 ntdll.dll NtWaitForSingleObject
77e8780d kernel32.dll WaitForSingleObjectEx
77e87832 kernel32.dll WaitForSingleObject

thread $744:
77f837b2 ntdll.dll NtWaitForMultipleObjects
77e87ab5 kernel32.dll WaitForMultipleObjectsEx
77e8a318 kernel32.dll WaitForMultipleObjects

thread $164:
77f837b2 ntdll.dll NtWaitForMultipleObjects
77e87ab5 kernel32.dll WaitForMultipleObjectsEx
77e8a318 kernel32.dll WaitForMultipleObjects

thread $61c:
77e11d6b user32.dll
77e17c49 user32.dll GetMessageA
00422e5b ProcSys.exe madExcept 3188 ThreadExceptFrame

modules:
00400000 ProcSys.exe 1.0.0.34 C:\Work\ProcSys\Bin
03500000 MSDATL3.DLL 2.62.7926.0 C:\Program Files\Common Files\System\OLE
DB
04c10000 dopuslib.dll 1.0.0.32 C:\Program Files\Directory Opus
10000000 ShellHook.dll C:\Program Files\Object
Desktop\ObjectBar
1b5c0000 MSWSTR10.DLL 4.0.3829.2 C:\WINNT\System32
1f320000 msadce.dll 2.62.7926.0 C:\Program Files\Common
Files\System\MSADC
1f380000 msadcer.dll 2.62.7926.0 C:\Program Files\Common
Files\System\MSADC
1f450000 msado15.dll 2.62.7926.0 C:\Program Files\Common Files\System\ADO
1f690000 MSDART.DLL 2.62.7926.0 C:\WINNT\System32
1f930000 oledb32.dll 2.62.7926.0 C:\Program Files\Common Files\System\OLE
DB
1f9a0000 OLEDB32R.DLL 2.62.7926.0 C:\Program Files\Common Files\System\OLE
DB
22000000 fpgraph4.dll 0.3.0.0 C:\WINNT\System32\spool\DRIVERS\W32X86\3
23000000 fpinter4.dll 0.3.0.0 C:\WINNT\System32\spool\DRIVERS\W32X86\3
26000000 fpres432.dll 4.80.0.0 C:\WINNT\System32\spool\DRIVERS\W32X86\3
689d0000 RESUTILS.DLL 5.0.2195.5339 C:\WINNT\System32
695e0000 olepro32.dll 5.0.4518.0 C:\WINNT\System32
6a7a0000 MTXCLU.DLL 2000.2.3497.0 C:\WINNT\System32
6de80000 TxfAux.Dll 2000.2.3497.0 C:\WINNT\System32
6df80000 MSDTCPRX.dll 2000.2.3497.0 C:\WINNT\System32
70bd0000 SHLWAPI.DLL 6.0.2800.1106 C:\WINNT\system32
71710000 comctl32.dll 5.81.4916.400 C:\WINNT\system32
73930000 CLUSAPI.DLL 5.0.2195.4678 C:\WINNT\System32
74cb0000 DBNETLIB.DLL 2000.80.528.0 C:\WINNT\System32
74fd0000 msafd.dll 5.0.2195.4874 C:\WINNT\system32
75010000 wshtcpip.dll 5.0.2195.4874 C:\WINNT\System32
75020000 WS2HELP.DLL 5.0.2134.1 C:\WINNT\System32
75030000 WS2_32.DLL 5.0.2195.4874 C:\WINNT\System32
75050000 WSOCK32.DLL 5.0.2195.4874 C:\WINNT\System32
75150000 SAMLIB.DLL 5.0.2195.4827 C:\WINNT\System32
75170000 NETAPI32.DLL 5.0.2195.5427 C:\WINNT\System32
751c0000 NETRAP.DLL 5.0.2134.1 C:\WINNT\System32
752f0000 oledlg.dll 5.0.2134.1 C:\WINNT\System32
75370000 sqloledb.dll 2000.80.528.0 C:\Program Files\Common Files\System\OLE
DB
753f0000 SQLOLEDB.RLL 2000.80.528.0 C:\Program Files\Common Files\System\OLE
DB
75500000 security.dll 5.0.2154.1 C:\WINNT\System32
759b0000 LZ32.DLL 5.0.2134.1 C:\WINNT\system32
76620000 mpr.dll 5.0.2195.3649 C:\WINNT\system32
76b20000 RICHED32.DLL 5.0.2134.1 C:\WINNT\System32
76b30000 comdlg32.dll 5.0.3315.3727 C:\WINNT\system32
772b0000 RICHED20.DLL 5.30.23.1209 C:\WINNT\System32
77320000 MPRAPI.DLL 5.0.2181.1 C:\WINNT\System32
77340000 iphlpapi.dll 5.0.2195.2 C:\WINNT\System32
77360000 DHCPCSVC.DLL 5.0.2195.4874 C:\WINNT\System32
77380000 ADSLDPC.DLL 5.0.2195.5400 C:\WINNT\System32
773b0000 ACTIVEDS.DLL 5.0.2195.5312 C:\WINNT\System32
77430000 MSASN1.DLL 5.0.2195.4067 C:\WINNT\system32
77440000 crypt32.dll 5.131.2195.4558 C:\WINNT\system32
774c0000 RASMAN.DLL 5.0.2195.5292 C:\WINNT\System32
774e0000 RASAPI32.DLL 5.0.2195.5438 C:\WINNT\System32
77520000 ICMP.DLL 5.0.2134.1 C:\WINNT\System32
77530000 TAPI32.DLL 5.0.2182.1 C:\WINNT\System32
77560000 wdmaud.drv 5.0.2195.3649 C:\WINNT\System32
77570000 winmm.dll 5.0.2161.1 C:\WINNT\System32
775a0000 CLBCATQ.DLL 2000.2.3497.0 C:\WINNT\System32
777e0000 winrnr.dll 5.0.2160.1 C:\WINNT\System32
777f0000 rasadhlp.dll 5.0.2168.1 C:\WINNT\System32
77800000 winspool.drv 5.0.2195.5225 C:\WINNT\System32
77820000 version.dll 5.0.2134.1 C:\WINNT\system32
77830000 RTUTILS.DLL 5.0.2168.1 C:\WINNT\System32
77880000 SETUPAPI.DLL 5.0.2195.5400 C:\WINNT\System32
77950000 WLDAP32.DLL 5.0.2195.5400 C:\WINNT\system32
77980000 DNSAPI.DLL 5.0.2195.5354 C:\WINNT\System32
779b0000 oleaut32.dll 2.40.4518.0 C:\WINNT\system32
77a50000 ole32.dll 5.0.2195.6769 C:\WINNT\system32
77be0000 SECUR32.DLL 5.0.2195.4587 C:\WINNT\System32
77bf0000 ntdsapi.dll 5.0.2195.4827 C:\WINNT\System32
77c10000 USERENV.dll 5.0.2195.5425 C:\WINNT\System32
77d30000 RPCRT4.DLL 5.0.2195.6753 C:\WINNT\system32
77db0000 advapi32.dll 5.0.2195.5385 C:\WINNT\system32
77e10000 user32.dll 5.0.2195.4314 C:\WINNT\system32
77e80000 kernel32.dll 5.0.2195.5400 C:\WINNT\system32
77f40000 GDI32.DLL 5.0.2195.5252 C:\WINNT\system32
77f80000 ntdll.dll 5.0.2195.5400 C:\WINNT\System32
78000000 msvcrt.dll 6.1.9359.0 C:\WINNT\system32
782c0000 rnr20.dll 5.0.2195.4874 C:\WINNT\System32
782d0000 msv1_0.dll 5.0.2195.4745 C:\WINNT\system32
782f0000 shell32.dll 5.0.3502.5436 C:\WINNT\system32
78740000 comsvcs.dll 2000.2.3497.0 C:\WINNT\System32

disassembling:
00668bcd sub_668bcd: ; function entry point
00668bcd ? call -$265112 ($403ac0) ; @DoneExcept
00668bd2 xor eax, eax
00668bd4 pop edx
00668bd5 pop ecx
00668bd6 pop ecx
[...]

Comments

  • edited October 2003
    Just another small update. I've managed to supress the exception by wrapping up
    the form in an exception handler to look out for EPRintError. Looking at the
    preview, this error only occurs when going forward through the report. For
    example, this happens on page 7. The exception handler kills the error and I
    get a blank page 7. If I, however, go to page 8 then back to 7 it prints fine.

    I'll have to explain to the client that there seems to be an issue with at
    least their version of ReportBuilder and advise them of any solutions posted
    here.

    Thanks again.

    Naz.

  • edited October 2003
    Hi Naz,

    As a test, try downloading a trial version of ReportBuilder 7.03 and running
    your reports with that. Be sure to back up any templates you might load
    before opening them in 7.03. If you are still having the problem, perhaps
    you could put together a small example demonstrating this issue so we can
    test it here.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.