ASP.NET利用SQLDMO可以实现在线备份.还原数据库等各种功能. 由于客户的数据库和WEB服务不再同一台服务器,把网站部署在服务器上以后,运行程序,提示如下错误 当使用Interop.SQLDMO.dll备份SQL Server 2008的数据库时出现以上错误, 由于需要在程序中加上数据库的备份与恢复功能,所以需要使用到SQLDMO. 但在系统中没有找到SQLDMO.dll,然后谷歌之,发现msdn上这样说: “后续版本的 Microsoft SQL Server 将删除该功能.” 于是继…
Make sure that you have Office runtime installed on the server. If you are using Windows Server 2008 then using office interops is a lenghty configuration and here are the steps. Better is to move to Open XML or you can configure as below Install MS…