I am trying to connect to a local SQL Server Express database and I got it working inside a console application but now when I try to do it for a Windows service it doesn't work. I don't know what the problem is. The connection string that worked on the console application is below:
string connectionString = @"Data Source=BEN-PC\SQLEXPRESS;Initial Catalog=testDatabase;Integrated Security=True";
Any help is really appreciated, thanks!