Unable to access the database

  • Hi all,

    I have Sql Server 2008 sp1 enterprise edition

    When i connect to the local instance using windows authentication mode. I am able to login but unable to access the database.

    The error it throws is "The database is not accessible (object explorer)"

    I dont have privileges to login through sql server authentication

    Dear frnds please help me resolve this issue

  • What's the state of the database? Query sys.databases (a view) and check the value of the status_desc column.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Status is ONLINE

  • One interesting thing is i cannot find my login ID in sysusers table whereas it is available in syslogins.

    Will this help in solving the issue.

  • R u having sa pwd ?

  • msalmaan (5/13/2010)


    One interesting thing is i cannot find my login ID in sysusers table whereas it is available in syslogins.

    Will this help in solving the issue.

    Do u have any server roles other than public??

    Most probably u dont have and u r not mapped to any database.

    Tell ur DBA to give access to database u want..

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

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