Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Access to the database file is not allowed.

$
0
0

Hi all ,

i am developing one application which is using SQL CE 3.5 for database.

 and i am putting at this path "C:\Users\demouser\AppData\Roaming\myApp"

but when i rum my setup i am getting the following error "Access to the database file is not allowed."

i searched about this and found that user account do have  read-only  permissions for application folder.

 how can i set the Read write permissions to user account code behind in c#?

please help me.

thanks


sumitk


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>