我有一个 10 页的程序,它将一个 litespeed 压缩备份文件(从不同的服务器带到网络共享)提取到 3 个文件中,恢复文件列表和标题;然后将其还原到本地数据库。当我尝试在 SQL Server 2008 服务器上运行该过程时,它失败并出现以下错误,而在 SQL Server 2005 服务器上运行该过程时,它运行得很好并将其恢复到本地数据库。
错误:列名或提供的值数与表定义不匹配。
完整错误:
Extracting differential LiteSpeed backup into SQL Server backup files: Started
Extracting differential LiteSpeed backup into SQL Server backup files: Complete
Msg 213, Level 16, State 7, Line 1
Column name or number of supplied values does not match table definition.
Msg 3013, Level 16, State 1, Line 1
RESTORE FILELIST is terminating abnormally.
Msg 213, Level 16, State 7, Line 1
Column name or number of supplied values does not match table definition.
Msg 3013, Level 16, State 1, Line 1
RESTORE HEADERONLY is terminating abnormally.
关于为什么它在 SQL Server 2008 上失败的任何想法?