Re: MSDE not showing up in SQLDMO.ListAvailableServers

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Michael C (michaelc_at_nospam.org)
Date: 07/29/04


Date: Thu, 29 Jul 2004 20:16:01 GMT

No problem. I just found a website that has a utility for retrieving all
SQL Server information from all computers on a specified subnet via a UDP
packet sent to Port 1434. I tested it on my home network (I don't have MSDE
installed right now though). It might be another way to go... but right
now I'm not sure if it's robust enough for my purposes. Anyway, here's the
link http://www.sqlsecurity.com/DesktopDefault.aspx?tabid=26. (One version
includes C# source code). If you do try the SQLPing utility, please let me
know if it returns MSDE info. also.

Enjoy,
Michael C.

"Dave Taylor" <nospam_dave@processeng.com> wrote in message
news:%234E8NcadEHA.3392@tk2msftngp13.phx.gbl...
> Michael,
>
> Thanks for the reply and info. At least now I know it isn't something I
was
> doing wrong.
>
> I'll use your registry workaround for the local info.
>
> Thanks again
>
> Dave Taylor
>
> "Michael C" <michaelc@nospam.org> wrote in message
> news:oicOc.19466$oE1.1984378@news4.srv.hcvlny.cv.net...
> > I had the same problem. SQL-DMO does two things when it enumerates SQL
> > Servers:
> >
> > 1. It creates a list of SQL Servers using the Win32 API NetServerEnum
> > function
> > 2. It creates a list of SQL Servers that respond to a broadcast on Port
> > 1433
> > 3. It combines these two lists.
> >
> > If you're not connected to a network, NetServerEnum doesn't seem to
return
> > any SQL Servers. MSDE runs on Port 1434 instead of 1433, which means it
> > won't pick up the broadcast. If you're just trying to enumerate the
LOCAL
> > MSDE instance(s), you can read the registry subkeys under
> > HKLM\Software\Microsoft\MSSQLServer\MSSQLServer and
> > HKLM\Software\Microsoft\Microsoft SQL Server.
> >
> > If anyone out there knows of a function that can be used to return named
> > instances of MSDE, I'd appreciate the info.
> >
> > Thanks,
> > Michael C.
> >
> >
> > "Dave Taylor" <nospam_dave@processeng.com> wrote in message
> > news:OtXGtZZdEHA.3944@tk2msftngp13.phx.gbl...
> > > I have a VB.NET app using MSDE and the SQL-DMO to get a list of
> available
> > > server. I installed a copy of MSDE on the users' machine (this
machine
> > did
> > > not have MSDE previously so it was a new copy including latest SP3),
> then
> > > installed my app. When I start my app, the local computer name does
not
> > > show up in the list of available servers. This has happened twice now
> on
> > > separate machines. Is there something I need to do after installing
> MSDE
> > > for it to register as a server? Note: I know MSDE is installed and
> > running
> > > because my app creates and properly fills databases on the local
> machine,
> > it
> > > just doesnt show up in the list of available servers.
> > >
> > > Thanks
> > >
> > > Dave Taylor
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: MSDE not showing up in SQLDMO.ListAvailableServers
    ... SQL Server information from all computers on a specified subnet via a UDP ... I tested it on my home network (I don't have MSDE ... Michael C. ... > I'll use your registry workaround for the local info. ...
    (microsoft.public.sqlserver.tools)
  • Re: MSDE not showing up in SQLDMO.ListAvailableServers
    ... SQL Server information from all computers on a specified subnet via a UDP ... I tested it on my home network (I don't have MSDE ... Michael C. ... > I'll use your registry workaround for the local info. ...
    (microsoft.public.sqlserver.msde)
  • RE: MSDE, Access, SharePoint... I am not sure where to ask this qu
    ... 1.>> What is the difference between MSDE and WMSDE? ... MSDE that is targeted for use by Windows components only. ... isn't SQL Server Express replacing MSDE and WMSDE? ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: Put database on Internet
    ... > Once you will be able to connect to MSDE or to SQL-Server, ... > and ADP in the same time as frontends to your database. ... >> will be able to serve as SQL server. ...
    (microsoft.public.access.dataaccess.pages)
  • Re: Need help & support regarding MBSA 2.1 beta 2
    ... Issue: Local Account Password Test ... Check is skipped on Windows XP Home Edition computers. ... SQL Server and/or MSDE authentication mode is set to Windows ...
    (microsoft.public.security)