TCP/IP properties

I have a questions about TCP/IP configurations for SQL server 2008R2.  We have several instances on one machine (same IP) and some of the instances have the IP1 (under the IP addresses tab) enabled set to yes and have dynamic port values of 0 because
we are using dynamic ports.  Should this "enabled" be set to yes on all the instances because we are using a static IP address for the server?
We are not having any connection issues, I was just wondering what is the best practice on the TCP/IP settings. 
Thanks.

take a look on
http://msdn.microsoft.com/en-us/library/ms177440.aspx
http://blogs.msdn.com/b/sqlserverfaq/archive/2008/06/02/how-to-change-the-dynamic-port-of-the-sql-server-named-instance-to-an-static-port-in-a-sql-server-2005-cluster.aspx

Similar Messages

  • Cannot access TCP/IPv4 Properties button

    Hi,
    In my company, We're facing the same problem.
    After selecting TCP/IP v4, the properties button is grayed out.
    So far We tried the following solutions without success:
    netsh winsock reset
    netsh interface ipv4 reset
    netsh interface ipv6 reset
    SFC /scannow
    Replace the "tcpip.sys" file from computer that is working fine.
    We also ran "Microsfot Safety Scanner" and no malware, virus or trojan was detected.
    We are using Win7 SP1
    The computer is on a Domain environment
    Hope someone can help with this issue.
    Thank you.

    Hi,
    Try this and check the result
    1. Reset TCP/IP -> netsh int ip reset <log> (log is needed, ex.
    “C:\ResetIP.txt”) don't reboot2,
    uninstall-“Client for Microsoft Networks”- reboot
    3. Reinstall “Internet Protocol (TCP/IP)” -> Add protocol, click on “Have
    disk…” and browse to “C:\%WinDir%\inf\nettcpip.inf” *
    4. Reinstall  -> “Client for Microsoft Networks”
    Yolanda Zhu
    TechNet Community Support

  • Configure TCP/IP system properties with java

    I'm looking to do is to be able to set my TCP/IP properties using java every time I switch physical networks so that it is configured properly. One network automatically gives an IP while the other requires a static one. I'd rather not have to keep typing it in everytime so I'm looking for a way to automatically change it.
    I'm thinking that the route to go would be through the java.lang.system to get the system properites but that'll only get me the os name and version stuff.
    Any ideas?

    I believe this will require native functionality. Each OS handles the specification of TCP/IP information differently. Getting the system properties is not going to help. The only way I can imagine doing this is to create a set of Java classes which provide a platform-independent abstraction for changing TCP/IP information and then use JNI to implement the natvie code for each platform you want to support.
    Jitender - [email protected]

  • Can't Change IP properties is greyed, Can't Open IE

    Hi all,
    I've getting a big issue with my application server running windows server 2008 R2.
    When trying to change IP the TCP/IP properties remains greyed, Can't open Internet Explorer.And can't run some application as they required administrative rights to write to registry.
    I logged in as a domain admin and also as administrator on local and same problem.
    I've tried to do a full scan, download malaware and couldn't found any threats.
    Any help here please.
    Thanks,
    Yannick

    Could be a UAC issue.
    http://windows.microsoft.com/en-us/windows/what-is-user-account-control#1TC=windows-7
    you might try with it off to test.
    http://windows.microsoft.com/en-us/windows/turn-user-account-control-on-off#1TC=windows-7
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Do streaming video plugins have to use TCP/HTTP transport ?

    Can browser plugins open UDP sockets ? all the video plugins I know of are TCP/HTTP based, but I don't know if that is a requirement of operating through a browser.

    milnuts wrote:
    Ok, I reconfigured my system.  Current setup is now
    Cable Modem -> Time Capsule -> Switch (connected to both the blu ray, Xbox 360, and PC).
    I just tried to connect with both the Xbox and the blu ray player, no luck.  
    Yes, that is disappointing.. can you briefly borrow the router from your neighbour and test it again.. I would really like to see what happens when you put the netgear back and pull full ipconfig /all from the computer. Or another router of any kind.. if your modem is also a router completely remove the TC and see what happens.
    The Xbox360 won't even recognize the PC at all.  I thought for sure this would work as the Time Capsule is completely out of the picture, or so I would have thought.
    What can change when you swap router??
    Windows can change.. here is one I missed in the previous suggestions.. windows can jump from home location to work or public without telling you, simply because you changed router. Jump into windows PC and make sure the location is set to home.. turn off the firewall even. Turn off ipv6 as the TC is ipv6 capable and that could mess things up.
    Even turn on the guest account with full permissions.. and see if any of those things helps.
    How do I set the IP for the blu-ray and PC to something other than the default?  I tried to do that through the AirPort Utility in the Time Capsule.  Network->DHCP Reservations->+  That lets me put in the MAC address for the device I want to reserve, but it only allows me to change the last bit of the address.  So it grays out the 10.0.1 and only allows me to change the last number.
    No, you cannot do it via dhcp.. you set manual IP address.. in other words, open the PC networking.. go to TCP/IP properties and change from auto to manual and set IP as I indicated. You do it directly on the PC and directly on the bluray and xbox.. not via dhcp.

  • Configuring SQL 2014 Express for TCP/IP remote access

    Hi
    I have installed SQL Server 2014 Express on Windows 2008 Server. I have enabled TCP/IP, removed the dynamic port and added fixed port 1433 to TCP/IP properties, added port 1433 to Windows Firewall on server and have restarted SQL Server service. I can access
    SQL Server on Windows 2008 Server via Management Studio but not from a Windows 7 client PC. What more do I need to do to access SQL Server 2014 Express remotely?
    The other SQL Server instances on the Windows 2008 Server are SBSMONITORING, SOPHOS and MICROSOFT##SSEE.
    Thanks
    Regards

    Hello,
    Please enable SQL Server access on the Windows Firewall on the client computer side or disable Windows Firewall on the
    client computer.
    Enable SQL Server Browser service and start it.
    Hope this help.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • VPN client no access, two ip addresses

    Hello,
    Vista and VPN client v5.0 with 3000 concentrator. After logging in an ipconfig shows Ipv4/subnet mask twice, giving two different IP addresses in the same pool and subnet. The gateway is blank, thus no access to LAN or Internet.
    No unusual changes since problem started happening a week ago, flushed DNS cache, any ideas out there? Much thanks!

    Thank you for your response.
    If I did "ipconfig /all" it would show that the "Local Area Connection 2:" is Cisco Systems VPN Adapter.
    Before connecting to VPN, the TCP/IPv4 properties of the VPN adapter showed 0.0.0.0 as the IP. After connecting, the same window showed the first IP address of two in the same subnet. The DNS and DHCP IPs are correct.
    DHCP is configured at user's home. The log in admin page of the VPN showed it issued the first of the two IPs, no record of the second one. Correction: he gets internet but not LAN. Pings to LAN resources map to the correct IP...
    Again, if all else fails, I'll try to get him to reinstall the client but if any of this info rings a bell with you, please advise. Thank you!

  • How to connect wi-fi connected laptop to the ethernet connected PC??

    Hi, 
    System 1 - PC, connected to the router+modem with ethernet cable, mostly has static IP
    System 2 - Laptop, connected to the router+modem with wi-fi, mostly uses DHCP 
    I want to connect these 2 systems in order to access the shared data & printer of PC in Laptop. 
    I tried to do this by doing the following on my laptop.
    start -> run -> \\<ip address of PC>
    But I got the error that "Windows cannot connect to the \\<ip address of PC>". When I diagnosed it, it showed that "Your computer appears to be correctly configured, but the device or resource (<ip address of PC>) is not
    responding".
    How to connect now two systems?

    Hi,
    Please take a try with the following steps:
    1. Restart the router;
    2. Reconfigure TCP/IP settings, Navigate to :
    Start/
    Control Panel/ View network status and tasks/
    Networking and Internet/Change adapter settings/Local
    Area Connection/Properties./Internet Protocol Version 6 (TCP/IPv6)/Properties
    set both IPv6 and IPv4 to Obtain an IP address automatically, select Obtain DNS servers address automatically, and then click
    OK. 
    3. Run the below command in command prompt with admin rights:
    ipconfig /flushdns
    ipconfig /registerdns
    ipconfig /release
    ipconfig /renew 
    Then try to connect the two machines again.
    Best regards 
    Michael Shao
    TechNet Community Support

  • DNS timeout and Name Server timeout between two DC's

    Hi All
    My clients have a brand new domain built for them, with two domain controllers at separate sites, and one site is having some issues.
    At one site (where DC2 is hosted), all users are having 5-10 minute log on delays - once in everything is running without issues. Site where DC1 is has zero issues - they run smoothly, get a nice quick login etc. All users are using redirected folders and
    all have the same GPO's applying to them.
    DC1 also has periodic issues communicating with DC2 - nslookup using DC2 gives "DNS request timed out. timeout was 2 seconds" on external AND internal queries, but then 5 minutes later will resolve perfectly. During the "DNS time out"
    period, trying to resolve DC2 as a Name Server also gives the error "A timeout occurred during validation".
    Not sure if these (slow logon and DNS/NameServer time out issues) issues are related but I am at a loss.
    Reverse lookup zones are fully created and populated, entries aren't randomly deleting themselves. Replication between both DC's is working fine, no errors and SYSVOL/NETLOGON are sharing fine from both DC's. Occassionally restarting the DNS server services
    on both servers will kick them back into talking - but only for around 30sec-1minute, after that they communicate periodically without problems and spend the rest of the time not resolving.
    Any ideas floating around, as I am at a loss here. We haven't been able to join more than a few test users to DC2's site for fear of them all calling every day due to long log on periods.

    Hi,
    Are you pointing each DC/DNS to the other one as primary dns in tcp/ip properties? Can you post a dcdiag /a /f:dcdiag.log from the DC2?
    Any warnings/errors in Application log on the client(s) facing issues after they get logged in ? Can you also confirm that users from site with DC2 are having DC at : set | find /I "LOGONSERVER" output?
    Hope it helps.
    Regards,
    Calin
    Hi Calin
    The DC's were originally pointing at each other for the primary but others prior to posting here suggested that was not best practice anymore and said they should be the other way around - in any case, either direction doesn't resolve the issues.
    The only application error the users are getting is :
    The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    The winlogon notification subscriber <GPClient> took 84 second(s) to handle the notification event (Logon)
    DCDIAG of DC2 :
    Directory Server Diagnosis
    Performing initial setup:
    Trying to find home server...
    Home Server = CAB1-DC-V01
    * Identified AD Forest.
    Done gathering initial info.
    Doing initial required tests
    Testing server: AUS\NDC1-DC-V01
    Starting test: Connectivity
    ......................... NDC1-DC-V01 passed test Connectivity
    Testing server: AUS\CAB1-DC-V01
    Starting test: Connectivity
    ......................... CAB1-DC-V01 passed test Connectivity
    Doing primary tests
    Testing server: AUS\NDC1-DC-V01
    Starting test: Advertising
    ......................... NDC1-DC-V01 passed test Advertising
    Starting test: FrsEvent
    ......................... NDC1-DC-V01 passed test FrsEvent
    Starting test: DFSREvent
    ......................... NDC1-DC-V01 passed test DFSREvent
    Starting test: SysVolCheck
    ......................... NDC1-DC-V01 passed test SysVolCheck
    Starting test: KccEvent
    ......................... NDC1-DC-V01 passed test KccEvent
    Starting test: KnowsOfRoleHolders
    ......................... NDC1-DC-V01 passed test KnowsOfRoleHolders
    Starting test: MachineAccount
    ......................... NDC1-DC-V01 passed test MachineAccount
    Starting test: NCSecDesc
    ......................... NDC1-DC-V01 passed test NCSecDesc
    Starting test: NetLogons
    ......................... NDC1-DC-V01 passed test NetLogons
    Starting test: ObjectsReplicated
    ......................... NDC1-DC-V01 passed test ObjectsReplicated
    Starting test: Replications
    ......................... NDC1-DC-V01 passed test Replications
    Starting test: RidManager
    ......................... NDC1-DC-V01 passed test RidManager
    Starting test: Services
    ......................... NDC1-DC-V01 passed test Services
    Starting test: SystemLog
    A warning event occurred. EventID: 0x80000109
    Time Generated: 12/17/2014 08:25:05
    Event String:
    A pointer device did not report a valid unit of angular measurement.
    A warning event occurred. EventID: 0x80000101
    Time Generated: 12/17/2014 08:25:05
    Event String:
    A pointer device reported a bad angular physical range.
    A warning event occurred. EventID: 0x80000102
    Time Generated: 12/17/2014 08:25:05
    Event String:
    A pointer device reported a bad angular logical range.
    A warning event occurred. EventID: 0x80000109
    Time Generated: 12/17/2014 08:25:06
    Event String:
    A pointer device did not report a valid unit of angular measurement.
    A warning event occurred. EventID: 0x80000101
    Time Generated: 12/17/2014 08:25:06
    Event String:
    A pointer device reported a bad angular physical range.
    A warning event occurred. EventID: 0x80000102
    Time Generated: 12/17/2014 08:25:06
    Event String:
    A pointer device reported a bad angular logical range.
    A warning event occurred. EventID: 0x80000109
    Time Generated: 12/17/2014 08:47:55
    Event String:
    A pointer device did not report a valid unit of angular measurement.
    A warning event occurred. EventID: 0x80000101
    Time Generated: 12/17/2014 08:47:55
    Event String:
    A pointer device reported a bad angular physical range.
    A warning event occurred. EventID: 0x80000102
    Time Generated: 12/17/2014 08:47:55
    Event String:
    A pointer device reported a bad angular logical range.
    A warning event occurred. EventID: 0x80000109
    Time Generated: 12/17/2014 08:47:55
    Event String:
    A pointer device did not report a valid unit of angular measurement.
    A warning event occurred. EventID: 0x80000101
    Time Generated: 12/17/2014 08:47:55
    Event String:
    A pointer device reported a bad angular physical range.
    A warning event occurred. EventID: 0x80000102
    Time Generated: 12/17/2014 08:47:55
    Event String:
    A pointer device reported a bad angular logical range.
    A warning event occurred. EventID: 0x80000109
    Time Generated: 12/17/2014 08:47:55
    Event String:
    A pointer device did not report a valid unit of angular measurement.
    A warning event occurred. EventID: 0x80000101
    Time Generated: 12/17/2014 08:47:55
    Event String:
    A pointer device reported a bad angular physical range.
    A warning event occurred. EventID: 0x80000102
    Time Generated: 12/17/2014 08:47:55
    Event String:
    A pointer device reported a bad angular logical range.
    ......................... NDC1-DC-V01 failed test SystemLog
    Starting test: VerifyReferences
    ......................... NDC1-DC-V01 passed test VerifyReferences
    Testing server: AUS\CAB1-DC-V01
    Starting test: Advertising
    ......................... CAB1-DC-V01 passed test Advertising
    Starting test: FrsEvent
    ......................... CAB1-DC-V01 passed test FrsEvent
    Starting test: DFSREvent
    There are warning or error events within the last 24 hours after the
    SYSVOL has been shared. Failing SYSVOL replication problems may cause
    Group Policy problems.
    ......................... CAB1-DC-V01 passed test DFSREvent
    Starting test: SysVolCheck
    ......................... CAB1-DC-V01 passed test SysVolCheck
    Starting test: KccEvent
    ......................... CAB1-DC-V01 passed test KccEvent
    Starting test: KnowsOfRoleHolders
    ......................... CAB1-DC-V01 passed test KnowsOfRoleHolders
    Starting test: MachineAccount
    ......................... CAB1-DC-V01 passed test MachineAccount
    Starting test: NCSecDesc
    ......................... CAB1-DC-V01 passed test NCSecDesc
    Starting test: NetLogons
    ......................... CAB1-DC-V01 passed test NetLogons
    Starting test: ObjectsReplicated
    ......................... CAB1-DC-V01 passed test ObjectsReplicated
    Starting test: Replications
    ......................... CAB1-DC-V01 passed test Replications
    Starting test: RidManager
    ......................... CAB1-DC-V01 passed test RidManager
    Starting test: Services
    ......................... CAB1-DC-V01 passed test Services
    Starting test: SystemLog
    An error event occurred. EventID: 0x0000272C
    Time Generated: 12/17/2014 08:30:22
    Event String:
    DCOM was unable to communicate with the computer 139.130.4.4 using any of the configured protocols; requested by PID 1810 (C:\Windows\system32\dcdiag.exe).
    An error event occurred. EventID: 0x0000272C
    Time Generated: 12/17/2014 08:30:43
    Event String:
    DCOM was unable to communicate with the computer 203.50.2.71 using any of the configured protocols; requested by PID 1810 (C:\Windows\system32\dcdiag.exe).
    An error event occurred. EventID: 0x0000272C
    Time Generated: 12/17/2014 08:31:05
    Event String:
    DCOM was unable to communicate with the computer 8.8.4.4 using any of the configured protocols; requested by PID 1810 (C:\Windows\system32\dcdiag.exe).
    An error event occurred. EventID: 0x0000272C
    Time Generated: 12/17/2014 08:31:27
    Event String:
    DCOM was unable to communicate with the computer 8.8.8.8 using any of the configured protocols; requested by PID 1810 (C:\Windows\system32\dcdiag.exe).
    ......................... CAB1-DC-V01 failed test SystemLog
    Starting test: VerifyReferences
    ......................... CAB1-DC-V01 passed test VerifyReferences
    Running partition tests on : DomainDnsZones
    Starting test: CheckSDRefDom
    ......................... DomainDnsZones passed test CheckSDRefDom
    Starting test: CrossRefValidation
    ......................... DomainDnsZones passed test
    CrossRefValidation
    Running partition tests on : aus
    Starting test: CheckSDRefDom
    ......................... aus passed test CheckSDRefDom
    Starting test: CrossRefValidation
    ......................... aus passed test CrossRefValidation
    Running partition tests on : ForestDnsZones
    Starting test: CheckSDRefDom
    ......................... ForestDnsZones passed test CheckSDRefDom
    Starting test: CrossRefValidation
    ......................... ForestDnsZones passed test
    CrossRefValidation
    Running partition tests on : Schema
    Starting test: CheckSDRefDom
    ......................... Schema passed test CheckSDRefDom
    Starting test: CrossRefValidation
    ......................... Schema passed test CrossRefValidation
    Running partition tests on : Configuration
    Starting test: CheckSDRefDom
    ......................... Configuration passed test CheckSDRefDom
    Starting test: CrossRefValidation
    ......................... Configuration passed test CrossRefValidation
    Running enterprise tests on : swms.com
    Starting test: LocatorCheck
    ......................... swms.com passed test LocatorCheck
    Starting test: Intersite
    Doing intersite inbound replication test on site AUS:
    ......................... swms.com passed test Intersite
    SYSVOL is sharing OK, these errors are occurring when DC1 is performing backups and comes good a few seconds later)
    The DNS failures are not on the NIC of each server they are the forwarders for the server, not sure why they are failing as DNS lookup is running fine and the IP's are resolving correctly within the forwarders.
    set | find /I "LOGONSERVER"
    C:\Users\Christopher.McCartne>set | find /I "LOGONSERVER"
    LOGONSERVER=\\NDC1-DC-V01
    NDC1 = DC1
    CAB1 = DC2
    The users are logging onto NDC1 currently as I did switch around their DNS servers to have DC1 as their primary to test if this resolved the logon times. It didn't so I've switched them back and will re-run the check to see which server is the logonserver.

  • Safari and Youtube can't connect to server

    Safari and Youtube can't connect to server but I can use iTunes online store. Isn't that strange? Any ideas why?
    I use static ip-adresses on my home network with a WEP 128bit security. I have entered all configuration that I enter under tcp/ip properties on my but there is one property on the touch that I don't recognise from my PC and that is someting that translated could be named "Search Domains". It's the last property under the static wireless config tab.

    I have no idea what I am doing... but once i changed the proxy (HTTP) my life is just miserable, no sites open, like its really annoying. Do you know how to fix it.

  • Wi-Fi connection drops out on Satellite P100-354

    Hi,
    hope someone can help me.
    Mz Wi-Fi Connection keeps droppimg off. Sometimes it works for hors and sometimes it happens after some minutes.
    I have a P100-354 with Windows Media Center Edition. My wifi card is a Intel Pro/Wireless 3945 ABG Net.
    I installed the latest driver from the Intel page (Version 10.5.1.72) - No success.
    I dont think it´s the router (Speedport W700) because it never happens with my work laptop.
    Hope you can help me out - any help appreciaed!
    Thanks in advance!!

    Hi, perhaps you should try let the intel card do the wifi connection, and not windows; of course, you know that in 'properties' of the wifi connection in 'tcp/ip : properties : 'obtain an IP address automatically,and 'obtain DNS server address automatically' is ok, then 'advanced : in 'WINS' - enable LMHOSTS lookup and - enable Netbios over TCP/IP is turned on. Save this configuration.this configration is mine caus i use a router. If you use a fixed TCP/IP address then the configuration is otherwise.
    Then go to the properties of intel pro wireless for configuring the wifi connection and normally there shoudln't be no problem.

  • How to Configure Remote Connections To SQL Server 2008 R2 Express

    Post written June 10, 2010 and pertains to:
    SQL Server 2008 R2 Express on both my server and local machines: SQLX_SRV,
    SQLX_LOC
    SQL Server 2008 R2 Management Studio on both my server and local machines:
    MS_SRV, MS_LOC
    Windows Server 2008 R2 Enterprise installed on a Hyper-V VPS: WS
    SQL Server Configuration Manager on both my server and local machines:
    CMGR_SRV, CMGR_LOC
    Server Manager: SMGR
    I am connecting to my hosting server via Remote Desktop Connection: RDC
    I installed SQLX_SRV and MS_SRV on my hosting server and SQLX_LOC and MS_LOC on my local development machine.  I am able to use MS_LOC to connect to SQLX_LOC and to use MS_SRV to connect to SQLX_SRV.  However I am not able to use MS_LOC to connect
    with SQLX_SRV.  Here's what I have done so far:
    SMGR -> Configuration -> Windows Firewall to turn off the Windows Firewall for Domain, Private and Public profiles.  Obviously I'll change this later, but until I can connect I want to remove as many variables as possible.
    CMGR_SRV -> SQL Server Services to confirm that both SQL Server (SQLEXPRESS) and SQL Server Browser services were running.
    CMGR_SRV -> SQL Server Network Configuration -> Protocols for SQLEXPRESS to ENABLE the Shared Memory, Named Pipes, and TCP/IP protocols and DISABLE the deprecated VIA protocol.
    CMGR_SRV -> SQL Server Network Configuration -> Protocols for SQLEXPRESS -> double click TCP/IP to open the TCP/IP properties dialogue.  On the Protocol tab Enabled: Yes, Keep Alive: 30000, changed Listen All to No.  I've tried it both
    ways, but I've got six IP addresses on my server and I wanted to configure SQLEXPRESS to listen to only the first and primary IP.  On the IP Addresses tab went to IPALL and cleared the TCP Dynamic Ports field and entered 1433 in the TCP Port field. 
    For my first and primary IP Address I made sure that Enabled was Yes, I cleared the TCP Dynamic Ports field, and entered 1433 in the TCP Port field.  For all other IP Addresses Enabled was set to No and I cleared both the TCP Dynamic Ports and TCP Port
    fields.
    CMGR_SRV -> SQL Server Services -> SQL Server (SQLEXPRESS) right click and Restart.  This of course stopped and restarted my instance of SQLX_SRV enabling the TCP/IP configuration in the previous step to take effect.
    On my server, SQLX_SRV is the only instance of SQL Server running and so it's easy to hard wire it to the default port 1433.
    The instance name for both SQLX_SRV and SQLX_LOC is the default "SQLEXPRESS".  My server machine name is "SERVER1" on the EnglishBrains.com domain.  So the proper local name (local within the context of my remote server as connected via RDC) for
    my instance of SQLX_SRV would be:
    SERVER1\SQLEXPRESS 
    Note the use of a backslash NOT a forward slash. 
    Of course to connect remotely from my development machine, which is not on the same domain as my hosting server, I would need to specify the domain as well, so the SQL Server name becomes:
    SERVER1.EnglishBrains.com\SQLEXPRESS
    I must also use SQL Server Authentication.  Before I can use such a remote connection, however, there are still several configuration steps required.  So on my server (connected via RDC) I used MS_SRV to connect to SQLX_SRV using SERVER1\SQLEXPRESS
    for the server name and Windows Authentication.  Once connected I performed the following steps:
    MS_SRV -> right click the connected parent SERVER1\SQLEXPRESS instance node at the top -> Properties -> Security -> Server authentication: select "SQL Server and Windows Authentication mode".  This will enable connections using either type
    of authentication.
    Next, leaving the Server Properties dialogue open, Connections -> check "Allow remote connections to this server" box.
    Click OK to save these changes and close the Server Properties dialogue.
    MS_SRV -> Security -> right click Logins and select "New Login...", the Login - New dialogue opens.
    On the General page Enter a name for your new login
    Select SQL Server Authorization
    Enter and confirm a password
    Uncheck Enforce password expiration
    Select the default Database and Language
    On the ServerRoles page Public will be checked, also check SysAdmin.  This is probably not a good idea and I'll uncheck this as soon as I can connect to the SQLX_SRV.
    On the User Mapping page select the databases you want your new Login to access and enter the Default Schema of "dbo".
    At the bottom of the User Mapping page you'll see the Database Roles table.  Public will be selected by default.  Also select db_Owner.  Again this is probably not a good idea, and I'll refine this once I can connect.
    On the Status page confirm that "Grant" is checked under "Permission to connect to database engine" and "Enable" is checked under "Login".
    Click OK to save all changes and close the Login - New dialogue.
    With these steps completed you should now be able to use MS_SRV to connect to SQLX_SRV using SQL Server Authentication by supplying the name and password for your new Login.  I tried this and it worked fine.  Next I tried to use this same login
    remotely, that is I went to my local development machine and used MS_LOC to try and connect to SQLX_SRV by using
    SERVER1.EnglishBrains.com\SQLEXPRESS
    and opting for SQL Server Authentication and supplying the name and password of my new login.
    THIS DID NOT WORK??  Instead I get the following error message:
    Cannot connect to SERVER1.EnglishBrains.com\SQLEXPRESS.
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
    For help, click:
    http://www.microsoft.com/products/ee/transform.aspx?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1
    If you follow the suggested help link, you are told:
    The SQL Server client cannot connect to the server.  This error could be caused by one of the following reasons:
    A specified SQL Server instance name is not valid.
    The TCP, or named pipes protocols are not enabled.
    The firewall on the server has refused the connection.
    The SQL Server Browser service (sqlbrowser) is not started.
    WRONG on all 4 counts!  The instance name IS valid.  Both TCP/IP and Named Pipes protocols are enabled.  The firewall has been shut down, so it is not relevant.  Finally the SQL Server Browser IS started.
    The next thing I tried was to circumvent discovery by the SQL Browser service by using the following syntax to specify the IP address and port directly when specifying the SQL Server name.
    tcp:68.71.134.186,1433
    Using this in the Server Name field I was able to use MS_SRV to successfully connect to SQLX_SRV (using SQL Server Authentication of course) with or without the SQL Browser service running. 
    However when I tried to connect from MS_LOC to SQLX_SRV using this same login (WITH SQL Browser service running just for good measure) it does not work??  I get the following error message:
    Cannot connect to tcp:68.71.134.186,1433.
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) (Microsoft SQL Server, Error: 10060)
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10060&LinkId=20476
    If you follow the help link you are told:
    "The SQL Server client cannot connect to the server. This error could occur because either the firewall on the server has refused the connection or the server is not configured to accept remote connections."
    However, the firewall has been shut down and the server HAS been configured to accept remote connections! 
    I confirmed that i could indeed Ping to 68.71.134.186  and running NetStat -a |find /i "listening" on the server shows that the server is indeed listening at 68.71.134.186 Port 1433 -- which is why I was able to connect to SQLX_SRV using MS_SRV with
    tcp:68.71.134.186,1433 .
    IN SUMMARY: Even though I can connect to my SQLEXPRESS instance multiple ways from the server itself, I cannot connect remotely from my development machine! 
    If anyone can help me figure out why I would be very, very grateful!

    My two cents to help you out on c# code example to configure the remote sql server express.
    Hope it helps. It works, but you have to be extra carefull to read it all and setup the server configuration and netsh commands; also the port fowarding on the router.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Data.SqlClient;
    namespace sqlremoteconnection
    class Program
    static void Main(string[] args)
    // this is the local sql server connection
    // 192.168.1.101\SQLEXPRESS
    // now, the configuration for remote access:
    // activate SQL SERVER BROWSER - set it to start "automatic"; then START UP
    // SQL Server Configuration Manager
    // --> SQL SERVER BROWSER -> properties -> Service -> Start Mode -> automatic -> apply
    // --> Log On -> Start -> Ok
                // netsh firewall set portopening protocol = TCP port = 1433 name = SQLPort mode = ENABLE scope = all profile = CURRENT
                // netsh firewall set portopening protocol = UDP port = 1434 name = SQLPort mode = ENABLE scope = all profile = CURRENT
                // netsh advfirewall firewall add rule name = SQLPort dir = in protocol = tcp action = allow localport = 1433 remoteip = any profile = PUBLIC
                // netsh advfirewall firewall add rule name = SQLPort dir = in protocol = udp action = allow localport = 1434 remoteip = any profile = PUBLIC
    // VERY IMPORTANT FOR REMOTE ACCESS: you have to add the rules on port fowarding
    // on the router!!!
    // TCP: 1433
    // UDP: 1434
    // or just a personal port like TCP 31433/UDP 31434
    // read carefully the netsh commands above
    // server name: 123.132.24.177\SQLEXPRESS
    // server name: anyurl.myftp.org\SQLEXPRESS,1433 <<-- regular port
    // server name: anyurl.myftp.org\SQLEXPRESS
    // server name: anyurl.myftp.org\SQLEXPRESS,31433 <<-- WOW different PORT here!!!
    SqlConnection myConnection = new SqlConnection(
    "user id=sa;" +
    "password=password_goes_here!;" +
    "server=anyurl.myftp.org\\SQLEXPRESS,31433;" +
    //"Trusted_Connection=no;" +
    "database=database_name_here; " +
    "connection timeout=30");
    try
    myConnection.Open();
    catch (Exception e)
    Console.WriteLine(e.ToString());
    try
    SqlDataReader myReader = null;
    SqlCommand myCommand = new SqlCommand("select * from mytable", myConnection);
    myReader = myCommand.ExecuteReader();
    while (myReader.Read())
    Console.WriteLine(myReader["tab01_name"].ToString());
    Console.WriteLine(myReader["tab01_age"].ToString());
    catch (Exception e)
    Console.WriteLine(e.ToString());
    try
    myConnection.Close();
    catch (Exception e)
    Console.WriteLine(e.ToString());
    Adelino Araujo

  • Long time to load a first page, get "the connection has timed out" frequently.

    Frequently takes a long time to get to first page. Even a "speed test" to check my DSL connection. Usually can get to "google.com" quickly but it did come up slow today (just a test for a simple page).
    I have a wireless N router with it's own Firewall (which I didn't want) and I think I've turned it off. Symantec firewall, don't think WinXP firewall is on.
    Tried refresh of Adobe Flash Player per suggestion in this forum, no help.
    Would like to have a tool to see how long each step of getting to the web takes so I can see if there's a bottleneck.
    Occasionally "try again" button works on the "connection has timed out" message.
    My PC is 6 yr old. xp-home, lots of ram, HDD available. Run Symantec AV/MBAM frequently. Ran Housecall and Dr. Web- no problems.
    Talked to my DSL provider and Symantec in depth. Similar lethargy when I get IE running but not as frequent as under FF. Measured my DSL speed - 5MB as promised.
    When the lag occurs, Task Manager does not show FF taking a lot of processor time.
    Have done the things suggested in FAQ to help with performance.
    Also going to bleepingcomputer.com to see if there are suggestions there.
    I'm hoping someone has experienced an analog to this and has a suggestion to diagnose and solve. Thanks - Mike.

    Here's your sign! This is my problem and its solution. Let me know if someone needs help to interpret.
    If you frequently get "connection timed out", go to your ISP and get Manual DNS addresses. Then beat them till they put a real fix on their system.
    Problem is in the DNS server service provided by my DSL provider, Bell South/AT&T. Result of a poor performing DNS is that one can't get thru to the selected site.
    If you do a web search +dsl +"time out" you will see the history with Windstream. THEY finally issues a system-wide fix which, it appears, flattened the issue. Then add +AT&T to see that experience. I did not read it all thru, I'm wasted chasing this problem. I don't give AT&T ANY credit for customer service or heading off problems for their customers on this one.
    AT&T support offers me:
    ==================================== start quote.
    How do I check and update my DNS settings, if my DNS settings are not "server assigned"?
    When you visit a Web site, your browser sends the site's alphabetic domain name to a DNS server. The DNS server translates the domain into a numeric IP address, then responds to your computer with the Internet location of the Web site. Incorrect DNS settings on your computer can disrupt this information flow and cause your Internet browsing to slow down or fail.
    If you have trouble browsing the Internet, check your DNS settings. You likely have your DNS settings as "server-assigned." This allows DNS information to be automatically sent to your computer, which may improve your browsing experience. However, you may need to have your DNS settings manually entered
    Note: If you are using a router to connect to your Internet service, check with your manufacturer's web site for instructions on updating your DNS settings with the following information:
    Primary DNS: 68.94.156.1
    Secondary DNS: 68.94.157.1
    1. Click the Start button and select Control Panel from the menu.
    2. Select Network and Internet Connections.
    3. Double-click the Network Connections icon at the lower right.
    4. Under the LAN or High-Speed Internet section, right-click the Local Area Connection icon and select Properties.
    5. From the "Components checked are used by this connection" list, select Internet Protocol (TCP/IP), then click the Properties button.
    6. Read the current DNS setting on the lower half of the TCP/IP properties screen. If the radio button Obtain DNS server address automatically is selected, you do not need to update your DNS settings. Otherwise, please continue.
    7. Input the new Preferred DNS server of 68.94.156.1 and the Alternate DNS server of 68.94.157.1.
    8. Click OK.
    9. Return to the Network Connections screen. If you have a DSL Connection icon in the Broadband section, proceed to next step otherwise you have completed updating your DNS settings.
    10. Under the Broadband section, right-click the DSL Connection icon and select Properties.
    11. Select the Networking tab.
    12. From the "This connection uses the following items" list, select Internet Protocol (TCP/IP) and click the Properties button.
    13. Read the current DNS setting on the lower half of the TCP/IP properties screen. If the radio button Obtain DNS server address automatically is selected you do not need to up date your DNS settings. Otherwise, please continue.
    14. Input the new Preferred DNS server of 68.94.156.1 and the Alternate DNS server of 68.94.157.1.
    15. Click OK.
    ================================= end quote.
    So it appears I can't put screen shots in here. Well I hope you get the gist.
    In fact this is a bit hosed up.
    It says if you user "automatic dns" you're OK, that's opposite of my experience.
    I changed to the specified DNS addresses and things seem 99.9% fixed.
    I also changed my Router (wireless) settings.
    If there's a survey of my experience here I'll take it.
    Mike Hardy

  • How can i access the internet using a non-wireless...

    Before upgrading my BT broadband to BT Infinity, I was able to connect my two desktop PC's to the BTHUB2 without a problem. One of them is running Windows 7 and has a wireless connection, the other is running Windows XP and does not have a wireless adapter but it was connected by an ethernet cable to the BTHub2 which was portable and could therefore be plugged into any of the telephone sockets that were positioned around the house.
    Unfortunately, since upgrading to the BTHub3 which is not portable, the Windows XP PC is too far away to connect using an ethernet cable and it is impractical to move it closer to the hub.
    I'm happy with the position of the hub and do not wish to move it, so I need to consider other options.
    As both PC's are in the same room, I understand that it is possible to link them with a Lan cable, and this will enable me to add the XP PC to my home network.
    What I would like to know is what cable I need. (ie. what do I ask for) ? Is it an ethernet crossover cable ?
    I'm sure that other BT Infinity users must have experienced a similar problem with older non-wireless equipment that is not in close proximity to the hub. I would be grateful for any advice that may help me to find the best solution to the problem.          

    Thank you for confirming that a LAN and ethernet connection are the same thing. I have tried linking the two PC's with an ethernet cable and I've read so many articles on how to configure them both to enable the XP computer to connect to the internet via the WIN7 computer and it's wireless connection to the BTHub3, but I'm afraid that I'm now more confused than when I started.
    It should be possible to do so, but unless someone can explain the correct procedure in step-by-step fashion, I don't think that I will ever find the solution using this method.
    Using a power line solution sounds like a simpler solution, but even that raises more questions.
    Just to clarify the problem as I understand it -
    The BT Hub is static and positioned in the hallway.
    Both PC's are in the same upstairs room.
    The room has a telephone socket on an extension which works with a telephone. There are also power sockets available.
    I already have a home network set up with the WIN7 wireless PC as the host.
    I have wireless devices connected to the home network that are working perfectly (eg.  HDTV,Xbox360, Laptop), but can I heck figure out how to connect the WIN XP to the home network.
    I have managed to connect it directly to the Hub using an ethernet cable, but it involved carrying it downstairs into the hall and plugging the ethernet cable directly into the hub, and although this worked a treat, I need the PC to be upstairs.
    Using a long ethernet cable is not an option either I'm afraid. Apart from the untidiness, I believe that it would seriously reduce the speed of the BT Infinity connection, which is also the reason that BT do not recommend plugging the hub into a telephone extension socket.
    So far, using the ethernet cable between the two PC's and using the Networking Connection Wizard on the XP PC, I have tried connecting using the local area network with limited success. The STATUS window shows that it is connected with a speed of 100.0 Mbps, but the ACTIVITY only shows that there are packets being sent, none received. Also, clicking on Internet Explorer brings up a window stating that no connection to the internet is avalable.
    However, my initial optimism that this at least indicated that progress had been made quickly disappeared after adding the   XP machine as a device to my Homegroup on the WIN7 PC.  The  local area connection STATUS window on the WIN7 PC shows the media state as 'enabled' and 'speed 100.0 Mbps', but again it only shows that packets are being sent and none received. Furthermore,  IPv4 connectivity is showing 'no internet access' and IPv6 connectivity shows 'no network access'.
    I've tried running Windows Network Diagnostics and the troubleshooter stated that the Local Area Connection does not have a valid IP configuration. Here is the troubleshooting report:
    Issues found:
    "Local Area Connection" doesn't have a valid IP configuration  NOT FIXED
    Reset the "Local Area Adapter"                                             Completed
    Investigate router or broadband modem issues                      Completed
    Details about network adapter diagnosis:
    Network adapter Local Area Connection driver information:
    Description............................ Intel (R) 82562v-2 10/100 Network Connection
    Manufacturer......................... Intel
    Provider................................ Microsoft
    Version................................. 9.13.4.10
    Inf File Name........................ C:\Windows\INF\netele32.inf
    Inf File Date.......................... Monday,  July 13, 2009   8:46:31 PM
    Section Name........................ E104C
    Hardware ID......................... pci\ven_8086&dev_10c0
    Instance Status Flags............. 0x180200a
    Device Manager Status Code.. 0
    IfType.................................. 6
    Physical Media Type.............. 0  
    The Internet Protocol (TCP/IP) Properties on both PC's for the Local Area Connection were input as follows:
    IP address: 192.168.1.68 (with 68 being the next device number available)
    Subnet mask: 255.255.255.0
    Default Gateway: 192.168.1.254
    Preferred DNS server: 192.168.1.254
    Alternate DNS server: . . . .
    I've also tried configuring the above properties by ticking the box 'Automatically detect settings', but it reports no connectivity. I haven't tried the third available configuration option which is 'using a proxy server', because I don't know if it is relevant or not and it is asking me to input an 'address' and 'port' ?
    Any solution ideas would be greatly appreciated.

  • Data Services 4.0 installation with MS SQL 2008

    hey guys,
    I am trying to install data services 4.0 on a windows server with MS SQL database as the repository database. So, my plan was to install MS SQL 2008 first, then IPS, then data services. But i am facing a problem in installation of MS SQL itself. I installed MS SQL with following features - database engine, client tools and management tools. The installation process was smooth and the sql server services (server and agent) both startup just fine. I installed a custom instance for the same.
    But problem is when I open the management studio and try to connect to the database engine, it does not connect, I choose database engine as the server type, local hostname as the server name and windows authentication as the authentican type but it fails with the following error:
    TITLE: Connect to Server
    Cannot connect to <myservername>.
    ADDITIONAL INFORMATION:
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)
    For help, click: http://go.microsoft.com/fwlink?ProdName=MicrosoftSQLServer&EvtSrc=MSSQLServer&EvtID=53&LinkId=20476
    BUTTONS:
    OK
    Any clues as to what is causing this ??? Or is it normal at this stage of installation ??  I am confused. I have already tried to reinstall the server, no good, nothing in the event logs either.
    Thanks,
    RS

    resolved via following:
    In the TCP/IP Properties dialog box, on the IP Addresses tab, several IP addresses appear in the format IP1, IP2, up to IPAll. One of these is for the IP address of the loopback adapter, 127.0.0.1. Additional IP addresses appear for each IP Address on the computer. Right-click each address, and then click Properties to identify the IP address that you want to configure.
    If the TCP Dynamic Ports dialog box contains 0, indicating the Database Engine is listening on dynamic ports, delete the 0.u201D
    Once I deleted those zeros and put in 1433 for TCP ports on each IP address, voila!

Maybe you are looking for