Results 1 to 3 of 3

Thread: Deploying with ODBC Connection [RESOLVED

  1. #1

    Thread Starter
    Lively Member StoneTheCrows's Avatar
    Join Date
    Dec 2004
    Location
    UK
    Posts
    71

    Resolved Deploying with ODBC Connection [RESOLVED

    If are deploying an application that uses ODBC for a Datasource connection, is it possible to setup that ODBC on the target site as part of the deployment? Or does the end user need to configure the connection manually?

    e.g. Your application deploys to say C:\Program Files\My Project and the database called MyData is in a sub directory called DATA. The ODBC Connection name should be MyProjectData. The Target site will obviously NOT have an ODBC connection setup, so one needs to be created for the Application to work.

    (Hope that makes sense!)
    Last edited by StoneTheCrows; Jan 21st, 2005 at 05:21 AM.
    StoneTheCrows

    _______________

    The future will be better tomorrow. (George W. Bush)

    (If you think my post was useful, please Rate it. Thanks)

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Deploying with ODBC Connection

    You dont need to make the user do it, as there are a few ways of dealing with this. Here's a few, shown in my order of preference:

    1) Don't use a DSN (see the ADO connections link below for DSN-less connection strings)

    2) Get your installer software to create the DSN when the program is installed (the MSI installer can do this)

    3) Get your program to set it up when the program starts.

  3. #3

    Thread Starter
    Lively Member StoneTheCrows's Avatar
    Join Date
    Dec 2004
    Location
    UK
    Posts
    71

    Re: Deploying with ODBC Connection

    Great, Thanks a lot.
    StoneTheCrows

    _______________

    The future will be better tomorrow. (George W. Bush)

    (If you think my post was useful, please Rate it. Thanks)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width