При попытке сохранить один из скриптов вылезает ошибка:
"The log file for database 'mastertel' is full. Back up the transaction log for the database to free up some log space."
При сохранении других скриптов всё проходит нормально. В чем может быть проблема? Есть ли какие-нибудь ограничения на размер скрипта в версии 3.0.2.244?
Нравится
Сохранил этот скрипт в XML, попробовал загрузить, получил отчет об ошибке:
Date/Time: 22.09.2010 15:03:01
Operationg System: Windows XP Professional, Build: 2600, "Service Pack 3"
System Language: Русский
Processor: Intel, Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz, MMX
Display: 1680x1050 pixels, 32 bpp
System Up Time: 0 day(s) 00:24:30.0750
Program Up Time: 0 day(s) 00:14:03.0266
Executable: C:\Program Files\Mastertel\Bin\TSAdmin.exe
Version:
Exception class: EOleException
Exception message: The log file for database 'mastertel' is full. Back up the transaction log for the database to free up some log space
----- Stack list -----
OLEDBAccess.TOLEDBCommand.CheckAndAnalyze (Line 3786, "..\DAC\SDAC\OLEDBAccess.pas") ()
OLEDBAccess.TOLEDBCommand.GetNextResult (Line 3808, "..\DAC\SDAC\OLEDBAccess.pas") ()
OLEDBAccess.DoExecute (Line 3486, "..\DAC\SDAC\OLEDBAccess.pas") ()
OLEDBAccess.TOLEDBCommand.Execute (Line 3502, "..\DAC\SDAC\OLEDBAccess.pas") ()
CRAccess.TCRRecordSet.ExecCommand (Line 653, "..\DAC\Common\CRAccess.pas") ()
OLEDBAccess.TOLEDBRecordSet.ExecCommand (Line 5265, "..\DAC\SDAC\OLEDBAccess.pas") ()
DBAccess.TCustomDADataSet.InternalExecute (Line 2704, "..\DAC\Common\DBAccess.pas") ()
MSAccess.TCustomMSDataSet.InternalExecute (Line 2389, "..\DAC\SDAC\MSAccess.pas") ()
DBAccess.TCustomDADataSet.Execute (Line 2740, "..\DAC\Common\DBAccess.pas") ()
TSMSSQLExecuter.TMSSQLExecuter.ExecuteSQL (Line 492, "TSMSSQLExecuter.pas") ()
TSMSSQLEngine.TMSSQLEngine.ExecuteUpdate (Line 605, "TSMSSQLEngine.pas") ()
TSUpdateQuery.TUpdateQuery.Execute (Line 481, "TSUpdateQuery.pas") ()
TSServices.TServices.UpdateItemDataInDatabase (Line 920, "TSServices.pas") ()
TSServices.TServices.SaveItemDataToDatabase (Line 933, "TSServices.pas") ()
TSServices.TServices.SerializeItem (Line 957, "TSServices.pas") ()
TSServices.TServices.SaveItem (Line 1901, "TSServices.pas") ()
TSServicesForm.TfrmServices.LoadServiceFromFile (Line 2781, "TSServicesForm.pas") ()
TSServicesForm.TfrmServices.LoadServicesFromFiles (Line 2733, "TSServicesForm.pas") ()
TSServicesForm.TfrmServices.tbiLoadServiceFromFileClick (Line 772, "TSServicesForm.pas") ()
TB2Item.TTBCustomItem.Click (Line 1516, "..\TB2K\Source\TB2Item.pas") ()
SpTBXItem.TSpTBXCustomItem.Click (Line 2463, "..\SpTBX\Source\SpTBXItem.pas") ()
TB2Item.TTBCustomItem.ClickWndProc (Line 1466, "..\TB2K\Source\TB2Item.pas") ()
TSAdmin.TSAdmin (Line 105, "d:\Projects\TerrasoftCRM30\TerrasoftCRM\Src\Desktop\TSAdmin\TSAdmin.dpr") ()
----- Stack list (Full) -----
OLEDBAccess.TOLEDBCommand.CheckAndAnalyze (Line 3786, "..\DAC\SDAC\OLEDBAccess.pas") ()
OLEDBAccess.TOLEDBCommand.GetNextResult (Line 3808, "..\DAC\SDAC\OLEDBAccess.pas") ()
OLEDBAccess.DoExecute (Line 3486, "..\DAC\SDAC\OLEDBAccess.pas") ()
OLEDBAccess.TOLEDBCommand.Execute (Line 3502, "..\DAC\SDAC\OLEDBAccess.pas") ()
CRAccess.TCRRecordSet.ExecCommand (Line 653, "..\DAC\Common\CRAccess.pas") ()
OLEDBAccess.TOLEDBRecordSet.ExecCommand (Line 5265, "..\DAC\SDAC\OLEDBAccess.pas") ()
DBAccess.TCustomDADataSet.InternalExecute (Line 2704, "..\DAC\Common\DBAccess.pas") ()
MSAccess.TCustomMSDataSet.InternalExecute (Line 2389, "..\DAC\SDAC\MSAccess.pas") ()
DBAccess.TCustomDADataSet.Execute (Line 2740, "..\DAC\Common\DBAccess.pas") ()
TSMSSQLExecuter.TMSSQLExecuter.ExecuteSQL (Line 492, "TSMSSQLExecuter.pas") ()
TSMSSQLEngine.TMSSQLEngine.ExecuteUpdate (Line 605, "TSMSSQLEngine.pas") ()
TSUpdateQuery.TUpdateQuery.Execute (Line 481, "TSUpdateQuery.pas") ()
TSServices.TServices.UpdateItemDataInDatabase (Line 920, "TSServices.pas") ()
TSServices.TServices.SaveItemDataToDatabase (Line 933, "TSServices.pas") ()
TSServices.TServices.SerializeItem (Line 957, "TSServices.pas") ()
TSServices.TServices.SaveItem (Line 1901, "TSServices.pas") ()
TSServicesForm.TfrmServices.LoadServiceFromFile (Line 2781, "TSServicesForm.pas") ()
TSServicesForm.TfrmServices.LoadServicesFromFiles (Line 2733, "TSServicesForm.pas") ()
TSServicesForm.TfrmServices.tbiLoadServiceFromFileClick (Line 772, "TSServicesForm.pas") ()
TB2Item.TTBCustomItem.Click (Line 1516, "..\TB2K\Source\TB2Item.pas") ()
SpTBXItem.TSpTBXCustomItem.Click (Line 2463, "..\SpTBX\Source\SpTBXItem.pas") ()
TB2Item.TTBCustomItem.ClickWndProc (Line 1466, "..\TB2K\Source\TB2Item.pas") ()
Classes.TDataModule.WriteHeight ()
Forms.TApplication.ProcessMessage ()
TSAdmin.TSAdmin (Line 105, "d:\Projects\TerrasoftCRM30\TerrasoftCRM\Src\Desktop\TSAdmin\TSAdmin.dpr") ()
----- Loaded modules -----
C:\Program Files\Mastertel\Bin\dbrtl70.bpl (7.0.8.1 - 7.0.8.1)
C:\Program Files\Mastertel\Bin\vclactnband70.bpl (7.0.4.453 - 7.0.4.453)
C:\Program Files\Mastertel\Bin\VclSmp70.bpl (7.0.0.188 - 7.0.0.188)
C:\Program Files\Mastertel\Bin\TSAdmin.exe (3.0.2.244 - 3.0.2.244)
C:\Program Files\Mastertel\Bin\vcl70.bpl (7.0.8.1 - 7.0.8.1)
(no version info)
(no version info)
C:\Program Files\Mastertel\Bin\designide70.bpl (7.0.8.1 - 7.0.8.1)
C:\WINDOWS\system32\COMRes.dll (2001.12.4414.700 - 2001.12.4414.700)
C:\WINDOWS\system32\xpsp2res.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2113))
C:\PROGRA~1\MASTER~1\Bin\TSDSKO~1.DLL (3.0.2.244 - 3.0.2.244)
C:\PROGRA~1\MASTER~1\Bin\TSOBJE~1.DLL (3.0.2.244 - 3.0.2.244)
C:\PROGRA~1\MASTER~1\Bin\TSDESI~1.DLL (3.0.2.244 - 3.0.2.244)
C:\PROGRA~1\MASTER~1\Bin\TSMSSQ~1.DLL (3.0.2.244 - 3.0.2.244)
C:\WINDOWS\System32\cscui.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105))
C:\WINDOWS\system32\shdocvw.dll (6.0.2900.5512 - 6.00.2900.5512 (xpsp.080413-2105))
C:\WINDOWS\system32\Normaliz.dll (6.0.5441.0 - 6.0.5441.0 (winmain(wmbla).060628-1735))
C:\WINDOWS\system32\iertutil.dll (8.0.6001.23037 - 8.00.6001.23037 (longhorn_ie8_ldr.100616-1800))
C:\PROGRA~1\MASTER~1\Bin\TSDESI~2.DLL (3.0.2.244 - 3.0.2.244)
C:\PROGRA~1\MASTER~1\Bin\TSComponentsExtra.bpl (1.0.0.0 - 1.0.0.0)
C:\Program Files\Red Gate\SQL Prompt 3\CBTLaunch.dll (3.6.0.109 - 3.6.0.109)
C:\WINDOWS\system32\xpsp3res.dll (5.1.2600.5512 - 5.1.2600.5512 (WinXP.080413-2113))
C:\WINDOWS\system32\sqlncli.dll (2005.90.1399.0 - 2005.090.1399.00)
C:\WINDOWS\system32\SQLNCLIR.RLL (2005.90.1399.0 - 2005.090.1399.00)
C:\WINDOWS\system32\WININET.dll (8.0.6001.23037 - 8.00.6001.23037 (longhorn_ie8_ldr.100616-1800))
C:\Program Files\Mastertel\Bin\rtl70.bpl (7.0.8.1 - 7.0.8.1)
C:\Program Files\Mastertel\Bin\vclx70.bpl (7.0.4.453 - 7.0.4.453)
C:\Program Files\Mastertel\Bin\vcljpg70.bpl (7.0.4.453 - 7.0.4.453)
C:\Program Files\Mastertel\Bin\vcldb70.bpl (7.0.8.1 - 7.0.8.1)
C:\Program Files\Mastertel\Bin\dsnap70.bpl (7.0.8.1 - 7.0.8.1)
C:\Program Files\Mastertel\Bin\bdertl70.bpl (7.0.4.453 - 7.0.4.453)
C:\WINDOWS\system32\urlmon.dll (8.0.6001.23037 - 8.00.6001.23037 (longhorn_ie8_ldr.100616-1800))
C:\Program Files\Forefront TMG Client\FwcWsp.dll (7.0.7734.100 - 7.0)
C:\WINDOWS\system32\DBGHELP.DLL (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105))
C:\WINDOWS\system32\uxtheme.dll (6.0.2900.5512 - 6.00.2900.5512 (xpsp.080413-2105))
C:\WINDOWS\system32\NETAPI32.dll (5.1.2600.5694 - 5.1.2600.5694 (xpsp_sp3_qfe.081015-1409))
C:\WINDOWS\system32\comctl32.dll (5.82.2900.5512 - 5.82 (xpsp.080413-2105))
C:\WINDOWS\system32\opengl32.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0845))
C:\WINDOWS\system32\olepro32.dll (5.1.2600.5512 - 5.1.2600.5512)
C:\WINDOWS\system32\GLU32.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0845))
C:\WINDOWS\system32\hnetcfg.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0852))
C:\WINDOWS\System32\mswsock.dll (5.1.2600.5625 - 5.1.2600.5625 (xpsp_sp3_qfe.080620-1309))
C:\WINDOWS\System32\wshtcpip.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0852))
C:\WINDOWS\system32\WS2HELP.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0852))
C:\WINDOWS\system32\WS2_32.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0852))
C:\WINDOWS\system32\wsock32.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0852))
C:\WINDOWS\system32\mpr.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0852))
C:\WINDOWS\system32\kerberos.dll (5.1.2600.5834 - 5.1.2600.5834 (xpsp_sp3_qfe.090624-1332))
C:\WINDOWS\system32\security.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2113))
C:\WINDOWS\system32\winspool.drv (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0852))
C:\WINDOWS\system32\DDRAW.dll (5.3.2600.5512 - 5.03.2600.5512 (xpsp.080413-0845))
C:\WINDOWS\system32\DCIMAN32.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105))
C:\WINDOWS\system32\MSCTF.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105))
C:\WINDOWS\system32\RICHED20.DLL (5.30.23.1230 - 5.30.23.1230)
C:\WINDOWS\system32\msctfime.ime (5.1.2600.5768 - 5.1.2600.5768 (xpsp_sp3_qfe.090226-1518))
C:\WINDOWS\system32\MLANG.dll (6.0.2900.5512 - 6.00.2900.5512 (xpsp.080413-2105))
C:\WINDOWS\system32\browseui.dll (6.0.2900.5512 - 6.00.2900.5512 (xpsp.080413-2105))
C:\WINDOWS\system32\msimg32.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105))
C:\WINDOWS\system32\imm32.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105))
C:\WINDOWS\system32\comdlg32.dll (6.0.2900.5512 - 6.00.2900.5512 (xpsp.080413-2105))
C:\WINDOWS\System32\CSCDLL.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2111))
C:\WINDOWS\system32\CRYPTUI.dll (5.131.2600.5512 - 5.131.2600.5512 (xpsp.080413-2113))
C:\WINDOWS\system32\cryptdll.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2113))
C:\WINDOWS\system32\ntdsapi.dll (5.1.2600.5582 - 5.1.2600.5582 (xpsp_sp3_qfe.080416-1432))
C:\WINDOWS\system32\schannel.dll (5.1.2600.6006 - 5.1.2600.6006 (xpsp_sp3_qfe.100629-1819))
C:\WINDOWS\system32\ntshrui.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105))
C:\WINDOWS\system32\USERENV.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2113))
C:\WINDOWS\system32\ATL.DLL (3.5.2284.2 - 3.05.2284)
C:\WINDOWS\system32\winmm.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0845))
C:\WINDOWS\system32\PSAPI.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105))
C:\WINDOWS\system32\WINTRUST.dll (5.131.2600.5922 - 5.131.2600.5922 (xpsp_sp3_gdr.091223-1907))
C:\WINDOWS\system32\IMAGEHLP.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105))
C:\WINDOWS\system32\iphlpapi.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0852))
C:\WINDOWS\system32\rtutils.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0852))
C:\WINDOWS\system32\tapi32.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0852))
C:\WINDOWS\system32\DNSAPI.dll (5.1.2600.5797 - 5.1.2600.5797 (xpsp_sp3_qfe.090420-1341))
C:\WINDOWS\system32\WLDAP32.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2113))
C:\WINDOWS\System32\winrnr.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2113))
C:\WINDOWS\system32\rasadhlp.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0852))
C:\WINDOWS\system32\CLBCATQ.DLL (2001.12.4414.700 - 2001.12.4414.700)
C:\WINDOWS\system32\oleaut32.dll (5.1.2600.5512 - 5.1.2600.5512)
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll (6.0.2900.5512 - 6.0 (xpsp.080413-2105))
C:\WINDOWS\system32\ole32.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2108))
C:\WINDOWS\system32\SETUPAPI.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2111))
C:\WINDOWS\system32\CRYPT32.dll (5.131.2600.5512 - 5.131.2600.5512 (xpsp.080413-2113))
C:\WINDOWS\system32\MSASN1.dll (5.1.2600.5875 - 5.1.2600.5875 (xpsp_sp3_gdr.090904-1413))
C:\WINDOWS\system32\appHelp.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105))
C:\WINDOWS\system32\version.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105))
C:\WINDOWS\system32\msvcrt.dll (7.0.2600.5512 - 7.0.2600.5512 (xpsp.080413-2111))
C:\WINDOWS\system32\msv1_0.dll (5.1.2600.5876 - 5.1.2600.5876 (xpsp_sp3_qfe.090909-1423))
C:\WINDOWS\system32\advapi32.dll (5.1.2600.5755 - 5.1.2600.5755 (xpsp_sp3_qfe.090206-1316))
C:\WINDOWS\system32\RPCRT4.dll (5.1.2600.5795 - 5.1.2600.5795 (xpsp_sp3_qfe.090415-1301))
C:\WINDOWS\system32\GDI32.dll (5.1.2600.5698 - 5.1.2600.5698 (xpsp_sp3_qfe.081022-1941))
C:\WINDOWS\system32\SHLWAPI.dll (6.0.2900.5912 - 6.00.2900.5912 (xpsp_sp3_gdr.091207-1454))
C:\WINDOWS\system32\Secur32.dll (5.1.2600.5834 - 5.1.2600.5834 (xpsp_sp3_qfe.090624-1332))
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3079_x-ww_b811a94e\MSVCR80.dll (8.0.50727.3079 - 8.00.50727.3079)
C:\WINDOWS\system32\kernel32.dll (5.1.2600.5781 - 5.1.2600.5781 (xpsp_sp3_qfe.090321-1341))
C:\WINDOWS\system32\ntdll.dll (5.1.2600.5755 - 5.1.2600.5755 (xpsp_sp3_qfe.090206-1316))
C:\WINDOWS\system32\SHELL32.dll (6.0.2900.6018 - 6.00.2900.6018 (xpsp_sp3_gdr.100726-1746))
C:\WINDOWS\system32\oledlg.dll (5.1.2600.5512 - 1.0 (xpsp.080413-2108))
C:\WINDOWS\system32\user32.dll (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105))
C:\WINDOWS\system32\SXS.DLL (5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2111))
----- Active Controls -----
TTSCStringTree "tvServices"
TfrmServices "frmServices"
TfrmMain "frmMain"
Посмотрите параметры лога для вашей базы данных с помощью Enterprise Manager, SQL Server Management Studio, etc. Там для лога задан либо фиксированный размер - его увеличиваем. Либо задан процент роста - например 10%. При логе в 10Мб это прирос по 1Мб, что может быть недостаточно при определенных условиях - тяжелых скриптах, выполняемых на сервере лог расти может и на большую величину единовременно. Решение здесь - увеличьте размер лога вручную, чтобы прирост уже составлял большую величину, как то так:)
И наверное в свойствах базы Recovery Model стоит Full, поставьте Simple.
"Осауленко Александр" написал:Ну ждите скоро опять ее :)
... и она не раз еще вернется:wink:
может транзакция какая могучая закончилась за это время
Какой сейчас у вас размер лог файла и сколько места на диске где он лежит?