1

Topic: bug reports - Tempdb full

Hi,

We have been getting this error everytime we try to export large surveys or run certian reports on all of our computers. We are on a corporate network so I assume it has something to do with the server space allocated for the tempdb.mdf & tempdb.ldf, but am not sure if this is the case or how to fix it. Any advice would be greatly appreciated!

date/time         : 2012-10-12, 12:40:39, 625ms
computer name     : PC-CZC2091X0P
user name         : MCON0012
operating system  : Windows XP Service Pack 3 build 2600
system language   : English
system up time    : 3 hours 22 minutes
program up time   : 28 minutes 18 seconds
processors        : 4x Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
physical memory   : 2048/2048 MB (free/total)
free disk space   : (C:) 415.94 GB
display mode      : 1280x1024, 32 bit
process id        : $ce4
allocated memory  : 19.95 MB
command line      : RecorderApp.exe /1901282
executable        : RecorderApp.exe
exec. date/time   : 2010-09-02 11:16
version           : 6.15.4.238
madExcept version : 2.7h
exception class   : TExceptionPath
exception message : An error occurred executing the following SQL: Alter table "#REPORT_OUTPUT" ALTER COLUMN [TYPE] char(1) COLLATE SQL_LATIN1_General_CP1_CI_AS NOT Null .

main thread ($a44):
008c42c4 RecorderApp.exe ReportGenerator 1108 +18 TReportGenerator.ExecuteSQL
008c18b0 RecorderApp.exe ReportGenerator  701 +58 TReportGenerator.CreateReportTable
008bfabd RecorderApp.exe ReportGenerator  292  +5 TReportGenerator.PrepareTable
008c58ef RecorderApp.exe WizardData       421  +1 TdmWizard.PrepareOutput
008dc3da RecorderApp.exe FilterResult     649 +19 TfrmFilterResult.UpdateResults
008dc0b6 RecorderApp.exe FilterResult     570 +16 TfrmFilterResult.RunWizard
008dc003 RecorderApp.exe FilterResult     548  +1 TfrmFilterResult.WMRunWizard
004ccc70 RecorderApp.exe Controls                 TControl.WndProc
004cfccf RecorderApp.exe Controls                 TWinControl.WndProc
004b5a8d RecorderApp.exe Forms                    TCustomForm.WndProc
004cf94c RecorderApp.exe Controls                 TWinControl.MainWndProc
00453460 RecorderApp.exe Classes                  StdWndProc
7e4196c2 user32.dll                               DispatchMessageA
004bc12b RecorderApp.exe Forms                    TApplication.ProcessMessage
004bc162 RecorderApp.exe Forms                    TApplication.HandleMessage
004bc392 RecorderApp.exe Forms                    TApplication.Run
00a33a20 RecorderApp.exe RecorderApp      375 +83 initialization

thread $c4:
7c90e514 ntdll.dll                 KiFastSystemCallRet
7c90df48 ntdll.dll                 NtWaitForMultipleObjects
7c80958a kernel32.dll              WaitForMultipleObjectsEx
7e4195f3 user32.dll                MsgWaitForMultipleObjectsEx
7e4196a3 user32.dll                MsgWaitForMultipleObjects
0042aba7 RecorderApp.exe madExcept ThreadExceptFrame
>> created by main thread ($a44) at:
4ec67f66 gdiplus.dll               

thread $36c:
7c90e514 ntdll.dll  KiFastSystemCallRet
7c90df48 ntdll.dll  NtWaitForMultipleObjects

thread $e84:
7c90e514 ntdll.dll     KiFastSystemCallRet
7c90df58 ntdll.dll     NtWaitForSingleObject
7c8025d5 kernel32.dll  WaitForSingleObjectEx
7c80253d kernel32.dll  WaitForSingleObject

thread $c8c:
7c90e514 ntdll.dll                 KiFastSystemCallRet
7c90daa8 ntdll.dll                 NtReplyWaitReceivePortEx
0042aba7 RecorderApp.exe madExcept ThreadExceptFrame
>> created by thread $c00 at:
77e7d10d RPCRT4.dll               

thread $f7c:
7c90e514 ntdll.dll                 KiFastSystemCallRet
7c90daa8 ntdll.dll                 NtReplyWaitReceivePortEx
0042aba7 RecorderApp.exe madExcept ThreadExceptFrame
>> created by thread $c8c at:
77e7d10d RPCRT4.dll               

modules:
00340000 C4DLL.DLL           1.0.0.1          \\apltwm001\Recorder6
003b0000 MS5User.Dll         5.0.0.4          \\apltwm001\Recorder6
00400000 RecorderApp.exe     6.15.4.238       \\apltwm001\Recorder6
01460000 ms5cnv.dll          5.0.0.10         \\apltwm001\Recorder6
01c70000 odbcint.dll         3.525.1132.0     C:\WINDOWS\system32
02b10000 xpsp2res.dll        5.1.2600.5512    C:\WINDOWS\system32
03c40000 SQLOLEDB.RLL        2000.85.1132.0   C:\Program Files\Common Files\System\Ole DB
03c50000 msadcer.dll         2.81.1132.0      C:\Program Files\Common Files\System\msadc
03fa0000 GoToGridControl.ocx 2.0.0.16         \\apltwm001\Recorder6\Addins
04130000 GoToKey.ocx         6.0.1.10         \\apltwm001\Recorder6\Addins
04370000 ShowUnchecked.ocx   6.0.0.13         \\apltwm001\Recorder6\Addins
045a0000 StdValLib.dll       6.14.3.208       \\apltwm001\Recorder6\Addins
10000000 MS5.Dll             5.0.0.12         \\apltwm001\Recorder6
20000000 xpsp3res.dll        5.1.2600.5512    C:\WINDOWS\system32
4dd00000 sqloledb.dll        2000.85.1132.0   C:\Program Files\Common Files\System\Ole DB
4de10000 msado15.dll         2.81.3014.0      C:\Program Files\Common Files\System\ado
4ec50000 gdiplus.dll         5.2.6002.22791   C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.6002.22791_x-ww_c8dff154
5ad70000 uxtheme.dll         6.0.2900.5512    C:\WINDOWS\system32
5b860000 NETAPI32.dll        5.1.2600.6260    C:\WINDOWS\system32
5d090000 comctl32.dll        5.82.2900.6028   C:\WINDOWS\system32
5edd0000 olepro32.dll        5.1.2600.5512    C:\WINDOWS\system32
605d0000 mslbui.dll          5.1.2600.5512    C:\WINDOWS\system32
60e30000 MSDATL3.dll         2.81.1132.0      C:\Program Files\Common Files\System\Ole DB
662b0000 hnetcfg.dll         5.1.2600.5512    C:\WINDOWS\system32
68000000 rsaenh.dll          5.1.2600.5507    C:\WINDOWS\system32
68100000 dssenh.dll          5.1.2600.5507    C:\WINDOWS\system32
69b10000 msxml4.dll          4.20.9876.0      c:\WINDOWS\system32
6d4f0000 DBNETLIB.DLL        2000.85.1132.0   C:\WINDOWS\system32
6fa00000 SOPHOS~1.DLL        10.0.7.6997      C:\PROGRA~1\Sophos\SOPHOS~1
6fa40000 swi_ifslsp.dll      3.2.7.0          C:\Documents and Settings\All Users\Application Data\Sophos\Web Intelligence
71a50000 mswsock.dll         5.1.2600.5625    C:\WINDOWS\system32
71a90000 wshtcpip.dll        5.1.2600.5512    C:\WINDOWS\System32
71aa0000 WS2HELP.dll         5.1.2600.5512    C:\WINDOWS\system32
71ab0000 WS2_32.dll          5.1.2600.5512    C:\WINDOWS\system32
71ad0000 wsock32.dll         5.1.2600.5512    C:\WINDOWS\system32
71b20000 mpr.dll             5.1.2600.5512    C:\WINDOWS\system32
71f80000 security.dll        5.1.2600.5512    C:\WINDOWS\system32
73000000 winspool.drv        5.1.2600.5512    C:\WINDOWS\system32
73160000 oledb32.dll         2.81.1132.0      C:\Program Files\Common Files\System\Ole DB
74060000 msadce.dll          2.81.3002.0      C:\Program Files\Common Files\System\msadc
74320000 odbc32.dll          3.525.3012.0     C:\WINDOWS\system32
74720000 MSCTF.dll           5.1.2600.5512    C:\WINDOWS\system32
750b0000 RESUTILS.DLL        5.1.2600.5512    C:\WINDOWS\system32
750f0000 MTXCLU.DLL          2001.12.4414.706 C:\WINDOWS\system32
75130000 colbact.DLL         2001.12.4414.700 C:\WINDOWS\system32
75350000 OLEDB32R.DLL        2.81.1132.0      C:\Program Files\Common Files\System\Ole DB
755c0000 msctfime.ime        5.1.2600.5512    C:\WINDOWS\system32
76390000 IMM32.DLL           5.1.2600.5512    C:\WINDOWS\system32
763b0000 comdlg32.dll        6.0.2900.5512    C:\WINDOWS\system32
765b0000 MSDART.DLL          2.81.1132.0      C:\WINDOWS\system32
76620000 comsvcs.dll         2001.12.4414.702 C:\WINDOWS\system32
76780000 SHFolder.dll        6.0.2900.5512    C:\WINDOWS\system32
76790000 cryptdll.dll        5.1.2600.5512    C:\WINDOWS\system32
767a0000 ntdsapi.dll         5.1.2600.5512    C:\WINDOWS\system32
767f0000 schannel.dll        5.1.2600.6239    C:\WINDOWS\system32
769c0000 USERENV.dll         5.1.2600.5512    C:\WINDOWS\system32
76b40000 winmm.dll           5.1.2600.6160    C:\WINDOWS\system32
76bf0000 PSAPI.DLL           5.1.2600.5512    C:\WINDOWS\system32
76d10000 CLUSAPI.DLL         5.1.2600.5512    C:\WINDOWS\system32
76d60000 iphlpapi.dll        5.1.2600.5512    C:\WINDOWS\system32
76f20000 DNSAPI.dll          5.1.2600.6089    C:\WINDOWS\system32
76f60000 WLDAP32.dll         5.1.2600.5512    C:\WINDOWS\system32
76fb0000 winrnr.dll          5.1.2600.5512    C:\WINDOWS\System32
76fc0000 rasadhlp.dll        5.1.2600.5512    C:\WINDOWS\system32
76fd0000 CLBCATQ.DLL         2001.12.4414.700 C:\WINDOWS\system32
77050000 COMRes.dll          2001.12.4414.700 C:\WINDOWS\system32
77120000 oleaut32.dll        5.1.2600.6058    C:\WINDOWS\system32
773d0000 comctl32.dll        6.0.2900.6028    C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202
774e0000 ole32.dll           5.1.2600.6168    C:\WINDOWS\system32
77a80000 crypt32.dll         5.131.2600.6237  C:\WINDOWS\system32
77b20000 MSASN1.dll          5.1.2600.5875    C:\WINDOWS\system32
77c00000 version.dll         5.1.2600.5512    C:\WINDOWS\system32
77c10000 msvcrt.dll          7.0.2600.5512    C:\WINDOWS\system32
77c70000 msv1_0.dll          5.1.2600.5876    C:\WINDOWS\system32
77dd0000 advapi32.dll        5.1.2600.5755    C:\WINDOWS\system32
77e70000 RPCRT4.dll          5.1.2600.6022    C:\WINDOWS\system32
77f10000 GDI32.dll           5.1.2600.5698    C:\WINDOWS\system32
77f60000 SHLWAPI.dll         6.0.2900.5912    C:\WINDOWS\system32
77fe0000 Secur32.dll         5.1.2600.5834    C:\WINDOWS\system32
7c800000 kernel32.dll        5.1.2600.5781    C:\WINDOWS\system32
7c900000 ntdll.dll           5.1.2600.6055    C:\WINDOWS\system32
7c9c0000 shell32.dll         6.0.2900.6242    C:\WINDOWS\system32
7e410000 user32.dll          5.1.2600.5512    C:\WINDOWS\system32
7e4b0000 HHCtrl.ocx          5.2.3790.4110    C:\WINDOWS\system32
7e720000 SXS.DLL             5.1.2600.5512    C:\WINDOWS\system32

Exception Stack

----------------
EOleException : The transaction log for database 'tempdb' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases

2

Re: bug reports - Tempdb full

We’ve not seen it before, but a quick Google search brings up:
http://forums.asp.net/t/1724576.aspx/1
and
http://www.sqlservercentral.com/Forums/ … 391-1.aspx

Simplest thing to try would be to restart SQL Server then try again.
Then check that the disk which hosts SQL Server has enough disk space.

Sally Rankin, JNCC Recorder Approved Expert
E-mail: s.rankin@btinternet.com
Telephone: 01491 578633
Mobile: 07941 207687

3

Re: bug reports - Tempdb full

It might also be worth using SQL Server Management Studio, or the relevant SQL commands, to check the properties of the transaction log table to see if it is big enough to manage your large requests.  You might need to increase its size, or enable it to grow automatically when needed.

In the case of Tempdb, restarting the server will clear down the transaction log and enable the system to operate again, but until the size is increased it will probably run out of space everytime these large exports and reports are run.

Mike Beard
Natural Course Project Officer
Greater Manchester Local Records Centre