When I try to connect to my console application with my sqlExpress. I get the following error:
The user is not associated with a reliable SQL Server connection.
I have:
- Switched Users
- Password Switched
- Dial-up servers
- Switched Databases
I always get the same error. I am using VS 2010 and Sql Server 2005
Here is my current connection string
SqlDatabase sqlDatabase = new SqlDatabase(@"Server=localmachineName\SQLEXPRESS; database=database1;user id=username; password=mypassword;");
source
share