In response to a question I asked about a week ago I changed our database engine to only accept Windows Authentication instead of SQL Authentication. Because our code runs in a different user context then that of the database connection we need to specify the username and password information in order for us to connect to the database. How do we do this using a ConnectionString? Remember, we are not using SQL Authentication anymore.
Thanks,
Since you are using only Windows authentication, you can’t in the connection string. The calling process will need to impersonate a windows principle (user) with the relevant access permissions.