2013-06-04 91 views
0

使用Sql Report builder 3.0時,所有報告都正確執行,但當我運行報告時突然顯示一個顯示以下錯誤的錯誤窗口彈出窗口。報告處理期間發生錯誤 - 內存不足或磁盤空間不足

System.Web.Services.Protocols.SoapException: An internal error occurred on the report server. See the error log for more details. 
Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details. 
<br><br> System.IO.FileLoadException: Could not load file or assembly 'Microsoft.ReportingServices.ProcessingCore' or one of its dependencies. There is not enough space on the disk. (Exception from HRESULT: 0x80070070) 

    at Microsoft.ReportingServices.WebServer.ReportingService2010Impl.CreateReportEditSession(String Report, String Parent, Byte[] Definition, String& EditSessionID, Warning[]& Warnings) 

    at Microsoft.ReportingServices.WebServer.ReportingService2010.CreateReportEditSession(String Report, String Parent, Byte[] Definition, String& EditSessionID, Warning[]& Warnings) 

此外,我給日誌文件提供了更多2 GB的可用空間,它將再次包圍所有剩餘的空間。我上次查看時只剩下8.3 MB的剩餘空間。

操作系統:Windows server 2003

回答

0

由於我們有兩種恢復模式。

  • 簡單恢復模式
  • 完整/大容量日誌恢復模式

要我在此之情況的經驗,大多數SQL服務器沒有事務日誌備份。完整備份或差異備份是常見操作,但事務日誌備份實際上很少。所以事務日誌文件永遠增長(直到磁盤已滿)。在這種情況下,恢復模式應設置爲「簡單」。不要忘記修改系統數據庫「model」和「tempdb」。

數據庫「tempdb」的備份沒有任何意義,因此該數據庫的恢復模型應始終爲「簡單」。

過程: 我在我的數據庫上做了什麼。

右鍵點擊屬性 - >選項 - >設置恢復模式:簡單。 然後,右鍵單擊 - >任務 - >收縮 - >文件。

這就是它會使空間。

但是爲了更好的實踐,我們必須設置恢復模式:完整,在其中日誌文件不會越來越多,我們必須備份日誌文件。爲了更好地理解這種情況,我建議你看看這些免費視頻。

• SQL Server Backups Demystified • SQL Server Logging Essentials

相關問題