Answered by:
File based database in Visual Studio 2013 Corrupted after solution build

Question
-
User1963843033 posted
I'm using a local file based database in visual studio 2013 solution. I used server explorer to edit the database. After I built my solution, I couldn't open anymore the database. I got the following error: "The logical database file '..._log.ldf' cannot be found.Specify the full path for the file...An attempt to attach an auto-named database for file '....mdf' failed.
Sunday, February 15, 2015 5:06 AM
Answers
-
User1918509225 posted
Hi Daniel,
Maybe it is damaged ,I suggest that you could create a new local database in server explorer, check if the new one work.
Best Regards,
Kevin Shen.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, February 16, 2015 1:42 AM -
User1918509225 posted
Hi Daniel,
From my point,The answer is yes, for your database has damaged ,so you will lose all the data in the current database.I suggest that you should first check if the file still exist in the folder.
If not ,please create a new one.Best Regards,
Kevin Shen.- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, February 24, 2015 5:27 AM
All replies
-
User1918509225 posted
Hi Daniel,
Maybe it is damaged ,I suggest that you could create a new local database in server explorer, check if the new one work.
Best Regards,
Kevin Shen.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, February 16, 2015 1:42 AM -
User1963843033 posted
Even if it will work, I will lose all the data in the current database :)
Tuesday, February 17, 2015 4:19 AM -
User1918509225 posted
Hi Daniel,
From my point,The answer is yes, for your database has damaged ,so you will lose all the data in the current database.I suggest that you should first check if the file still exist in the folder.
If not ,please create a new one.Best Regards,
Kevin Shen.- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, February 24, 2015 5:27 AM