Cannot connect to sqlserver express with Windows Forms. Visual Studio 2022
I am receiving a connection error when connecting to SQL Server Express 2019 from a windows forms app using Visual Studio 2022/c#. When I attempt to open the database I get cannot open database, the Login failed. This is using Windows Authentication with the Connection string “Data Source=.SQLEXPRESS;Initial Catalog=IMSBooks;Integrated Security = True”