Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Remote Connection MSSQL

Remote Connection MSSQL

Scheduled Pinned Locked Moved Database
databasesql-serversysadminhelpquestion
13 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    confusedme
    wrote on last edited by
    #1

    Hi.. I have been assigned to make a database in some remote machine.The machine has MSSQL 2005.I need to connect to that remote machine's sql server via my pc using my SQL Management express.I do have that computer's IP address(say,123.456.789.000),and the username and password.But when i try to connect to the server ,I get the following error: Cannot connect to 123.456.789.000\sqlexpress An error has occured while establishing a connection to the server.When connecting to SQL server 2005,this failure may be caused by the fact that unser the default settings SQL server does not allow remote connections,(provider:SQL Network Interfaces,error:26-Error Locating Server/Instance specified)(Microsoft SQL Server) I am a new programmer and dont know much.But i guess the problem is not in my server but in that server to which i am trying to connect.I guess that server has some instance created or it does not allow remote connections.But i am not sure.Is it so?Or is anything wrong in my server.Any ideas? Thanks confused

    A J M 4 Replies Last reply
    0
    • C confusedme

      Hi.. I have been assigned to make a database in some remote machine.The machine has MSSQL 2005.I need to connect to that remote machine's sql server via my pc using my SQL Management express.I do have that computer's IP address(say,123.456.789.000),and the username and password.But when i try to connect to the server ,I get the following error: Cannot connect to 123.456.789.000\sqlexpress An error has occured while establishing a connection to the server.When connecting to SQL server 2005,this failure may be caused by the fact that unser the default settings SQL server does not allow remote connections,(provider:SQL Network Interfaces,error:26-Error Locating Server/Instance specified)(Microsoft SQL Server) I am a new programmer and dont know much.But i guess the problem is not in my server but in that server to which i am trying to connect.I guess that server has some instance created or it does not allow remote connections.But i am not sure.Is it so?Or is anything wrong in my server.Any ideas? Thanks confused

      A Offline
      A Offline
      Anilkumar K V
      wrote on last edited by
      #2

      I too had same issue like this I installed SQL Server SE, on an XP machine. How other users of same domain can access SQL server using SQL Server Express Edn. I did create new logins for user, windows authentication. But whenever user try to connect it show message like An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error locating Server/Instance Specified). How to get rid of this issue. Do i need to set/change in WInodws user accounts?

      1 Reply Last reply
      0
      • C confusedme

        Hi.. I have been assigned to make a database in some remote machine.The machine has MSSQL 2005.I need to connect to that remote machine's sql server via my pc using my SQL Management express.I do have that computer's IP address(say,123.456.789.000),and the username and password.But when i try to connect to the server ,I get the following error: Cannot connect to 123.456.789.000\sqlexpress An error has occured while establishing a connection to the server.When connecting to SQL server 2005,this failure may be caused by the fact that unser the default settings SQL server does not allow remote connections,(provider:SQL Network Interfaces,error:26-Error Locating Server/Instance specified)(Microsoft SQL Server) I am a new programmer and dont know much.But i guess the problem is not in my server but in that server to which i am trying to connect.I guess that server has some instance created or it does not allow remote connections.But i am not sure.Is it so?Or is anything wrong in my server.Any ideas? Thanks confused

        J Offline
        J Offline
        Joe 2
        wrote on last edited by
        #3

        Does this issue occur with the SqlServer service started on the remote computer?

        A 1 Reply Last reply
        0
        • C confusedme

          Hi.. I have been assigned to make a database in some remote machine.The machine has MSSQL 2005.I need to connect to that remote machine's sql server via my pc using my SQL Management express.I do have that computer's IP address(say,123.456.789.000),and the username and password.But when i try to connect to the server ,I get the following error: Cannot connect to 123.456.789.000\sqlexpress An error has occured while establishing a connection to the server.When connecting to SQL server 2005,this failure may be caused by the fact that unser the default settings SQL server does not allow remote connections,(provider:SQL Network Interfaces,error:26-Error Locating Server/Instance specified)(Microsoft SQL Server) I am a new programmer and dont know much.But i guess the problem is not in my server but in that server to which i am trying to connect.I guess that server has some instance created or it does not allow remote connections.But i am not sure.Is it so?Or is anything wrong in my server.Any ideas? Thanks confused

          M Offline
          M Offline
          Marek Grzenkowicz
          wrote on last edited by
          #4

          Contact the DBA responsible for the server and ask them to use SQL Server Surface Area Configuration tool to check whether SQL Server is configured to allow remote connections.

          A 1 Reply Last reply
          0
          • J Joe 2

            Does this issue occur with the SqlServer service started on the remote computer?

            A Offline
            A Offline
            Anilkumar K V
            wrote on last edited by
            #5

            I could login from the local machine. When when other user try to login it show error. It seems that Windows Authentication issues are there. What all things to do in the SQL Ser. Standard Edition ( XP ) to enable remote login ( like user permission, adding new login , etc etc )

            1 Reply Last reply
            0
            • M Marek Grzenkowicz

              Contact the DBA responsible for the server and ask them to use SQL Server Surface Area Configuration tool to check whether SQL Server is configured to allow remote connections.

              A Offline
              A Offline
              Anilkumar K V
              wrote on last edited by
              #6

              Its enabled

              M 1 Reply Last reply
              0
              • A Anilkumar K V

                Its enabled

                M Offline
                M Offline
                Marek Grzenkowicz
                wrote on last edited by
                #7

                Is SQL Browser service running?

                C 1 Reply Last reply
                0
                • M Marek Grzenkowicz

                  Is SQL Browser service running?

                  C Offline
                  C Offline
                  confusedme
                  wrote on last edited by
                  #8

                  Hi..yes the remote server is up and the sql browser service in my local server is running.Any other configurations i need to check? confused

                  M 1 Reply Last reply
                  0
                  • C confusedme

                    Hi..yes the remote server is up and the sql browser service in my local server is running.Any other configurations i need to check? confused

                    M Offline
                    M Offline
                    Marek Grzenkowicz
                    wrote on last edited by
                    #9

                    Check firewall on the client and server.

                    C 1 Reply Last reply
                    0
                    • C confusedme

                      Hi.. I have been assigned to make a database in some remote machine.The machine has MSSQL 2005.I need to connect to that remote machine's sql server via my pc using my SQL Management express.I do have that computer's IP address(say,123.456.789.000),and the username and password.But when i try to connect to the server ,I get the following error: Cannot connect to 123.456.789.000\sqlexpress An error has occured while establishing a connection to the server.When connecting to SQL server 2005,this failure may be caused by the fact that unser the default settings SQL server does not allow remote connections,(provider:SQL Network Interfaces,error:26-Error Locating Server/Instance specified)(Microsoft SQL Server) I am a new programmer and dont know much.But i guess the problem is not in my server but in that server to which i am trying to connect.I guess that server has some instance created or it does not allow remote connections.But i am not sure.Is it so?Or is anything wrong in my server.Any ideas? Thanks confused

                      J Offline
                      J Offline
                      Joe 2
                      wrote on last edited by
                      #10

                      Will this[^] be of any help?

                      C 1 Reply Last reply
                      0
                      • M Marek Grzenkowicz

                        Check firewall on the client and server.

                        C Offline
                        C Offline
                        confusedme
                        wrote on last edited by
                        #11

                        Hi thanks ... Well...I am afraid I dont know about the firewall state in the computer that i am tring to accesss...I will surely find that out ASAP...abt my station ,yes ,the firewall is on but i have defined SQL server and the SQL browser as exceptions for it .That means firewall must not block these applications. confused

                        M 1 Reply Last reply
                        0
                        • C confusedme

                          Hi thanks ... Well...I am afraid I dont know about the firewall state in the computer that i am tring to accesss...I will surely find that out ASAP...abt my station ,yes ,the firewall is on but i have defined SQL server and the SQL browser as exceptions for it .That means firewall must not block these applications. confused

                          M Offline
                          M Offline
                          Marek Grzenkowicz
                          wrote on last edited by
                          #12

                          Check this[^], too.

                          1 Reply Last reply
                          0
                          • J Joe 2

                            Will this[^] be of any help?

                            C Offline
                            C Offline
                            confusedme
                            wrote on last edited by
                            #13

                            Thanks everyone!! I solved the problem.Well..the mistake was quite simple.I had been giving the hostname as hostname\sqlexpress but it shud have been only hostname. Rest everything was working fine. Cheers! confused -- modified at 5:22 Friday 5th October, 2007 confused

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups