I creat a WindowsFormsApplication that its name is Taxi_agancy
I attached a database file that its name is Taxi_Agency.mdf to my project from server explorer in Visual Studio . ( I add conection to data connections and select Microsoft SQL Server Database File) and in Database file name I enter my database file .
I created a stup project for it . When I install my application in another computer and I try to add some data to my Database from application interface I recieve this error :
Unhandled exception has occurred in your application . if you click countinue the application will ignore this error and attempt to continue . if you click quit the application will close immediatly .
Failed to update database "c:\program files\default company name\setup\Taxi_agency.mdf" because the database is read-only.
View Complete Post