\"An attempt to attach an auto-named database for file C:\\Users\\John\\documents\\visual studio 2010\\Projects\\PAS\\PAS\\bin\\Debug//PatAddSys.mdf failed. A database with
i think it might be very very late BUT
this string give me the above error
But if add |Data Directory| before database name then it work fine