Setting SQL database Permissions for Visual Studio Data Config Wizard
- by Raven Dreamer
Hello, Stackoverflow!
I'm new to SQL. I have created a new database in SQL Server Management Studio, and am now trying to attach it to a windows forms project in Visual Studio via the built in Data Configuration Wizard.
Currently, whenever I try to attach the database file, I get a permissions error:
"You don't have permission to open this file. Contact file owner or administrator to obtain permission"
So, simple question -- how do I modify the permissions of my database to allow this?