Hi all, I'm at my wits trying to figure this out. It's a new 64x computer running Windows 7. I've installed Sql Server Express V8 R2.
The connection string is user instance = true. And the database is located in a directory off the main directory to which the connection string points to.
The error I get when starting up my VB Express 10 app is "An attempt to attach an auto-named database for file ‘C:\datadirectory\data.mdf’ failed. A database with the same name exists, or specified file cannot be
opened, or it is located in UNC share.
I've attached the database using sql server manager v10, and can see the data. Googling his error, there seems to be a lot of web-aps seeing this as well.
I did have a problem after I installed sql server version 8 r2, just trying to create a database. That was resolved by going through the IIS -configuration.
If I can provide any other information, please let me know.
View Complete Post