Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i make setup file from my project in c#2010 to install application to computers.
Administrator can install it to pc and use perfectly,but users can not write to db or backup/restore db!!
how can fix problem?
Posted
Comments
FM7 29-Aug-14 7:12am    
not solutions??!
Valery Possoz 29-Aug-14 8:41am    
That seems to be a user right issue. In your setup project you can use a custom action to set the correct rights.
http://msdn.microsoft.com/en-us/library/d9k65z2d%28v=vs.100%29.aspx
http://msdn.microsoft.com/en-us/library/system.io.directory.setaccesscontrol%28v=vs.110%29.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900