DCSIMG
Connection String - Tamir Shlomi's Blog

Tamir Shlomi's Blog

Welcome to Tamir Shlomi's blog. All about .NET, OOP and SQL server

Browse by Tags

All Tags » Connection String (RSS)
Connect SQL Server Named Instance Using Specific Port Number
Recently I encountered an exception while trying to connect to SQL Server named instance. We have a main server with SQL Server 2005 installed on as the default instance and another SQL Server 2008 installed as a named instance. The connection string I used was: " Data Source=ServerName\InstanceName,1433;network library=dbmssocn;Initial Catalog=MyDataBaseName;Integrated security=SSPI " We are using TCP/IP as the underlying connection method in order to connect to SQL Server. This can be...