restore database Auction from disk='path' with replace;
System.Data.SqlClient.SqlException: RESTORE 无法处理数据库 'Auction',因为它正由此会话使用。建议在执行此操作时使用 master 数据库。 RESTORE DATABASE 正在异常终止。
很明显的错误提示了,语句改成
use master; restore database Auction from disk='path' with replace;
http://www.xuehai.net/