creating DSN in CF MX 7 to SQL Server 2000 SP4 db

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

  1. #1

    Default creating DSN in CF MX 7 to SQL Server 2000 SP4 db

    I have a fresh install of CF and IIS and SQL on Win 2003 Server. When I try to
    set up a Datasource using the CF Admin panel to my database I get:

    java.sql.SQLException
    Could not establish connection using integrated security
    No login modules configured for JDBC_DRIVER

    The database server uses Windows authentication, not mixed authentication (no
    sa logn and password).
    I was able to create a System DSN on the server jsut fine, and Enterprise
    Manager on my laptop can see the database on the server just fine too. CF is
    running on the server just fine too. I just can't get a DSN setup in the CF
    Admin console.

    HELP?

    For speed: 206.682.8574 or [email]dkramer@riverswest.com[/email]

    Richard Dryfist Guest

  2. Similar Questions and Discussions

    1. Issue after migrating windows 2000 server to new server
      i recieve the following errors after my migration. i add the registry keys per knowledge base and now i recieve these errors in the event viewer...
    2. Access 2000 or SQL Server 2000
      Hi I am planning to design a database (destined for the web) that will have between 20000 and 45000 records in it and will receive a lot of reads...
    3. Error in COM+ while migrating from 2000 Server to 2000 Advace Server
      Hi, I have one 3 tier architecture application running on Windows 2000 Server. I have created replica of same machine on another machine where OS...
    4. Error while porting applicaition from 2000 Server to 2000 advace Server
      Hi, I have one 3 tier architecture application running on Windows 2000 Server. I have created replica of same machine on another machine where OS...
    5. SQL Server 2000, Exchange, COM-Add in for Outlook XP; Dynamically link ACCESS xp & SQL SERVER???
      Can SQL Server 2000 manage the contacts in Exchange? Is there any connectivity between SQL Server and Outlook XP? Furthermore, can SQL Server...
  3. #2

    Default Re: creating DSN in CF MX 7 to SQL Server 2000 SP4 db

    Richard,

    First of all, I will assume that you are refering to "Cold Fusion MX (atleast
    version 6.1)". To use windows authentication, do the following:

    * Update your DataDirect drivers. Follow this technote:
    [url]http://www.macromedia.com/go/42dcb10a[/url]

    then follow these:

    ----------------------------------------------------------------------
    SQL Server NT authentication users (Windows Authentication)

    These JDBC drivers support SQL Server NT authentication, designated as "type
    2". Macromedia expects this feature will replace the less robust
    ODBC/Sequelink/ODBC Socket Server solution for many users requiring SQL Server
    NT Authentication on Windows platforms

    Use of the JDBC NT authentication feature requires a shareable library,
    DDJDBCAuth.dll. Place this DLL in the same directory as macromedia_drivers.jar.
    A server restart is required.

    To use NT authentication, leave both the username and the password blank, in
    both the data source and in cfquery.

    When ColdFusion or JRun is started from the command prompt, the login
    credentials for the command prompt user are used. If ColdFusion or JRun is
    started as a Windows service, the credentials of the Windows service will be
    used for authentication. It is not possible to specify a Windows account at the
    time of the query.

    To enable NT Authentication, add the following to the JDBC URL:

    AuthenticationMethod=Type2

    For ColdFusion MX 7, AuthenticationMethod=Type2 can be added to the URL in the
    Advanced Settings > Connection String box.

    For ColdFusion MX 6.1, create an "Other" data source with the following
    parameters (example):

    URL: (enter as one line)
    jdbc:macromedia:sqlserver://:1433;databaseName=pubs;
    SelectMethod=direct;sendStringParametersAsUnicode= false;
    MaxPooledStatements=0;AuthenticationMethod=Type2;

    Driver Class:
    macromedia.jdbc.MacromediaDriver

    For queries that do not require NT Authentication, supply a username for the
    query. If a username is specified, SQLServer username/password authentication
    is used. SQL Server should be configured for mixed authentication in this case.
    ----------------------------------------------------------------------

    Hope this helps.


    speedpedal 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