Chapter 2 "An attempt to attach an auto-named database for file.."
It seems like I made some really stupid mistake somewhere following chapter 2, insert method.
Everything compiles OK but got an error from db.SubmitChanges();
[FONT='Times New Roman','serif']An attempt to attach an auto-named database for file C:\Usersâ¦.Data_for_VS2008\HRPaidTimeOff.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.[/FONT]
Any Idea?
|