I created.exe file and installed it on another machine.When I insert data I get an error "Failed to update database "Database.mdf" because database file is read-only". I am able to view the data but cannot insert the data. I am using local database and visual studio 2015. My connection string is:
connectionString="Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename='|DataDirectory|\db\Database.mdf';Integrated Security=True;"
I am not sure how to grant all permissions to my database over client machine.Any suggestions?