Adding a MS SQL Server DSN *Newby*

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

  1. #1

    Default Re: Adding a MS SQL Server DSN *Newby*

    I am having the same issue and don't know what I am doing wrong. I left the default port, used the Database name and just put in localhost for server. Anyone know what to do?

    Skotopia Guest

  2. Similar Questions and Discussions

    1. Newby help!
      Thanks to anyone that can kill a few mins to respond to this. I am very new and very lost - 4 days only. In my 4 days I have learned mucho!!! I...
    2. A very newby question
      Hi all, I am a new learner of Flex and action script. I just got a very simple question that, for example, if i have 3 HBox: <mx:HBox id="1" .../>...
    3. Newby Question: hither and yon?
      Hi, I'm new to Shockwave 3D and am trying to work out how to set the hither and yon parameters for my 3D world. At the moment the 3D world is not...
    4. Real newby help - please!
      Our programmer is away and I am trying to get a PHP upload script working (it currently hangs and then fails no matter what type of file is...
    5. [PHP] newbY prob
      Where is $dbqueryshipping1 set? I see $bdquerymeal, but not $dbqueryshipping1.
  3. #2

    Default Re: Adding a MS SQL Server DSN *Newby*

    Originally posted by: Skotopia
    I am having the same issue and don't know what I am doing wrong. I left the
    default port, used the Database name and just put in localhost for server.
    Anyone know what to do?


    The following settings worked for me with SQL Server 2000 running on the same
    machine as the CF Server. "Northwind" is obviously the test database installed
    with SQL Server. The only issues I encountered were due to problems with
    firewall software preventing the connection, resulting in errors like
    "connection refused". Once I updated the firewall settings all was well.

    Driver: Microsoft SQL Server
    CF Data Source Name: Northwind
    Database: Northwind
    Server: 127.0.0.1
    UserName: (your sql server user - for example - "sa" )
    Password: (user password)
    Port: 1433

    If that doesn't work, you may want to post any error messages and maybe
    somebody can help you.


    mxstu Guest

  4. #3

    Default Re: Adding a MS SQL Server DSN *Newby*

    Thanks for responding. Okay I used the port and host name you specified., and
    I input the name of my database properly. In SQL I created a user for my
    database and gave it a password, the values of which i then input into this
    data source: so the input fields of the data source looks like:

    The name of the data source
    The database name
    127.0.0.1 port: 1433
    dude
    dude's password

    This still gives me the error:
    Connection verification failed for data source: Anima System
    []java.sql.SQLException: SQLException occurred in JDBCPool while attempting to
    connect, please check your username, password, URL, and other connectivity info.
    The root cause was that: java.sql.SQLException: SQLException occurred in
    JDBCPool while attempting to connect, please check your username, password,
    URL, and other connectivity info.


    If someone can help I'd be very very grateful!



    Skotopia Guest

  5. #4

    Default Re: Adding a MS SQL Server DSN *Newby*

    It's also worth noting that my default data sources work, and my SQL server and CF server are both on my computer.
    Skotopia Guest

  6. #5

    Default Re: Adding a MS SQL Server DSN *Newby*

    FYI

    If using windows xp or I think server 2003 you have to install sql server sp3
    after you install the sp for windows.

    You also may need to exclude the port in the windows firewall if it's on, this
    link will show you how

    [url]http://www.winnetmag.com/SQLServer/Article/ArticleID/43777/SQLServer_43777.html[/url]

    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