Unable to connect MX7 to MS SQL 2005

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

  1. #1

    Default Unable to connect MX7 to MS SQL 2005

    I get the following error when attempting setup a database connection.

    Connection verification failed for data source: q01nw
    java.sql.SQLException: Error establishing socket to host and port:
    127.0.0.1:1433. Reason: Connection refused: connect
    The root cause was that: java.sql.SQLException: Error establishing socket to
    host and port: 127.0.0.1:1433. Reason: Connection refused: connect

    I have updated the DataDirect drivers

    This has me stumped after 2 days.

    BSW2 Guest

  2. Similar Questions and Discussions

    1. Help me: Unable to connect to FMS
      Hello Guys I have an audio recorder . It is working fine on localhost but it is unable to connect to the remote FMS . i have tried...
    2. unable to create a dsn between CF 6.1 + SQL 2005
      I have SQL Server 2005 Developers Edition and CF 6.1 installed on a XP Pro computer, however I'm unable to create DSN using the CF administrator. ...
    3. #39319 [NEW]: Problem to connect to SQLSERVER 2005
      From: luiscervantesjane at hotmail dot com Operating system: WINDOWS 2003 PHP version: 5.1.6 PHP Bug Type: MSSQL related Bug...
    4. Can?t connect ColdFusion Mx 7 to SQL server 2005
      Hi, I can't connect the ColdFusion Mx 7 to SQL server 2005, I have SQL 2005 Trial Version running on Win 2003 server, any suggestion ?
    5. Unable to connect to SQL 2K via VS.NET
      Hi all, As the subject says I'm having trouble connecting to SQL Server 2K via Visual Studio.NET 2002 (VB). It tells me that SQL Server does not...
  3. #2

    Default Re: Unable to connect MX7 to MS SQL 2005

    More details:

    I am working with the Developer version of CF MX7
    I am attempting to use the SQL driver to connect to the Northwind database
    MS SQLEXPRESS is installed and working, this is the developer version of
    SQL2005
    I have setup an ODBC data source to the Northwind database
    Using the ODBC driver in CF works but restricts the T-SQL that can be used
    SQL


    BSW1 Guest

  4. #3

    Default Re: Unable to connect MX7 to MS SQL 2005

    Every time I have a problem connecting to a SQL Server DB via CF Admin, I do
    the following:

    In Windows, Control Panel, Administrative Tools, Data Sources(ODBC), set up a
    User DSN and a System DSN to the SQL Server DB. USE THE SAME NAME FOR BOTH. If
    you are using the local server on the machine, type in (local) as the server
    for the select box 'Which SQL Server do you want to connect to?' Make sure the
    connection tests OK at the end of each setup.

    Go into CF Admin under Data Sources and Add a new datasource but DO NOT pick
    SQL Server, use ODBC. Select the ODBC DSN(the entry you added should be in the
    dropdown list). Click 'Trusted Connection'. Leave username set to system .
    Click Submit and you should be connected.

    If this does not work, you may have to add a user to the Users section of the
    database with sufficient access. You will have to add the user under Control
    Panel/User Groups also.

    Then go back into CF Admin and replace username with the username of the new
    user you added and the password you assigned this user under Control Panel/User
    Groups

    drforbin1970 Guest

  5. #4

    Default Re: Unable to connect MX7 to MS SQL 2005

    If you are able to connect but cannot perform certain functions in SQL, make
    sure the user you are using to connect with has sufficient rights to that
    database. Check under Users for that database and Security for that instance of
    SQL Server, both in Enterprise Manager.

    Also check the settings in CF Admin for your Data Source under Data & Services
    > Datasources > Microsoft SQL Server .


    drforbin1970 Guest

  6. #5

    Default Re: Unable to connect MX7 to MS SQL 2005

    This provides an ODBC connection. I need a SQL driver connection.

    OR

    Does this make SQL driver connections work?
    BSW1 Guest

  7. #6

    Default Re: Unable to connect MX7 to MS SQL 2005

    SQLServer Express refused to work for me with CF's drivers until I stumbled
    across the fact that it installs with bogus default IP/Port settings,
    presumably to emulate the old MSDE (ie. not intended for use as a Server). To
    fix it, use the SQL Express Configuration Manager to drill all the way down to
    the final Protocols/TCPIP screen. Make sure that the IPALL (the public port)
    setting has blanks in the TCP Dynamic Ports and 1433 in the TCP Port.

    JMGibson3 Guest

  8. #7

    Default Re: Unable to connect MX7 to MS SQL 2005

    Now that I have both a ODBC and a JDBC connect performance testing can start with Microsoft SQLEXPRSS.
    BSW2 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