Re: SQL Express: is there a commandline way to set the default static port of a named instance?



Rick,

I appreciate your looking into this. I've continued to monkey around with
the registry approach but haven't had any luck yet.

I've also discovered issues with the following combination: SQL Server,
dynamic ports, firewall exception for sqlservr.exe, and a Virtual PC VM.

Because I haven't been able to programmatically set a static port for use
with the XP firewall, I've tried to use dynamic ports and added an app
exception as recommended by MSDN. the SQL Browser is also running and I
have a port exception (1434 TCP) for it as well. This setup works just fine
on a "real" machine, but on an XP SP2 virtual machine it doesn't. I can
locate the SQL instance using apps that use the SQL browser (like Management
studio) but I can never conect to it, even using other MS tools. I tried
changing the networking style of the VM (from bridged to NAT) and things
just got worse; SQL Browser-aware apps couldn't find the instance at all.

If I manually change to static ports (for both SQL and the firewall)
everything works as expected.

Rick Byham, (MSFT)" <rickbyh@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FB11ABA0-1461-45C8-A7F7-1F860CEB09C7@xxxxxxxxxxxxxxxx
I wasn't aware that there was a restriction on CREATE ENDPOINT for SQL
Server 2005 Express. I'll work on confirming that and adding the
restriction to the documentation. That won't help you much though.
I'm surprised that the registry hack didn't work. We don't support people
making direct changes to the registry and I haven't tried it, so I can't
offer advice on that.
--
Rick Byham (MSFT)
This posting is provided "AS IS" with no warranties, and confers no
rights.


.



Relevant Pages

  • Re: Help!! USB not working!! Any ideas??
    ... exclamation mark has also appeared, ... I've run several Registry Mechanic scans, ... The computer has 8 USB ports, ... I connect my digital camera, a drive appears to show it is connected, ...
    (microsoft.public.windowsxp.general)
  • Re: HELP - DUPLICATE COM & LPT PORTS
    ... System Restore is the preferred way to remove those registry entries. ... the place the install added the ports, ... > Faxes) and click on PORTS I see 2 each of all the following ports: ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Nothing Present in Device Manager!!!
    ... as I can't get my scanner to be ... and the problem seems to specifically affect my com ports. ... I'd also like to know more about this "export key from registry" business. ... During the cleaning of those types of systems, ...
    (microsoft.public.windowsxp.general)
  • Re: Ethernet problem...
    ... Finally i got both ethernet ports working.. ... I have added the registry entry, which cook mentioned, but nothing happened. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: OWA Setup - HELP PLS
    ... > running Exchange Server 2000...all of these articles ... >>modifying the registry. ... >>is a firewall between OWA and the Exchange Server ... two ports need to be statically mapped. ...
    (microsoft.public.exchange2000.setup.installation)