Top "Connection-string" questions

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

How can I set an SQL Server connection string?

I'm developing a simple C# application, and I'd like to know this: When I connect my application to SQL Server …

c# sql-server connection-string sa
Get connection string from App.config

var connection = ConnectionFactory.GetConnection( ConfigurationManager.ConnectionStrings["Test"] .ConnectionString, DataBaseProvider); And this is my App.config: <?xml version="1.0" encoding="utf-8" ?&…

c# ado.net exception-handling connection-string app-config
Setting up connection string in ASP.NET to SQL SERVER

I'm trying to set up a connecting string in my web.config file (Visual Studio 2008/ASP.NET 3.5) to a local …

asp.net web-config connection connection-string
What is the difference between Integrated Security = True and Integrated Security = SSPI?

I have two apps that use Integrated Security. One assigns Integrated Security = true in the connection string, and the other …

sql-server security connection-string database-security
Java JDBC - How to connect to Oracle using Service Name instead of SID

I have a Java application that uses JDBC (via JPA) that was connecting to a development database using hostname, port …

java oracle jdbc connection-string service-name
Read connection string from web.config

How can I read a connection string from a web.config file into a public class contained within a class …

c# .net asp.net web-config connection-string
What is the MySQL JDBC driver connection string?

I am new to JDBC and I am trying to make a connection to a MySQL database. I am using …

mysql jdbc connection-string
Connection string using Windows Authentication

I am creating a website, but in the database I use windows authentication. I know that you use this for …

.net asp.net-mvc connection-string windows-authentication
How to find SQL Server running port?

Yes I read this How to find the port for MS SQL Server 2008? no luck. telnet 1433 returns connection failed, so …

sql-server sql-server-2008 connection-string
How to fix "The ConnectionString property has not been initialized"

When I start my application I get: The ConnectionString property has not been initialized. Web.config: <connectionStrings> <…

c# asp.net connection-string database-connection