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

  1. #1

    Default mssql connect

    i have used dts to import tables from a mssql db to test version on my
    computer. everything went well, but when i try to create data source in cf7
    admin, i get

    Connection verification failed for data source: coolpooldb
    java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Error establishing
    socket. Connection refused: connect
    The root cause was that: java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error establishing socket. Connection refused: connect

    what do i do???
    thanks ahead of time.
    dave


    David Guest

  2. Similar Questions and Discussions

    1. How to use “RDS.Connect” to connect to a MS Access database?
      The example I am working from uses the following code which does not work: RDS.Connect = "Provider='sqloledb';Integrated Security='SSPI';Initial ...
    2. note 33988 added to function.mssql-connect
      Using MSSQL 2000 and Windows Server 2003 Enterprise running on a separate machine from the web server, I was unable to get PHP to connect to MSSQL...
    3. note 33795 added to function.mssql-connect
      Fatal error: Call to undefined function: mssql_connect() in /var/www/html/global/sp/classes/database.php on line 15 how i can fix this please!! ...
    4. note 1892 deleted from function.mssql-connect by didou
      Note Submitter: frank@corelogicsoftware.com ---- If you're using the win32 version, then make sure that ntwdblib.dll is installed properly on...
    5. note 33624 added to function.mssql-connect
      Just a little comment that I would like to add: If you intend to access MS SQL server remotely, you need to install SQL Server Client Tools on the...
  3. #2

    Default Re: mssql connect

    hey david, I'm glad at least I'm not the only getting this error as well. I
    take it you have installed SQL Server Express 2005?? I have and I'm getting
    this same error when trying to connect. I've googled for solutions and tried
    many things but no luck so far. Lets hope someone can help us out.

    JJfutbol Guest

  4. #3

    Default Re: mssql connect

    Ensure that any firewall allows access to the relevant sql server port being
    used.
    Ensure that your install of sql server is using the same port as the port used
    in the cf admin panel
    The default sql server port is 1433.

    David, you don't indicate which version of sql server you are using.
    If sql server 2000 and you on an xp machine, you have to install at least sp3
    or higher for sql server.

    JJfutbol
    I seem to recall reading somewhere that you need to download the jdbc driver
    from MS.

    Ken

    The ScareCrow Guest

  5. #4

    Default Re: mssql connect

    Hey ken thanks for the message. I apologize for not replying earlier as I had
    figured out the issue last night. Today at CF United they SQL Server 2005
    session also covered this problem. What you have to do is open up the SQL
    Server Configuration Manager then on the left side in the tree menu open up SQL
    Server Network Configuration and in the right pane you should see TCP/IP
    disabled. Right click on it to enable it. Close that window. Then go to your
    Control Panel, then Administrative Tools, then Services. Look for the SQL
    Server 2005 service (there should be 4 or 5 of them, choose the first one which
    should be the main one) and right click on it and select restart. Open up the
    SQL Server Network Configuration again and go the the TCP/IP section. Right
    click on it and select Properties or just double click on it. Select the IP
    Addresses tab and the section titled IP All should have a TCP Dynamic Port of
    some number other than 0. Copy that number and put it in the Port field when
    setting up a SQL Server DSN in CF Administrator. For me 1433 did not work. It
    ended up being a 4xxx number but now it works like a charm so I'm excited. Hope
    this helps others. Give it a try David and let me know if that helped at all.
    Take care.

    JJfutbol Guest

  6. #5

    Default Re: mssql connect


    Thanks JJfutbol for the solution. It works.

    Cheers,
    Keiko :sun;
    Keiko Guest

  7. #6

    Default Re: mssql connect

    Hey Keith, no problem glad to help out. :) Best of luck!
    JJfutbol 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