Data Source Connection Verification Fails

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

  1. #1

    Default Data Source Connection Verification Fails

    I have been trying for hours to get Cold Fusion admnistrator to accept my data
    souce. I am using SQL Server 2000 on my development computer. Databse is called
    cpr4dem. I have set up the following: CF Data Source name: cpr4dem Database:
    cpr4dem Server: 127.0.0.1 Port: 1433 Username/Password: for this and the
    PW I have tried the ID/PW for the database used on my remote server, the ID/PW
    for my laptop that I'm working on, and no ID/PW - all give me the following
    same error: Connection verification failed for data source: cpr4dem
    []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

    jeenic Guest

  2. Similar Questions and Discussions

    1. connection verification failed for data source
      Hello, Just installed CFMX on my server with the J2EE configuration with Jrun4, and using multiple instances. When trying to verify a data...
    2. Connection verification failed for data source:mysqlTest
      :confused; Hi, I'm trying to set up a datasource connecting up to a mySQL db from within the CF administrator (cfmx version 6) and I get the...
    3. Connection to data source error
      Hi, For the past week I am continually getting disconnected from my data source in cold fusion, and have to reconnect. But when I go to do that,...
    4. Data Source Connection Problems -- CF6 and CF7
      We have doing development locally running CF6 on a local XP SP2 machine with the latest version of the MS MSDE server. When we installed CF6 last...
    5. ASP Data Source Connection Help
      I am trying to create a connection in my ASP page to a SQL Server database. This is my code for the connection string: <%Option Explicit%> <%...
  3. #2

    Default Re: Data Source Connection Verification Fails

    This is courtesy of Bill_Sahlas, frequent poster. I had the same
    problem and this solved it.
    (Although I was not trying to use ODBC Socket who cares I just wanted
    to get connected on my DEV box)

    "Try going back to the begining. Create the System DSN from within the
    ODBC control panel through windows and call it MyTest and verify that
    this works using the Test Connection Button.

    Then in CFAdmin create a new datasource using "ODBC Socket" type
    driver. Call it MyTestConnection and then pick "MyTest" from the ODBC
    DSN dropdown list. Fill out the rest {Trusted Connection checked if
    TRUE and not checked if FALSE; Username, Password} hope this helps."

    javabuzz Guest

  4. #3

    Default Re: Data Source Connection Verification Fails

    I am getting the same issue on my machine. I have verified using the Windows
    data link properties to test the datasource properties that everything is
    correct, but I am unable to get MX7 to connect with SQL (same error message
    stated above).

    brinaldi Guest

  5. #4

    Default Re: Data Source Connection Verification Fails

    Coincidentally, Doug Hughes posted the fix to this issue on his
    [url]http://www.microsoft.com/downloads/details.aspx?familyid=9552d43b-04eb-4af9-9e24[/url]
    -6cde4d933600&amp;displaylang=en#filelist and download the SQL update tool.
    Once installed, the problem went away.:D

    brinaldi Guest

  6. #5

    Default Re: Data Source Connection Verification Fails

    Your best bet is to try this procedure against the NORTHWINDS database that
    comes with the MS SQL 2000 installation. Here's how I did it with the MS SQL
    2000 Developer Edition software:

    Here is some instructions:
    1) In ColdFusion Administrator, use NORTHWIND as the data source.
    2) Use NORTHWIND as the database.
    3) Use 127.0.0.1 as the Server
    4) Use 1433 as the port number

    Okay, now here's the TRICKY part. Supplying the USERNAME and PASSWORD.
    5) In SQL Server Enterprise manager, expand the server group.
    6) Then expand the Server
    7) Under the Security folder, right click on Logins.
    8) Select New Login
    9) Click on SQL Server Authentication button and specify NAME (make up
    anything you want and specify PASSWORD. This name and password will become your
    USERNAME and PASSWORD in Coldfusion Administrator when you try to set up your
    Data Source.
    10) While in the SQL Server Login Properties box, also specify the database,
    this will be NORTHWIND and specify language ENGLISH.
    11) Make sure your server is using mixed authentication. While in Enterprise
    Manager, right click on the server, select Properties, then Security and
    select Security tab. Make sure SQL and Windows radio button is clicked.
    12) Okay, with the above information, you should be able to get an OKAY button
    when you register the Datasource Name.

    if you have questions,
    my email is [email]Abdullah_Akbarsaitn@hotmail.com[/email]

    CCubes Solutions 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