Login not mapped to database is able to connect and work on that database..

  • Experts,

    Strange issue. I have an sql login and it's NOT mapped to a particular database.

    But I am able to connect to that database and do the things with that login. How's that possible ?

    When I check the properties of login, it throws the error "one or more databases are inaccessible and will not be displayed" and that database is unchecked. Any idea ?

    The database is NOT in READONLY mode.

  • Does it have a sysadmin Server Role?

  • ..had checked that as well.. No it doesn't have sysadmin.

    It has only Public.

    Otherwise that error shudn't have appeard too rite ?

    Thanks for the quick response.

  • No, it shouldn't have, you're right. The database is online, is it? (Sorry, I'm clutching at straws a bit!)

  • Yes it's online and the login is able to use the database too...

  • Is it using an application role?

  • Is it using an application role?

    Nope.. It was connected as guest user 🙂 .

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply