SQL-08001

Oct 1, 2005

Hi,

I am new to SQL Server.

This is the set up.

We have a domain server, sql server and web server running on three different PCs. I am running a PERL code in the web server and accessing the sql server. I am getting errors. I have pasted the piece of my code and error below. Could someone please help.


Thanks and Regards,
Jeni.

Code:
----
my $DSN = 'driver={SQLServer};Server=$server;database=$database;uid=$user;';
my $dbh = DBI->connect("dbi:ODBC:$DSN") or die "$DBI::errstr
";

Error:
------
DBI connect('driver={SQLServer};Server=$server;database=$database;uid=$user;',''
,...) failed: [Microsoft][ODBC Driver Manager] Data source name not found and no
default driver specified (SQL-IM002)(DBD: db_login/SQLConnect err=-1) at test.p
l line 15
[Microsoft][ODBC Driver Manager] Data source name not found and no default drive
r specified (SQL-IM002)(DBD: db_login/SQLConnect err=-1)

View 4 Replies


ADVERTISEMENT

Replication With 6.5 - Error: 08001 SQL Server Not Found.

Mar 5, 2000

I have set up replication on two SQL Servers (6.5), SP5a, on NT 4.0 (SP3). The Distribution Task is failing with the following error:

08001[Microsoft][ODBC SQL Server Driver][dbnmpntw]Specified SQL Server not found.

I am using standard security in a workgroup environment. I have my trusted connection setup and I am using named pipes. I had this process working on our test servers but when I tried to implement it into production I received the above message.

One thing I noticed is that in the SQL EM on the Publisher I am not able to register to the Subscriber unless I use an Advance Connection with TCPIP Sockets in the Client Configuration Utility. The same applies in the SQL EM on the Subscriber I am not able to register to the Publisher unless I use an Advance Connection with TCPIP Sockets in the Client Configuration Utility. Please give me some advice. Thanks.

View 2 Replies View Related

[298] SQLServer Error: 258, TCP Provider: Timeout Error [258]. [SQLSTATE 08001]

Mar 11, 2008

I've received this error twice over 2 days in the SQL Agent error log during off-hours from a server which has not had any changes to it in the last few months (once at 3:32AM and the next day at 3:46AM. I've been able to tie it to log-shipping backup jobs (all of which run under the SQL Service domain account) which run every minute. It seems to be only momentary, as the next attempt a minute later is successful.

I get the same set of messages for each database for the same time which look like this:


Date 07.03.2008 3:31:51 AM
Log SQL Agent (Current - 10.03.2008 6:15:00 PM)

Message
[298] SQLServer Error: 258, TCP Provider: Timeout error [258]. [SQLSTATE 08001]

Date 07.03.2008 3:31:52 AM
Log SQL Agent (Current - 10.03.2008 6:15:00 PM)
Message
[165] ODBC Error: 0, Login timeout expired [SQLSTATE HYT00]


Date 07.03.2008 3:31:52 AM
Log SQL Agent (Current - 10.03.2008 6:15:00 PM)

Message
[298] SQLServer Error: 258, Unable to complete login process due to delay in login response [SQLSTATE 08001]


Date 07.03.2008 3:31:52 AM
Log SQL Agent (Current - 10.03.2008 6:15:00 PM)

Message
[382] Logon to server '(local)' failed (SubSystemStepHistoryLogger)


I can't find any documentation on these errors on the web or MSDN site. Can I chalk this up to possibly "winking" connection to our domain controller? We've never had these messages before, and our LAN department swears that there have been no upgrades to the network or domain controller servers recently.

View 25 Replies View Related

Doing BCP In AdvenutreWorks:Copying Data From A File To A Table-SQLState=08001,NativeError=2 && SQLState=HYT00,NativeError=0,Why?

Jan 25, 2008

Hi all,
I copied the following code from MSDN2 bcp Utility:
bcp AdventureWorks.Sales.Currency2 in Currency.dat -T -c
and executed it in my C:Program FilesMicrosoft SQL Server90ToolsBinn>.
I got the following errors:

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.


Please help and tell me what wrong with this BCP execution or with the database, and how to make this BCP working.

Thanks,
Scott Chang

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved