| 6.0 |
Defining
the Site.
Before you can test out the original TSDFdemo search pages on
your own PC you will need to define the site in Ultradev.
|
| 6.1 |
Start Ultradev, and click
the down arrow next to the Site drop down list in the toolbar
of the Site files window.
|
| 6.2 |
At the bottom of the list
click on Define Sites
,
|
| 6.3 |
Click on New in the Define
Sites options palette
|
| 6.4 |
This will open
the Site Definition options, note the window on the left. First
set up the Local Info, name the site TDSFdemo.

|
| 6.6 |
Click on Application Server
in the category window on the left. Select ASP
2.0 (Dreamweaver MX users: select ASP VBScript) from
the Server Model drop down list. The following options should
automatically be selected as illustrated. However check the
URL Prefix box is correct for your computer, and add TDSFdemoSite
after the /. |
| 6.7 |
In the Site Files window
double click on the originalsearch.asp
file to open it in the page design window.
|
| 6.8 |
In the top toolbar of the
Page Design Window click on Modify and select Connections from
the bottom of the drop down list. 
This will open the connections palette. |
| 6.9 |
Click New.
|
| 6.10 |
Then Select Custom Connection
String from the pop out list.
|
| 6.11 |
In the Connection Name type
TDSFdemoOLE
|
| 6.12 |
Now start Windows Explorer
and navigate to the Connections folder within the TDSFdemoSite
folder. You should be able to see the TDSFdemoOLE.udl
file we created earlier. Right click on the file and from the
options menu select Open With - Notepad. |
| 6.13 |
Highlight the text from
the word Provider to the
end, right click and select copy. The text may not appear exaclty
as shown here.
|
| 6.14 |
Return to Ultradev and paste
the text into the Connection String box, use the keyboard shortcut
(Ctrl+V).

Click on the Test button, if everything is OK you should see
the reassuring sight of: 
Once the site is defined and PWS is started you should be able
to view the original example site by selecting originalsearch.asp
in the Ultradev site window and pressing F12 to preview the
page in your default browser. |