CREATE DATABASE permission denied in database master (EF code-first)

If you are getting the the following error
"CREATE DATABASE permission denied in database master  (EF code-first)"
then follow the following steps
  1. Right click on your database(.mdf file)
  2. Click on  properties
  3. Select security tab
  4. Click on Continue button
  5. Click  on Add button
  6. Click  on Advance button
  7. Now you can see another window, then you click the "Find Now" button on the right side.
  8. On the fields below, go to the bottom most and click the "Users". Click ok.
  9. Click on the permission "Users" that you have been created, then Check the full control checkbox.
Then you have the permission.

No comments:

Post a Comment