Entity Framework 4.1 Code First works great with SQLEXPRESS
on localhost
. However, I'm now ready to connect to a regular SQL 2008 server
.
I created a new database "NewEfDatabase".
Then changed my "ApplicationServices
" connectionString
in Web.config
to point to my new database with integrated security.
But then I get this error:
"CREATE DATABASE permission denied in database 'master'.
"
So...
a) What permissions does EF 4.1 CF need on said SQL server to do its work?
b) Can I setup an empty database on SQL 2008
for EF 4.1 CF, or do I have to let it do all that work for me? (I'm not sure my DBA would appreciate letting my EF app have rights to do anything outside a particular database)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…