This topic tells you how to define a
Data Source Name (DSN) for use in your Dreamweaver
ASP application. For more advanced options, consult
your Dreamweaver documentation.
To create a DSN within Dreamweaver
UltraDev 4
1.
From the Modify
menu, click Connections
.
2.
Create a new DSN by clicking New
, then Data
Source Name (DSN) , then
Done .
3.
In the Site Definition dialog, create a Site
Definition for the Web application you are creating
as shown and described below.
Note: If you are not prompted
to create a Site Definition at this point you can
define a site by selecting Define Sites from
Dreamweaver's Sites menu.
- In the Server
Model box, select
ASP 2.0
(ASP 2.0 is the default model).
- In the Scripting
Language box, make sure
VBScript
is selected (VBScript is the default language).
- In the Access
box, select FTP
.
- In the Host
Directory box, type the
absolute path to your webroot directory (for example,
/var/www/html
or /home/site20/web/htdocs
).
- In the URL
Prefix box, type the
Web address that you would type into your browser
to view these pages.
4.
In the Data Source Name (DSN)
dialog, type the DSN in the
Data Source Name (DSN)
box (you created the DSN in the Sun ONE Active Server Pages
Administration Console).
Note: Clicking the DSN
button will not bring up a list of DSNs. You must
manually type the DSN. Make sure Using DSN On The
Application Server is selected.
Congratulations! You have completed
this How To... topic. Click here to select another topic.