Question

I followed the instructions on AWS to set up an RDS instance with SQL server Express,

http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_NET.quickstart.html

But I find that when I go to run the commane 'Update-Database' that I get:

CREATE TABLE permission denied in database 'master'.

Turns out I'm logged in as 'Guest'??? Despite setting up the db as per instructions.

So I'm expecting that I must have missed something simple, just looking for any hints as to how to get admin access to my own SQL Server hosted on RDS?

Was it helpful?

Solution

The master database is a System database internal to SQL Server. You never need to run CREATE TABLE inside that database. It sounds like you're not in the right database context: you're running commands against that database rather than your own database.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top