Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

can I use named pipe connection manager in the SSIS Connection String.

Posted on 2010-11-23
2
Medium Priority
?
941 Views
Last Modified: 2012-06-21
Can I specify an Explict Named Pipes connection in the Connection Manager for a Data FLow Task.

like NP:<ServerName>.

If yes, Please advice the perfromance implications of doing so,

Thanks,
0
Comment
Question by:dba2dba
  • 2
2 Comments
 
LVL 23

Expert Comment

by:Racim BOUDJAKDJI
ID: 34201092
Read this...
http://msdn.microsoft.com/en-us/library/system.servicemodel.netnamedpipebinding.aspx

Usually better for performance but bad for security.  Stick to TCP IP.
0
 
LVL 23

Accepted Solution

by:
Racim BOUDJAKDJI earned 2000 total points
ID: 34201118
If I recall right in ADO the connection string should be

strConnection = _T("Driver={SQL Server};Server=130.120.110.001;"
     "Address=130.120.110.001,1052;Network=dbnmpntw;Database=MyDatabaseName;"
     "Uid=myUsername;Pwd=myPassword;");

extracted from
http://www.codeproject.com/KB/database/connectionstrings.aspx

Hope this helps...
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have a large data set and a SSIS package. How can I load this file in multi threading?
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question