Shared Memory Connections not supported ?

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
martin
Posts: 52
Joined: Mon 07 Nov 2005 09:48

Shared Memory Connections not supported ?

Post by martin » Fri 10 Jul 2009 07:45

I try to connect to a local sql server using the Shared Memory protocol by specifying:

lpc:servername

Connection is established but with the named pipes protocol. The lpc prefix must be correct and recognized because if I use an invalid prefix, the connection does not get established.

Simple Question: Does dbExpress SQL Server Driver support the Shared Memory Protocol ?

Thanks
Martin

martin
Posts: 52
Joined: Mon 07 Nov 2005 09:48

Post by martin » Fri 10 Jul 2009 08:11

Additional Information:

Delphi 6.02
Latest dbExpress Drivers
Win2003 SP2 Enterprise
SQL Server 2008 SP1 Enterprise

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Mon 13 Jul 2009 10:21

There is no need to specify the lpc prefix. The Shared Memory protocol is always tried first. To use it you should use the Native Client provider. Please try to set the sqlncli value to the VendorLib property of the TSQLConnection.

martin
Posts: 52
Joined: Mon 07 Nov 2005 09:48

Post by martin » Mon 13 Jul 2009 11:04

Challenger wrote:There is no need to specify the lpc prefix. The Shared Memory protocol is always tried first. To use it you should use the Native Client provider. Please try to set the sqlncli value to the VendorLib property of the TSQLConnection.
We switched to Native Client Provider and now it works. Thanks for helping.

PS: Could you please look at my other issue with the Broken Connections ?

Thanks
Martin

Post Reply