Reputation: 11
I cannot migrate my Code First database to Azure - Error hints at permission, but I can't figure out what's missing?
When publishing: (Also tried running Visual Studio as administrator)
Result:
What's missing? Should I add a new migration (and delete the old ones)? Is there some problem with commenting out the connection to LocalDb? Is there some setting in Azure I missed?
Upvotes: 0
Views: 426
Reputation: 11
Well I finally succeeded in migrating my database.
I upgraded Visual Studio 2019 from 16.11.13 to 16.11.14. That's probably not the reason why it worked, but I just note it because I'm not sure what made the difference.
If someone has the same problem I'll try to summarize what worked although I think I have tried the combinations below before:
All seems straight forward so it's a bit of a mystery ?!
Upvotes: 0