Solved

Bcp problem - Login time out - SQL Server 2005

Posted on 2007-11-29
5
2,667 Views
Last Modified: 2008-02-01
I can not get bcp to work on my local machine for SQL Server 2005. I get the following error:
SQLState = 08001, NativeError = 2
Error = [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [2].
SQLState = HYT00, NativeError = 0
Error = [Microsoft][SQL Native Client]Login timeout expired
SQLState = 08001, NativeError = 2
Error = [Microsoft][SQL Native Client]An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.

I have tried to both use a trusted connection and provide a username/password combination.

I have changed the following settings so far:
- Enable remote connections
- Enable named pipes
- Start the SQL Server browser service
0
Comment
Question by:NeoTeq
  • 2
  • 2
5 Comments
 
LVL 31

Expert Comment

by:James Murrell
ID: 20372336
Is the server is running in mixed mode

Is  the server is configured to accept both local and remote connection


0
 
LVL 10

Author Comment

by:NeoTeq
ID: 20372343
>> Is the server is running in mixed mode
Yes, it is.

>> Is  the server is configured to accept both local and remote connection
Yes, but using named pipes only (no TCP/IP).
0
 
LVL 25

Accepted Solution

by:
imitchie earned 500 total points
ID: 20372381
have you followed the steps in

http://support.microsoft.com/kb/914277
0
 
LVL 10

Author Comment

by:NeoTeq
ID: 20372517
Yeah, done those already, but no effect.
0
 
LVL 25

Expert Comment

by:imitchie
ID: 20372900
have you made sure the network adapter is configured for NETBIOS? (required for named pipes)
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now