RE: SQL Server Named Instance Active/Active Cluster IIS TCP/IP Con

From: C.Dimitrov (C.Dimitrov_at_discussions.microsoft.com)
Date: 10/19/04


Date: Tue, 19 Oct 2004 11:37:04 -0700

Hi,

Cliconfg works for me but I didnt remove the NamedPipes as descibed in
http://support.microsoft.com/default.aspx?scid=kb;en-us;815431
If I removed the named pipes Im not able to failover the nodes anymore.
The next issue after you have the Named Pipes configured like
Server1\DB1 NamedPipes you can not add Server1\DB1 TCP/IP as it is saying
you have already configured this. It is not like that in Windows 2000.
But If you browse for servers in Query Analyser it is showing 2 times
Server1\DB1.
Another thing upgrade on the client side MDAC as you have on the SQL
server, otherwise you may have different issues. ADO2.5SP3 always looks first
for Named Pipes configured from ODBC even if you select TCP/IP in Client
Settings.

Regards,
C.Dimitrov

"Mike Epprecht (SQL MVP)" wrote:

> Hi
>
> You have 2 options on the IIS Servers. Either use cliconfg.exe and create an
> alias to configure the ports, or specify the port number in your connection
> string by adding ",<pourtnumber>" to the instance name. e.g.
> "virtualinstance1, 2500".
>
> Regards
> Mike
>
> "tplumley" wrote:
>
> > We have two active clustered sql servers and two separate IIS Load
> > balanced servers. We can connect to both instances of sql server
> > Enterprise manager and query analyzer (also tried an odbc connection)
> > thru local pc's.
> > I can get both IIS servers to connect to the default sql server
> > instance using sql ole db connections but I cannot get a connection to
> > work from IIS to the named instance of sql server. The error I
> > receive is as follows:
> > -2147467259
> > [DBMSSOCN]General network error. Check your network documentation.
> > I also tried to create an ODBC connection from one of the iis servers
> > to the named instance of sql server and it fails with a Connection
> > Failed general network error. Yet O can use my local pc and create an
> > odbc connection to the named instance of sql server with out an issue
> > (locally I have an option to let it dynamically determin the port in
> > the client config - I do not have this option on the IIS servers).
> > We found we had to add the Network Library=DBMSSOCN; string in our
> > connection to allow IIS to connect to the default instance of sql
> > server.
> > When we installed active clustered sql on the second server (the named
> > instance) we verified that the SQL Network Utility was set to allow
> > TCP/IP network connection a port was automatically set which was not
> > 1433 and is different then the port on the defult instance of sql
> > server on the other active sql server box. Do we need to make sure
> > there is a network setting for this port somewhere?
> > Does anyone know how to correct this connection issue?
> >



Relevant Pages

  • Re: accessing data mining model via web/PDA
    ... Is your OPENROWSET clause connecting to a SQL Server 2000 database? ... Is your SQL Server instance running on the same machine as your Analysis ... i need some> help for the connection string, let say to access the> mining model in the AS. ...
    (microsoft.public.sqlserver.datamining)
  • Re: VB Express SQL Express Remote Connection
    ... Yes I can connect using the SQL Server Management Studio Express Tool. ... I changed my connection to exactly what you specified and it connected. ... I can connect and create databases on the Remote Server ...
    (microsoft.public.dotnet.languages.vb)
  • Re: How to Direct connect with ActiveSync
    ... That won't work because you have a connection string that can't be correct. ... You're saying that the database is, but it's not; ... Server 2000, Visual Studio 2008. ... Again sorry if this should be in another form but you say that SQL Server ...
    (microsoft.public.sqlserver.ce)
  • .Net Scalability problem
    ... I finished a Great project using .Net and SQL Server and .Net Mobile ... Million concurrent users ... So I think that the MTC generate concurrent connection and per ...
    (microsoft.public.sqlserver.connect)
  • Re: Communication Link Failure Error
    ... On disconnection from the network, in my code I changed the connection ... string to use SQLOLEDB and sent a SQL query to SQL server which failed as ... unplug the network cable from the client machine and put the cable ...
    (microsoft.public.data.ado)