Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 urgent........need help on bcp

Author  Topic 

rakesh03449
Starting Member

6 Posts

Posted - 2008-09-22 : 02:27:22
hi all

i have problem while working with bcp in sqlserver2005
its showing

SQLState = 08001, NativeError = 2
Error = [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a con
nection 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 am the only one user for my server

the table description is

CREATE TABLE [dbo].[Exam](
[ExamID] [int] NULL,
[ExamName] [varchar](50) NULL,
[ExamDescription] [varchar](50) NULL,
[ExamXML] [xml] NULL
) ON [PRIMARY]

one of the row to be inserted in the file is
"1 138-001 This is exam 138-001."


Any help would be greatly appreciated, thanks


rakesh

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-09-23 : 05:32:48
can you show the bcp code?
Go to Top of Page

rakesh03449
Starting Member

6 Posts

Posted - 2008-09-24 : 00:50:02
bcp FileImportDB.dbo.Exam in
"c:\FileImportPracticeExamImportFile.txt" -T -c


FileImportDB id my database name

help me im unable to understand the problem
rakesh
Go to Top of Page
   

- Advertisement -