Click here to Skip to main content
16,018,264 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
By creating setup project and install application and running program the database application cannot write or edit mdf database in application and appear this error message
"Database is Read only"
How solve this problem?
Posted

 
Share this answer
 
v2
hi friend

this problem is for win vista and 7.
1-dont put database files in other Directory only put them in your project directory
2-Right click on Application Folder in the Setup section and
select properties .change the Default Location to
[AppDataFolder][Manufacturer]\[ProductName]
 
Share this answer
 

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