0

In my Windows Forms c# project I try to connect to an already existing ms sql database file
(added binding Source on the form, then : bindingSource -> properties -> DataSource -> add source - > .... ) but when I pick this file it writes something like
"You dont have rights to open this file. Ask permition from the file owner or network administrator"

So, how should I temper with the file's properties to get the connection work well without warnings?

Thanks beforehand for your possible answers.

Edited by Alxprog

1
Contributor
1
Reply
9
Views
2 Years
Discussion Span
Last Post by Alxprog
0

I've solved this by myself : right click on the file's properties -> and changed access property to 'common access'.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.