Top "Connection-string" questions

A string containing information necessary for connecting to a service, usually database.

With System.Data.SQLite how do you specify a database file in the connect string using a relative path

Wanting to deploy my project on different servers I would prefer to be able to specify a connect string using …

c# sqlite connection-string system.data.sqlite
How can I connect to Sql Server 2008 remotely using an IP Address?

When I publish my project clients will need to be able to setup the initial configuration, and part of that …

sql-server-2008 connection-string remote-connection
Can I Add ConnectionStrings to the ConnectionStringCollection at Runtime?

Is there a way where I can add a connection string to the ConnectionStringCollection returned by the ConfigurationManager at runtime …

c# asp.net web-config connection-string
Connection string hell in .NET / LINQ-SQL / ASP.NET

I have a web application that comprises the following: A web project (with a web.config file containing a connection …

.net asp.net linq-to-sql configuration connection-string
Point to localhost\sqlexpress using only localhost

Working on a common codebase, one developer is running SQL Server Express 2005 and the other 2 are running SQL Server 2005. Everything …

sql-server-2005 connection-string sql-server-express
Automatic failover with SQL mirroring and connection strings

I have 3 servers set up for SQL mirroring and automatic failover using a witness server. This works as expected. Now …

sql-server connection-string failover mirroring
How to fix System.Data.SqlClient.SqlException: Login failed for user

When I run it I get this: Error Screenshot I enabled Windows authentication in IIS, SQL Server, and also added …

c# connection-string sql-server-2017
How to use pg_dump with a connection uri / url?

I can invoke psql like this: psql postgres://... How can I use pg_dump with a connection string in the …

postgresql connection-string
Azure connection string best practices

I have an application that I am just migrating to Azure. Currently I use web.config transformation to manage changing …

azure azure-sql-database connection-string application-settings staging
VS2010 web deploy the connection string argument cannot be null or empty

Having problems deploying a website to an windows 2008 r2 server running IIS7. I have previously deployed another site to this …

visual-studio-2010 visual-studio iis-7 connection-string webdeploy