Setting SQL database Permissions for Visual Studio Data Config Wizard
Posted
by Raven Dreamer
on Stack Overflow
See other posts from Stack Overflow
or by Raven Dreamer
Published on 2010-06-08T19:01:10Z
Indexed on
2010/06/11
18:42 UTC
Read the original article
Hit count: 455
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?
© Stack Overflow or respective owner