Named Pipes Provider

  • can you please give a try as it happened with me once.

    try

    select * from [PROD].[database].dbo.

    instead of

    select * from PROD.database.dbo.table.

    i know there is no difference in this but it worked for me.

  • Have you actually gone in to the Surface area configuration tool and enabled remote connections? from the server console on the box you can't talk to?

    By default the install comes with that turned off.

    ----------------------------------------------------------------------------------
    Your lack of planning does not constitute an emergency on my part...unless you're my manager...or a director and above...or a really loud-spoken end-user..All right - what was my emergency again?

  • Hi SCC and Matt,

    Thanks for the help. I will try:

    select * from [PROD].[database].dbo.

    tomorrow when I get back to office.

    And yes, I signed onto SQL server itself and made sure it allows all local, remote, named pipe and TCP/IP connection. I also ran cliconfg and added alias/server on server box. From server box, I could expand server object to view all database, table and views on SQL 2000 box. I could run:

    select * from PROD.database.dbo.table

    on server box with no problem. But I could not compile procedure nor execute the SQL statement on my local client box. Not sure what prevent me from access SQL 2000 box.

    Chris

  • Hi,

    Please try this. It should help:

    Go to SQL Server 2005 Surface Area Configuration

    Select Surface Are Configureation for Services and Connections

    Under Database Engine

    -> Select Remote Connections

    -> Select Local and Remote Connections

    -> Using both TCP/IP and Named Pipes

    Rgds,

  • Are you using integrated security? It looks like a double hop issue, i.e. NTLM credentials cannot be hopped to the second machine. So the linked server works fine if you run the query on the server but does not work when you run it from a client. Check this link:http://support.microsoft.com/kb/238477

    named pipe is a workaround. Make sure both servers enable the named pipe protcol.

Viewing 5 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply