The error is as follows:
Device activation error. The physical file name c: \ Program Files \ st2008 \ sxt. MDF may be incorrect.
The sxt_dat file cannot be restored to c: \ Program Files \ st2008 \ sxt. MDF. Use the with move option to indicate the valid location of the file.
Device activation error. The physical file name c: \ Program Files \ st2008 \ sxt. LDF may be incorrect.
The sxt_log file cannot be restored to c: \ Program Files \ st2008 \ sxt. LDF. Use the with move option to indicate the valid location of the file.
It is a full backup. The database name is the same as that in the company.
Solution:
-- Database file name problem
-- Query analyzer and execute the following statement to solve the problem
Restore database name
From disk = 'C: \ A. Bak' -- c: \ A. Bak is the backup file name
With move 'sxt _ dat 'to 'C: \ sxt. MDF' -- Restore sxt_dat to the file c: \ sxt. MDF.
, Move 'sxt _ log' to 'C: \ sxt. ldf' -- Restore sxt_log to the file c: \ sxt. LDF.
Force restore with "with Replace ".