connection to database

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default connection to database

    Hi im using dreamweaver for the first time and im having problems displaying
    recordsets between the database and dreamweaver. I have defined the site, i
    have created a database and i have done all the stuff with dsn. I have
    successfully connected the database to my webpage but im having problems with
    my recordset, when i try to click live data view the data from the database
    does not appear, what appears is a window saying "live data error" . Withinn in
    this window information comes up with the error saying-

    - error type;
    microsoft OLE DB provider for ODBC drivers (0x80004005)
    [microsoft][ODBC microsoft access driver] could not use
    "(unknown)"; file already in use
    /i-lettings/homepage_skcgdi2h2.asp, line 5

    I am using asp.Javascript and IIS and im not sure what to do next as ive read
    all the books and followed the instructions. Im not sure if there is a problem
    with my dreamweaver as before i tried to use PHP and MYSQL but could not
    connect to a database as it kept saying unidentified error. Could someone
    please help im going mad.

    mj@leicester Guest

  2. Similar Questions and Discussions

    1. connection database
      Hello every one, please some body to help me. How to store the data text in Access databases using flash form and to search into the database. It is...
    2. database connection
      What is being returned? An error raised by the DLL? If Err.Number <> 0 Then MsgBox "An error occurred in the DLL" ? If con Is Nothing Then...
    3. mx7 connection to sql database
      I cannot connect mx7 to sql server 2000 database...........the error I am getting is. Connection verification failed for data source: apl...
    4. Create Database Connection
      I'm trying, for the first time, to set up a MySQL database connection using Dreamweaver's Databases tab. Please note I can succesffully connect to...
    5. Database Connection ASP.NET Issue
      Using DW MX 2004 on windows XP SP2, IIS, using ASP.NET, VB for code, Access 2000 DB, I create a OLE DB database connection using the connection...
  3. #2

    Default connection to database

    Hi im using dreamweaver for the first time and im having problems displaying
    recordsets between the database and dreamweaver. I have defined the site, i
    have created a database and i have done all the stuff with dsn. I have
    successfully connected the database to my webpage but im having problems with
    my recordset, when i try to click live data view the data from the database
    does not appear, what appears is a window saying "live data error" . Withinn in
    this window information comes up with the error saying-

    - error type;
    microsoft OLE DB provider for ODBC drivers (0x80004005)
    [microsoft][ODBC microsoft access driver] could not use
    "(unknown)"; file already in use
    /i-lettings/homepage_skcgdi2h2.asp, line 5

    I am using asp.Javascript and IIS and im not sure what to do next as ive read
    all the books and followed the instructions. Im not sure if there is a problem
    with my dreamweaver as before i tried to use PHP and MYSQL but could not
    connect to a database as it kept saying unidentified error. Could someone
    please help im going mad.

    mj@leicester Guest

  4. #3

    Default connection to database

    Hi im using dreamweaver for the first time and im having problems displaying
    recordsets between the database and dreamweaver. I have defined the site, i
    have created a database and i have done all the stuff with dsn. I have
    successfully connected the database to my webpage but im having problems with
    my recordset, when i try to click live data view the data from the database
    does not appear, what appears is a window saying "live data error" . Withinn in
    this window information comes up with the error saying-

    - error type;
    microsoft OLE DB provider for ODBC drivers (0x80004005)
    [microsoft][ODBC microsoft access driver] could not use
    "(unknown)"; file already in use
    /i-lettings/homepage_skcgdi2h2.asp, line 5

    I am using asp.Javascript and IIS and im not sure what to do next as ive read
    all the books and followed the instructions. Im not sure if there is a problem
    with my dreamweaver as before i tried to use PHP and MYSQL but could not
    connect to a database as it kept saying unidentified error. Could someone
    please help im going mad. :confused;

    mj@leicester Guest

  5. #4

    Default Re: connection to database

    Try this. Put this in your /database/ folder and give it a Connection name.

    <%
    ' FileName="Connection_ado_conn_string.htm"
    ' Type="ADO"
    ' DesigntimeType="ADO"
    ' HTTP="false"
    ' Catalog=""
    ' Schema=""
    Dim DP_connDBName
    Dim DP_connDBBasePath, DP_connDBPath
    Dim MM_realestate_String

    'add your database name
    DP_connDBName = "my_db.mdb"

    'live string
    'make this your absolute server path
    DP_connDBBasePath = "D:\Inetpub\www\RealEstatePro\database\"

    'local string (used for testing locally, if different then server path)
    'DP_connDBBasePath = "D:\InetPub\www\RealEstatePro\database\"

    DP_connDBPath = DP_connDBBasePath & DP_connDBName
    MM_realestate_String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
    DP_connDBPath & ";"

    %>


    --
    Bill
    [url]www.DataPacks.com[/url]
    Home Of Real Estate Pro



    "mj@leicester" <webforumsuser@macromedia.com> wrote in message
    news:d1c3vl$ijd$1@forums.macromedia.com...
    > Hi im using dreamweaver for the first time and im having problems
    > displaying
    > recordsets between the database and dreamweaver. I have defined the site,
    > i
    > have created a database and i have done all the stuff with dsn. I have
    > successfully connected the database to my webpage but im having problems
    > with
    > my recordset, when i try to click live data view the data from the
    > database
    > does not appear, what appears is a window saying "live data error" .
    > Withinn in
    > this window information comes up with the error saying-
    >
    > - error type;
    > microsoft OLE DB provider for ODBC drivers (0x80004005)
    > [microsoft][ODBC microsoft access driver] could not use
    > "(unknown)"; file already in use
    > /i-lettings/homepage_skcgdi2h2.asp, line 5
    >
    > I am using asp.Javascript and IIS and im not sure what to do next as ive
    > read
    > all the books and followed the instructions. Im not sure if there is a
    > problem
    > with my dreamweaver as before i tried to use PHP and MYSQL but could not
    > connect to a database as it kept saying unidentified error. Could someone
    > please help im going mad. :confused;
    >

    BillB 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