Error message :
Failed to connect to the existing server farm located at the specified database server and database name. The database name is not a valid configuration database.
I attached some pictures from the ULS log , event log and error message.
I will appreciate any help,
Mohammadenter image description here [31]