راستی اگه توی کانکشن استرینگ به جای (\\) یکی بذارم (طبق اون که توی 2 پست قبلی گفته شد) این خطا رو می ده:
کد:
One or more files do not match the primary file of the database. If you are attempting to attach a database, retry the operation with the correct files. If this is an existing database, the file may be corrupted and should be restored from a backup.
An attempt to attach an auto-named database for file C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\ONline Mobile Shop\App_Data\DBOnlineShop_Data.MDF failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share
.
یکی بگه من چکار کنم