Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Help with MSSQL

    I am in the process of setting up my own webserver at my storefront but am
    having some troubles connecting from outside. I have a machine with server
    2003 standard R2 installed and CF7 and SQL server 2000. I connect to the
    server using the console remote desktop, which works fine. And sql server seems
    to be running fine. I used windows authentication on my installation, but have
    also tried a named instance with mixed.

    I just want to connect to the sql server using query analyzer from my
    workstation(win xp pro).
    Its on the network perfect and I can access its c$ folder no problem, so I
    dont htink its a connection issue. Its probably something incredibly stupid
    that im doing, but ive spent several hours troubleshooting, so i may as well
    ask you guys.....


    The name of the webserver is "WEBSERVER-DOMES" and there is a default
    instance, and an instance named "TRADE". The default instance is the only one
    im really concerned about connecting to. In the connect dialog box I have tried
    the following combinations to connect:
    \\WEBSERVER-DOMES
    \\WEBSERVER-DOMES\
    WEBSERVER-DOMES
    \\WEBSERVER-DOMES/DEFAULT(\)with and without end slash
    \\WEBSERVER-DOMES/TRADE(\)
    \\IP-address\default
    \\IP-ADDRESS

    All of these combinations come with the exact same error as follows:

    Unable to connect to server -whatever i typed-:

    Server: Msg 17, level 16, State 1
    [Microsoft][ODBC Sql Server Driver][DBNETLIB] Sql Server does not exist or
    access denied

    What am I doing wrong?

    Thanks




    liquid One Guest

  2. Similar Questions and Discussions

    1. Help with MSSQL/PHP
      Hi wondering if anyone can help. What i'm trying to do is get a company from a MSSQL database with the COMPANYNO which is a 'uniqueidentifier'....
    2. PHP/msSQL
      On Wed, 25 Jun 2003 17:04:18 -0400, Adam wrote: Yes there is. let me tell you: www.google.com ... and i'd say you search for php+mysql howto ...
    3. php x MsSql
      Hello to all. I'm creating a site using php with database MsSql, when i test in my server using Win XP x php 4.3.2 it's all ok, but when i send...
    4. [PHP] php x MsSql
      * Thus wrote João Cândido de Souza Neto (joao@mrmidia.com.br): My bet: diff winXP/php.ini linux/php.ini < magic_quote_sybase = 1 Curt -- ...
    5. mssql.dll
      Where is mssql.dll (not include in packages 4.1.2 / 4.2.3 / 4.3.2 ? Thanks
  3. #2

    Default Re: Help with MSSQL

    Have you tried the Browse (three periods) Button. It takes awhile but it
    should traverse your network and present in the drop-down a list of every
    "listening" SQL Server on the Network. If you don't see it then it's not
    "listening". If you do see it, then clicking on it will at least ensure you're
    going to the correct instance. If you see any others they should work if you
    have a Logon. You could use them to test/ensure QA itself is working. If you
    don't have any others and don't see it, then something is wrong with the
    "listening" process, that is typically set to port 1433. Make sure your SQL
    Server instance has been set to 1433 and that you don't have a firewall getting
    in the way of that port on your own machine. Or perhaps a firewall on the
    server/organization side is prohibiting "external" 1433's. Do you have any
    inside-inside machines you could try with?

    JMGibson3 Guest

  4. #3

    Default Re: Help with MSSQL

    First of all thanks for replying.
    When I click on the browse ... button, all I get in there is local host.
    I am using a machine that is local to this network, its sitting within 3 feet
    of it actually.
    I have no firewall at all on my workstation.
    My workstation and 1 of the webserver's gigabit cards are connected to the
    same 24 port switch. The webserver then has a different gigbit card going into
    a firewall for external access via our website.
    I can connect to the webserver by opening a explorer and typing
    \\webserver-domes\c$ into it, and that works perfect, which leads me to believe
    that its not the network.
    In the tcp properties for the server network utility, it says 1433, and the
    hide checkbox is NOT checked.
    Any other ideas?

    liquid One Guest

  5. #4

    Default Re: Help with MSSQL

    Also, there is no firewall(software) on the web server. It only has the external firewall, which my computer does not have to pass through.
    liquid One Guest

  6. #5

    Default Re: Help with MSSQL

    Well I fixed the problem, while im not sure if it was the right way or not....

    I registered the sql database on my workstations enterprise manager.

    Then I was able to connect with query analyzer right away just by typing in
    WEBSERVER-DOMES.

    I was under the immpression that this is not the normal way to do what i am
    doing, so if any of you can confirm that this is not normal, i would appreciate
    it. Also, if you have a more proper solution, send it this way as well.


    liquid One Guest

  7. #6

    Default Re: Help with MSSQL

    The sql server instance has to be "registered" to be able to connect to it.
    (this adds the instance to the browse list)

    This can be done via enterprise manager, then by expanding to the db and using
    the "tools" menu you can directly open analyzer.
    Expand "Microsoft SQL Servers"
    Right Click "SQL Server Group"
    Select "New SQL Server registration"

    Another way is to use the client network utility which should have been
    installed along with em and qa.
    Click "Start"
    Mouse Over "Programs"
    Mouse Over "Microsoft SQL Server"
    Click "Client Network Utility"



    Ken

    The ScareCrow Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139