CREATE DATABASE permission denied in database ‚master‘.

Error:
If you got this error message: „CREATE DATABASE permission denied in database ‚master‘.“

Solution:
Check that the Connection-String-Name is same as in „web.config“.

public class ProjectContext : DbContext
{
public ProjectContext()  : base(„DefaultConnection„)
{ }
}
<connectionStrings>
<add name=“DefaultConnection“ connectionString=“Data Source=(LocalDb)\v11.0;AttachDbFilename=|DataDirectory|\BMSDataBase.mdf;Initial Catalog=SubmissionPortal;Integrated Security=True“ providerName=“System.Data.SqlClient“ />
</connectionStrings>