Cannot create SQL DSN

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

  1. #1

    Default Cannot create SQL DSN

    I have a Win2K box with CF 5.0 and am trying to create a DSN to a new box
    running SQL 2000 on Win2003 - and it won't. I can make an ODBC connection OK,
    however. Checking elsewhere I saw mention of using an "ODBC Socket" data type -
    but don't have that in my drop-down. I also tried using dynamic assignment
    using this:

    <CFQUERY
    name="GetInfo"
    dbtype="DYNAMIC"
    ConnectString="Driver={MERANT 3.70 ColdFusion OEM 32-BIT SQLBase};
    SRVR=xyz;
    UID=ABC;
    PWD=DEF">
    select Vend_name FROM Vendors
    </CFQUERY>

    and get this: ODBC Error Code = IM003 (Specified driver could not be loaded)

    Someone else suggested that on the target box I needed a local machine user
    with the same name as a SQL user, but this hasn't helped either.

    Any thoughts MOST appreciated - I have to get this thing up by Thursday.

    Ting

    TingB Guest

  2. Similar Questions and Discussions

    1. PDF::Create (or alike) to create watermark for existing pdf file?
      Dear perl-ists: I tried out PDF::Create 0.01 (from cpan), and it is great. kudos, fabian. creates wonderful, clean, small valid pdf output. my...
    2. Not able to create a PDF
      I HAVE THE SAME problems as Liz and I have tried all the things suggested above. However, instead of getting to 80% of completing a pdf file Adobe...
    3. help me to create this!
      Can anyone help me in writing a code for moving a ball smoothly in random motion....mail me @ atjn@sify.com regards Thiagu
    4. HOW DO I CREATE A PDF IN FH
      To make a PDF file you go to the FILE menu and scroll down to EXPORT... release on export where a window pops up and gives you several options, PDF,...
    5. sco 505 - create windoze exe file that will create a unix disk
      Hi, I wonder if this is possible, I want to put some files on a floppy disk from my SCO unix box, then I want that disk to be converted to a file...
  3. #2

    Default Re: Cannot create SQL DSN

    Are you trying to connect with the SQL driver as a trusted connection, when
    trying to create the DSN using the SQL Server driver? You would need a NT
    user on the new sql server with the same name and password, that the CF
    services is running under in windows services. Then add that NT users as a
    login on the sql server with access to whatever db's needed.

    byron1021 Guest

  4. #3

    Default Re: Cannot create SQL DSN

    Yup. CF has to run as a user with not only a login on the remote machine but a SQL user who has permission on the db in question. Whew!

    Thanks all!
    TingB 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