出现以上错误可以按以下三步处理解决
1清理日志方法:进入C:\WINNT\system32\LogFiles\ 会发现很多网站iis日志目录,把目录下的文件清除即可
2 清理数据库日志文件
适用于SQL Server 2005
1 USE [hrdb]
2 GO
3 --清空数据库缓存
4 DBCC FREEPROCCACHE
5 DBCC DROPCLEANBUFFERS
6 GO
7 BACKUP LOG [hrdb] with NO_LOG
8 GO
9 BACKUP LOG [hrdb] with TRUNCATE_ONLY
10 GO
11 DBCC SHRINKDATABASE([hrdb])
12 GO
适用于SQL Server 2008
1 USE [master]
2 GO
3 ALTER DATABASE [hrdb] SET RECOVERY SIMPLE WITH NO_WAIT
4 GO
5 ALTER DATABASE [hrdb] SET RECOVERY SIMPLE
6 GO
7 USE [hrdb]
8 GO
9 DBCC SHRINKFILE (N'HRServerdb_log' , 0,TRUNCATEONLY)
10 GO
11 USE [master]
12 GO
13 ALTER DATABASE [hrdb] SET RECOVERY FULL WITH NO_WAIT
14 GO
15 ALTER DATABASE [hrdb] SET RECOVERY FULL
16 GO
3 重启数据库