You are restoring SQL DB and observe following error-

System.Data.SqlClient.SqlError Write on “???” failed: 27 (failed to retrieve text for this error. Reason: 15105) (Microsoft.SqlServer.Smo)

clip_image002

 

This error is thrown if the path mentioned for MDF and LDF files is not available or not correct. Check the correct drive details also before restoring the DB.

image

Verify and correct the path for data file and log file under “Options”.

The restore should work fine after providing correct data and log file paths.