Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Other SQL Server Topics / June 2008

Tip: Looking for answers? Try searching our database.

SQL Server 2005 connection issues.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike Johnson - 25 Jun 2008 18:43 GMT
I have a problem that has caused whatever hairs on my head that I had left
to disappear. I distributed an application in a pilot program to over 100
users on a corporate network using an OLEDB connection string to connect to
a SQL Server 2005 database. Of the 100 plus installs, 10 were not able to
connect, even though all the computers involved are imaged the same. All the
computers are IBM and they are either PC's or laptops but the same model
respectively.

After reading a bunch of KB articles on MSDN, it was decided that I use SQL
Native Client drivers rather then ODBC. In the update process, the setup
utility installed the SQL Native Client drivers to the PC/laptops that could
not connect using ODBC and after checking for a proper installation of the
drivers, the application still can't connect. Installing SQL Native Client
on the machines that can connect and changing the connection string to use
SQLNCLI as the Provider continues to allow them to connect. I have tested
the SQL Native Client drivers installation on the machines that can't
connect by creating a DSN using the Native Client drivers and the test
connection is successful. Any suggestions or solutions?

Thanks,
Mike
Rick Byham, (MSFT) - 26 Jun 2008 17:29 GMT
What error do you get?
Signature

Rick Byham (MSFT), SQL Server Books Online
This posting is provided "AS IS" with no warranties, and confers no rights.

>I have a problem that has caused whatever hairs on my head that I had left
> to disappear. I distributed an application in a pilot program to over 100
[quoted text clipped - 21 lines]
> Thanks,
> Mike
Mike Johnson - 27 Jun 2008 19:31 GMT
Rick,

Thanks for your response. I am getting error "-2147467259 Named Pipes
Provider: Could not open a connection to SQL Server [1231]." at the time of
connection failure. The provider is SQLNCLI and the connection fails
regardless if I use Driver=(SQL Native Client) as a parameter or not. The
other 90 connections do not have the driver parameter and they are
connecting. Some of the workstations that are not connecting are located in
offices where other workstations are connecting so it doesn't appear to be
the network connection to SQL Server. My other issue is that every PC that
we installed the application on at the location that I am at all connect so
I can't even trouble shoot it.

Thanks for any help you can give me.

Mike

> What error do you get?
> --
[quoted text clipped - 26 lines]
> > Thanks,
> > Mike
Rick Byham, (MSFT) - 27 Jun 2008 22:39 GMT
Just guessing, but I'm surprised you have a Named Pipes error. Can you
connect with TCP\IP?
Perhaps all your other computers connect with TCP\IP and the problem
computers have Named Pipes as the preferred protocol instead of TCP\IP.
To check the client protocols, use SQL Server Configuration Manager on the
client computer, expand SQL Native Client, click Client Protocols, and then
look at the order in the list.
Signature

Rick Byham (MSFT), SQL Server Books Online
This posting is provided "AS IS" with no warranties, and confers no rights.

> Rick,
>
[quoted text clipped - 58 lines]
>> > Thanks,
>> > Mike
Mike Johnson - 28 Jun 2008 01:50 GMT
The error message that I posted was written to an error log by the software
when the connection failed. I'm going to have to check with the Corporate IT
guys on that (I'm a contract developer) to see if they know what they have
in the field. From my understanding, the only connection to SQL Server on
the field units are the MDAC ODBC drivers. I'm in Florida and all of the
workstations with the failed connections are not. I guess the IT people will
have to do some traveling.

If you can think of anything else, I would be interested in trying it.

Thanks
Mike

> Just guessing, but I'm surprised you have a Named Pipes error. Can you
> connect with TCP\IP?
[quoted text clipped - 69 lines]
> >> > Thanks,
> >> > Mike
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.