pesachzirkind
New member
- Joined
- Nov 15, 2010
- Messages
- 1
- Programming Experience
- Beginner
hi,
i'm a beginner vb.net programmer. i'm trying to add a data source from a local sql (.mdf) database.
the problem is whenever i try to connect to it, it gives me the following error:
"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 c:\name_of_file.mdf failed. a database with the same name exists, or specified file cannot be opened, or is located on a UNC share."
what can i do to get it to work?
thanks in advance
i'm a beginner vb.net programmer. i'm trying to add a data source from a local sql (.mdf) database.
the problem is whenever i try to connect to it, it gives me the following error:
"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 c:\name_of_file.mdf failed. a database with the same name exists, or specified file cannot be opened, or is located on a UNC share."
what can i do to get it to work?
thanks in advance