最佳答案
我在我的项目中使用代码优先并在主机上部署,但是我得到了错误
在数据库“ master”中拒绝 CREATEDATABASE 权限。
这是我的连接字符串:
<add name="DefaultConnection"
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=aspnet-test-2012615153521;Integrated Security=False"
providerName="System.Data.SqlClient;User ID=test;Password=test"/>