SQL 2005报错之Restore fail for Server 'DatabaseServerName'.

Restore fail for Server 'DatabaseServerName'.(Microsoft.SqlServer.Smo)数据库

Additional information:3d

System.Data.SqlClient.SqlError: Directory lookup for the file "URL" failed with the operating system error 3(The System cannot find the path specified). (Microsoft.SqlServer.Smo)orm

解决方法:blog

我这里只须要更改数据库文件的路径便可,若是还想覆盖当前同名的数据库,则还须要勾选‘Overwrite the existing database’。ci

记性愈来愈差了,仅以此文作个记录,以避免再碰到此类问题,又要Google了(^_^)it

相关文章
相关标签/搜索