Posted on: 11/4/2007 8:07:06 AM | Views : 773

Database Connection - Don't have permission to open file
 
I'm trying to establish a connection to a database file (c:\temp\Mine.mdf) through visual studio c# express 2005 edition.
I'm using the database explorer/add connection wizard.
On the add connection dialog window when i browse and select the db file to connect to i'm getting the message"You don't have permission to open this file. Contact the file owner or an administrator to obtain permission"
 
I have SQL Server Express 2005 and SQL Server Management Studio Express installed.
Within the management studio at the server security level i'm mapped to the db file (Mine.mdf) and have db_owner a ...

Go to the complete details ...