Hi, @Panos M
Thank you for posting in Microsoft Q&A forum.
The error message "CSql Error: Cannot find data for connection type ...... cannot get a connection" indicates that there is an issue with the SQL Server service. This error can occur when the SQL Server service account's password has expired or is incorrect.
To troubleshoot the issue, you can follow the steps outlined in the "Resolution" section of the "SQL Server service may not start after patch installed" article. Specifically, you should verify that the account and password is valid and hasn't expired, and check the ERRORLOG located at C:\Program Files\Microsoft SQL Server<Instance ID>\MSSQL\LOG for additional information.
References:
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".