راستی اگه توی کانکشن استرینگ به جای (\\) یکی بذارم (طبق اون که توی 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
.
یکی بگه من چکار کنم
احتمالا تو mssql قبلا add شده و mssql express دیگه add نمیشه .standard sql و sql express سرویسهای جدا ازهم هستند که standard sql به db های sql express دسترسی داره ولی برعکسش نه!
ویکی هم اینکه db که در پوشه application data مربوط به ویندوز (تاجایی که من میدونم ) و در کل پوشه های ناپایدار قرار داره add نمیشه. (UNC share).