I'm getting this error when I try to log into SSMS Error9100. Any ideas on how to solve this?

Eugene M Roseboro Jr 21 Reputation points
2021-05-05T23:19:54.643+00:00

94181-ssms-18.jpg

Azure SQL Database
SQL Server Integration Services
Developer technologies | Transact-SQL
Developer technologies | Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
SQL Server | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Olaf Helper 47,586 Reputation points
    2021-05-06T06:02:47.247+00:00

    As the error message says, there is a database corruption in the database you try to connect to. Have specified a dedicated database or have your login a default database different then "master"?
    You can open a DAC = "Dedicated Admin Connection" to SQL Server to analyse the problem; that works even if common login fails.
    See Diagnostic Connection for Database Administrators

    You should also review SQL Server ErrorLog file for more details; it's a simple text file, which you can open in any text editor.

    0 comments No comments

  2. CathyJi-MSFT 22,406 Reputation points Microsoft External Staff
    2021-05-06T07:50:20.643+00:00

    Hi @Eugene M Roseboro Jr ,

    >Possible index corruption detected. Run DBCC CEHCKDB (MS SQL error 9100)

    Did you connect to a specific database not default master database as below screenshot?
    94342-screenshot-2021-05-06-153227.jpg

    According to your error message, the major cause of SQL error 9100 is the index corruption in the database. If you have the latest backup of this database, suggest you recover the database from backup. If you do not have the latest backup to make sure without data loss, you can change the connection database to default master database, then using DBCC CheckDB to repair the database as error message mentioned. Please refer to the blog MS SQL Server Error 9100 – ‘Possible Index Corruption Detected’! to get more.

    If this is still not work, please check your SQL server error log to find more related error message , and share the information for us.


    If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar queries.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.