Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Connection providers vs

 
   Database Forums (Home) -> Connect RSS
Next:  GoldenGate?  
Author Message
Blue Sky

External


Since: Sep 15, 2006
Posts: 7



(Msg. 1) Posted: Mon Jan 28, 2008 2:21 pm
Post subject: Connection providers vs
Archived from groups: microsoft>public>sqlserver>connect (more info?)

I recently ran "SQLRecon" on my network and then ran SqlCmd -L. There was a
10% difference of 20 servers. (SqlCmd found more). Why wouldn't they both
find the same number of servers?

For years i have been connecting to Sql servers via Osql, SqlCmd, Management
Studio, Query Analyzer, LinkedServers, etc. Now, i would like to understand
why they might give different lists of servers back to users...

My real question to the group is this: Where can i find a document that
describes the different methods (protocols, api's) by which SqlServer
communicates?

Thanks!

--
The Spirit gives life; the flesh counts for nothing! (Jn 6:63)

 >> Stay informed about: Connection providers vs 
Back to top
Login to vote
Andrew J. Kelly

External


Since: Sep 01, 2003
Posts: 975



(Msg. 2) Posted: Mon Jan 28, 2008 8:44 pm
Post subject: Re: Connection providers vs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I believe oSQL like most tools rely on the SQL Browser service to identify
SQL Servers. It does this by communicating with port 1434 which is the
default browser port and it will respond with the ports of any running
instances on that particular server. I believe SQL Recon does a combination
of both using the browser service and pinging particular ports looking for
SQL Server to respond. For instance if the browser service is turned off and
you ping 1434 you will get no reply. But if you have a running instance at
say the default port of 1433 and ping it specifically it will respond. If
you Google "sql server browser service" you should see a bunch of hits that
will give you a good start. This one in particular should get you going
right off the bat.
http://msdn2.microsoft.com/en-us/library/ms181087.aspx


--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"Blue Sky" wrote in message

>I recently ran "SQLRecon" on my network and then ran SqlCmd -L. There was
>a
> 10% difference of 20 servers. (SqlCmd found more). Why wouldn't they
> both
> find the same number of servers?
>
> For years i have been connecting to Sql servers via Osql, SqlCmd,
> Management
> Studio, Query Analyzer, LinkedServers, etc. Now, i would like to
> understand
> why they might give different lists of servers back to users...
>
> My real question to the group is this: Where can i find a document that
> describes the different methods (protocols, api's) by which SqlServer
> communicates?
>
> Thanks!
>
> --
> The Spirit gives life; the flesh counts for nothing! (Jn 6:63)

 >> Stay informed about: Connection providers vs 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Connection -

C# web app connection to SQL 2000 - Hello, everyone, I am trying to connect to a SQL server db with a C# app and when I debug I get: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. Description: An unhandled exception occurred during the..

Max connections - SQL Server 2005 enterpise edition with 8g or memory in the compaq dl380 server with AWE enabled. I think the server is using about 7g. Connections are 0 - unlimited I have a .net application that tries to create 300 connections async and start a small...

connection error - I am using SQL OLE DB Provider to execute a series of stored procedures within a transaction. However, I got the error Description: Cannot create new connection because in manual or distributed transaction mode. Source Description: Microsoft OLE DB..

SQL Connection error - I have a Intouch App the connects to a MS SQL 2000 data base and I get this error in the client log.. It happens at random times so I have a hard time tracking what is the cause. Does anyone have any idea if the this is a quary statement problem or a...
   Database Forums (Home) -> Connect All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]