Connecting to the sample database (ASP) 281
Before attempting to connect to the sample database, perform the
following tasks on the remote computer running your web server: copy the
sample database to the computer’s hard disk and create a DSN on the
computer that points to the database.
To set up the sample database on the remote computer:
1.
Copy the database to the remote computer’s hard disk. If you installed
Dreamweaver to its default location, the path on your local hard disk to
the database file (tutorial.mdb) is as follows:
■
C:\Program
Files\Macromedia\Dreamweaver 8\Tutorial_assets\cafe_townsend\
data\tutorial.mdb (Windows)
■
/Applications/Macromedia Dreamweaver 8/Tutorial_assets/
cafe_townsend/data/tutorial.mdb (Macintosh)
You can place the file in any folder on the remote computer, or you can
create a new folder for it.
2.
Make sure the Microsoft Access Driver, version 4.0 or later, is installed
on the remote computer.
To find out whether the driver is already installed, see
“Viewing the
ODBC drivers installed on a Windows system”
in
Using Dreamweaver
.
If the driver is not installed, download and install the Microsoft Data
Access Components (MDAC) 2.5 and 2.7 packages on the remote
computer. You can download MDAC for free from the Microsoft
website at
http://msdn.microsoft.com/data/mdac/downloads/
. These
packages contain the latest Microsoft drivers, including the Microsoft
Access Driver.
NO
TE
There are potential security issues if you place the database file inside the
Inetpub folder on the remote computer. It’s better to place the file in a
folder that’s not publicly accessible.
NOT
E
Install MDAC 2.5 before installing MDAC 2.7.
Summary of Contents for DREAMWEAVER 8-GETTING STARTED WITH...
Page 1: ...Getting Started with Dreamweaver...
Page 8: ...8 Contents...
Page 10: ......
Page 46: ...46 Dreamweaver Basics...
Page 48: ......
Page 128: ...128 Tutorial Formatting Your Page with CSS...
Page 136: ...136 Tutorial Publishing Your Site...
Page 138: ......
Page 189: ...Add a Repeat Region XSLT object 189 3 Select Insert XSLT Objects Repeat Region...
Page 196: ...196 Tutorial Displaying XML Data...
Page 216: ......
Page 230: ...230 Understanding Web Applications...
Page 236: ...236 Installing a Web Server...
Page 254: ...254 Setup for Sample ColdFusion Site...
Page 268: ...268 Setup for Sample ASP NET Site...
Page 284: ...284 Setup for Sample ASP Site...
Page 300: ...300 Setup for Sample JSP Site...
Page 320: ...320 Setup for Sample PHP Site...