3.
Set up a DSN called CafeTownsend pointing to the sample database on
the remote computer.
For instructions, see the following articles on the Microsoft website:
I
If the remote computer runs Windows 2000, see Article 300596 at
http://support.microsoft.com/default.aspx?scid=kb;en us;300596
.
I
If the remote computer runs Windows XP, see Article 305599 at
http://support.microsoft.com/default.aspx?scid=kb;en us;305599
.
After the database, database driver, and DSN are in place, create a database
connection in Dreamweaver.
Creating a database connection
The final step of the setup process is to create a connection to the database.
If your web server is running on your local computer, you can use the data
source name (DSN) that Dreamweaver created during installation to
quickly connect to the sample database. To learn more about DSNs, see
Using a DSN
in Using Dreamweaver.
To create a database connection in Dreamweaver:
1.
Open any ASP page in Dreamweaver, and then open the Databases
panel (Window > Databases).
2.
Click the Plus (+) button on the panel and select Data Source Name
(DSN) from the pop up menu.
The Data Source Name (DSN) dialog box appears.
3.
Enter connTownsend as the connection name.
4.
(Windows only) Do one of the following:
I
If your server is on your local computer, select the Using Local
DSN option.
I
If your server is on a remote system, select the Using DSN on
Testing Server option.
Macintosh users can ignore this step because all database connections
use DSNs on the testing server.
282 Setup for Sample ASP Site
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved