我用sql 2005 express  backup了一个数据库,可是发现 backup文件没有后缀, 并且在另一台pc上无法restore.一restore 就出错

解决方案 »

  1.   

    有没有后缀不要紧,restore的时候报什么错?
      

  2.   

    错误消息如下:
    Restore failed for server molt01pc. (Microsoft.sqlserver.express.smo)
    Additional information:
    System.Data.sqlclient.sqlerror:Directory lookup for the file
    "C.\sqldata\mwDB_Test.mdf" failed with the operating system error 2(The system cannot find the file specified.). (Microsoft.SqlServer.Express.Smo)
      

  3.   

    加上.BAK应该是可以的吧!要不试试?