Got this error out of the blue Microsoft.Data.SqlClient.SqlException (0x80131904):

Sharan km 0 Reputation points
2024-02-12T06:07:26.6566667+00:00

Microsoft.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL

SQL Server | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Olaf Helper 47,441 Reputation points
    2024-02-12T07:17:46.6066667+00:00
    0 comments No comments

  2. Sharan km 0 Reputation points
    2024-02-12T07:23:08.93+00:00
    
    connectionstrings :{
     //"CasePortal": "Server=database-sjhfishf.ctvuprpbyvso.us-east-
        "CasePortal": "Server=mydatabase-hscksckn.ctvuprpbyvso.us-east-  }
    

    Thanks for help. just by adding mydatabase instead of database the issue was resolved


Your answer

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