I\'m trying to connect to a local database (SQL Server 2008) from Java. I have disabled the tcp connections per customer requirements and I can\'t connect. I have to disable
Unfortunately, Microsoft's JDBC driver does not support named pipes connections to SQLServer. You can try finding and alternative JDBC driver to use.
Take a look at jTDS. It's free, open source, and it connects to SQLServer using named pipes.