Fix for : System.Data.SqlClient.SqlError: Directory lookup for the file "C:\~\DB.MDF" failed..
Perform backup restore using T-SQL:
RESTORE DATABASE LNE FROM DISK = 'C:\LNE-22012016.bak'
WITH MOVE 'LNE' TO 'C:\SQL_data\LNE.mdf',
MOVE 'LNE_log' TO 'C:\SQL_data\LNE.ldf';
Example :
0 comments :
Post a Comment
Comment: