Dreamweaver to Access - Newbie

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Dreamweaver to Access - Newbie

    When attempting to view information dynamically I get the following error:

    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
    [Microsoft][ODBC Driver Manager] Data source name not found and no default
    driver specified
    /autoforms/ViewContent.asp, line 8



    The automatically generated code from DreamWeaver MX 2004 is:

    <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    <!--#include file="Connections/aFORMSconnect.asp" -->
    <%
    Dim Recordset1
    Dim Recordset1_numRows

    Set Recordset1 = Server.CreateObject("ADODB.Recordset")
    Recordset1.ActiveConnection = MM_aFORMSconnect_STRING
    Recordset1.Source = "SELECT * FROM Guests ORDER BY GuestsID ASC"
    Recordset1.CursorType = 0
    Recordset1.CursorLocation = 2
    Recordset1.LockType = 1
    Recordset1.Open()

    Recordset1_numRows = 0
    %>

    1. I can understand why the system doesn't know where the Data source is
    located (The generated code doesn't reveal it.) Good for security but bad
    for me since I don't know where or what should be stated regarding it's
    local.
    Setting things up by use of the Dreamweaver wizards, I know I pointed to the
    database. Could this be a Dreamweaver bug or is it just me?

    2. Also utilizing a driver for accessing the database: I know ODBC is on
    the IIS 5.0 system but the server doesn't seem to think so.

    Anything obvious to those who have mastered this type of ordeal?
    Dave


    Dave Guest

  2. Similar Questions and Discussions

    1. Connect to Access within dreamweaver
      hi CAN ANYONE GIVE ME A STEP BY STEP APPROACH TO HOW I CAN DISPLY ACCESS PAGES WITHIN DREAMWEAVER PLEASE. i WOULD LIKE TO VIEW FORMS AND DELET/...
    2. GoLive, DreamWeaver or something else for OSXing newbie?
      "Delia Day" <slave@deliaday.com> wrote in message news:slave-697441.12400922032003@news.watervalley.net... Yummy ! Þ~
    3. FTP Access in Dreamweaver gives error...
      I'm trying to use the FTP access in Dreamweaver MX (on OSX) and everytime I enter my server information i get an FTP Access Error. The weird thing...
    4. NEWBIE: How do you use the cfmail application in Dreamweaver?
      Hello, I am trying to learn all of this on my own but I don't seem to be able to find the documentation either in the Dreamweaver help or the Cold...
    5. access database in dreamweaver
      Please can anyone Help? I am trying to link a access database to a website and need it so that when someone hits submit, it will update the...
  3. #2

    Default Re: Dreamweaver to Access - Newbie

    "Dave" <dgrisset@sewanee.edu> wrote in message
    news:#LQcCWPREHA.1644@TK2MSFTNGP09.phx.gbl...
    > When attempting to view information dynamically I get the following error:
    >
    > Error Type:
    > Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
    > [Microsoft][ODBC Driver Manager] Data source name not found and no default
    > driver specified
    > /autoforms/ViewContent.asp, line 8
    >
    >
    >
    > The automatically generated code from DreamWeaver MX 2004 is:
    >
    > <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    > <!--#include file="Connections/aFORMSconnect.asp" -->
    > <%
    > Dim Recordset1
    > Dim Recordset1_numRows
    >
    > Set Recordset1 = Server.CreateObject("ADODB.Recordset")
    > Recordset1.ActiveConnection = MM_aFORMSconnect_STRING
    > Recordset1.Source = "SELECT * FROM Guests ORDER BY GuestsID ASC"
    > Recordset1.CursorType = 0
    > Recordset1.CursorLocation = 2
    > Recordset1.LockType = 1
    > Recordset1.Open()
    >
    > Recordset1_numRows = 0
    > %>
    >
    > 1. I can understand why the system doesn't know where the Data source is
    > located (The generated code doesn't reveal it.) Good for security but bad
    > for me since I don't know where or what should be stated regarding it's
    > local.
    > Setting things up by use of the Dreamweaver wizards, I know I pointed to
    the
    > database. Could this be a Dreamweaver bug or is it just me?
    >
    > 2. Also utilizing a driver for accessing the database: I know ODBC is on
    > the IIS 5.0 system but the server doesn't seem to think so.
    >
    > Anything obvious to those who have mastered this type of ordeal?
    > Dave

    What is the value of "MM_aFORMSconnect_STRING" in
    "Connections/aFORMSconnect.asp"?


    McKirahan Guest

  4. #3

    Default Re: Dreamweaver to Access - Newbie

    MM_aFORMSconnect_STRING = "dsn=db1;uid=******;pwd=******;"

    UID and PWD have values; they aren't ******.

    I did try removing UID and PWD but the same error occurs.




    "McKirahan" <News@McKirahan.com> wrote in message
    news:7rZtc.8413$IB.7039@attbi_s04...
    > "Dave" <dgrisset@sewanee.edu> wrote in message
    > news:#LQcCWPREHA.1644@TK2MSFTNGP09.phx.gbl...
    > > When attempting to view information dynamically I get the following
    error:
    > >
    > > Error Type:
    > > Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
    > > [Microsoft][ODBC Driver Manager] Data source name not found and no
    default
    > > driver specified
    > > /autoforms/ViewContent.asp, line 8
    > >
    > >
    > >
    > > The automatically generated code from DreamWeaver MX 2004 is:
    > >
    > > <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    > > <!--#include file="Connections/aFORMSconnect.asp" -->
    > > <%
    > > Dim Recordset1
    > > Dim Recordset1_numRows
    > >
    > > Set Recordset1 = Server.CreateObject("ADODB.Recordset")
    > > Recordset1.ActiveConnection = MM_aFORMSconnect_STRING
    > > Recordset1.Source = "SELECT * FROM Guests ORDER BY GuestsID ASC"
    > > Recordset1.CursorType = 0
    > > Recordset1.CursorLocation = 2
    > > Recordset1.LockType = 1
    > > Recordset1.Open()
    > >
    > > Recordset1_numRows = 0
    > > %>
    > >
    > > 1. I can understand why the system doesn't know where the Data source
    is
    > > located (The generated code doesn't reveal it.) Good for security but
    bad
    > > for me since I don't know where or what should be stated regarding it's
    > > local.
    > > Setting things up by use of the Dreamweaver wizards, I know I pointed to
    > the
    > > database. Could this be a Dreamweaver bug or is it just me?
    > >
    > > 2. Also utilizing a driver for accessing the database: I know ODBC is
    on
    > > the IIS 5.0 system but the server doesn't seem to think so.
    > >
    > > Anything obvious to those who have mastered this type of ordeal?
    > > Dave
    >
    >
    > What is the value of "MM_aFORMSconnect_STRING" in
    > "Connections/aFORMSconnect.asp"?
    >
    >

    Dave Guest

  5. #4

    Default Re: Dreamweaver to Access - Newbie

    Double checked database location. It is there and named correctly.


    "Dave" <dgrisset@sewanee.edu> wrote in message
    news:uQQ4pVASEHA.3344@TK2MSFTNGP12.phx.gbl...
    > MM_aFORMSconnect_STRING = "dsn=db1;uid=******;pwd=******;"
    >
    > UID and PWD have values; they aren't ******.
    >
    > I did try removing UID and PWD but the same error occurs.
    >
    >
    >
    >
    > "McKirahan" <News@McKirahan.com> wrote in message
    > news:7rZtc.8413$IB.7039@attbi_s04...
    > > "Dave" <dgrisset@sewanee.edu> wrote in message
    > > news:#LQcCWPREHA.1644@TK2MSFTNGP09.phx.gbl...
    > > > When attempting to view information dynamically I get the following
    > error:
    > > >
    > > > Error Type:
    > > > Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
    > > > [Microsoft][ODBC Driver Manager] Data source name not found and no
    > default
    > > > driver specified
    > > > /autoforms/ViewContent.asp, line 8
    > > >
    > > >
    > > >
    > > > The automatically generated code from DreamWeaver MX 2004 is:
    > > >
    > > > <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    > > > <!--#include file="Connections/aFORMSconnect.asp" -->
    > > > <%
    > > > Dim Recordset1
    > > > Dim Recordset1_numRows
    > > >
    > > > Set Recordset1 = Server.CreateObject("ADODB.Recordset")
    > > > Recordset1.ActiveConnection = MM_aFORMSconnect_STRING
    > > > Recordset1.Source = "SELECT * FROM Guests ORDER BY GuestsID ASC"
    > > > Recordset1.CursorType = 0
    > > > Recordset1.CursorLocation = 2
    > > > Recordset1.LockType = 1
    > > > Recordset1.Open()
    > > >
    > > > Recordset1_numRows = 0
    > > > %>
    > > >
    > > > 1. I can understand why the system doesn't know where the Data source
    > is
    > > > located (The generated code doesn't reveal it.) Good for security but
    > bad
    > > > for me since I don't know where or what should be stated regarding
    it's
    > > > local.
    > > > Setting things up by use of the Dreamweaver wizards, I know I pointed
    to
    > > the
    > > > database. Could this be a Dreamweaver bug or is it just me?
    > > >
    > > > 2. Also utilizing a driver for accessing the database: I know ODBC is
    > on
    > > > the IIS 5.0 system but the server doesn't seem to think so.
    > > >
    > > > Anything obvious to those who have mastered this type of ordeal?
    > > > Dave
    > >
    > >
    > > What is the value of "MM_aFORMSconnect_STRING" in
    > > "Connections/aFORMSconnect.asp"?
    > >
    > >
    >
    >

    Dave 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