c# - MDF file in windows application - after setup it become read only -


i have generated windows application. have used sql server .mdf database file. project working fine when have attached setup project , installed it. permission of .mdf file changed , become read not able write/update.

i able change permission of .mdf file manually after working fine. not current way of deployment, guide me should can read, write , update properly. code or technique should use can so?

i using :

  • visual studio 2010
  • c#
  • .mdf file of microsoft sql server 2008 express


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -