Sql server 2008 报表处理过程中出错-内存不足或磁盘空间不足

Sql server 2008 报表处理过程中出错-内存不足或磁盘空间不足,sql-server-2008,reporting-services,ssrs-2008,Sql Server 2008,Reporting Services,Ssrs 2008,在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.Int

在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)
System.Web.Services.Protocols.SoapException:报表服务器上发生内部错误。有关详细信息,请参阅错误日志。
Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException:报表服务器上发生内部错误。有关详细信息,请参阅错误日志。


System.IO.FileLoadException:无法加载文件或程序集“Microsoft.ReportingServices.ProcessingCore”或其依赖项之一。磁盘上没有足够的空间。(来自HRESULT的异常:0x80070070) 在Microsoft.ReportingServices.WebServer.ReportingService 2010Impl.CreateReportEditSession(字符串报告、字符串父项、字节[]定义、字符串和EditSessionID、警告[]和警告)中 在Microsoft.ReportingServices.WebServer.ReportingService2010.CreateReportEditSession(字符串报告、字符串父项、字节[]定义、字符串和EditSessionID、警告[]和警告)上
此外,我为日志文件提供了更多2GB的可用空间,它将再次包围所有剩余空间。正如我上次看到的,剩余的可用空间只有8.3MB


操作系统:Windows server 2003

,因为我们有两种恢复模式

  • 简单恢复模型
  • 完全/大容量日志恢复模式
根据我在这个场景中的经验,大多数SQL Server都没有事务日志的备份。完整备份或差异备份是常见的做法,但事务日志备份很少。因此,事务日志文件将永远增长(直到磁盘已满)。在这种情况下,恢复模型应设置为“简单”。不要忘记修改系统数据库“model”和“tempdb”

数据库“tempdb”的备份毫无意义,因此该数据库的恢复模型应该始终是“简单的”

过程: 我在数据库上做什么

右键单击属性->选项->设置恢复模式:简单。 然后,右键单击->任务->收缩->文件

就是这样,它会腾出空间

但为了更好地实践,我们必须设置恢复模式:完整,在it中日志文件不会越来越多,我们必须备份日志文件。为了更好地理解这个场景,我建议你看看这些免费视频