Assalamualaikum wbt
In week 4, Prof. Zaidatun teach us on How to use Active
Server Pages (ASP) in Dreamweaver. And in this week we’re giving task to create
a Guest Book. Sound interesting right?
But before proceed to the new chapter, Prof. Zaidatun review
our last week topic about Web Based Development. She also checked and make sure
that we already know the basic skills on Web Based Development.
We also have
been explained about 3 types of link.
Link to other website, email link and anchor. Anchor can be used to link text in the same page or we can say it has the same function like book mark.
Link to other website, email link and anchor. Anchor can be used to link text in the same page or we can say it has the same function like book mark.
Back to our new task, to create a Guest Book we must have a
database. So other than learn on how to use ASP, we also have been introduced
by using Microsoft Access.
As we’ve learn in our previous class, ASP can run with
Internet Information System (IIS) server. So the first step is to check whether
the IIS can work or not.
How to check your IIS?
Click Control Panel > Programs > Programs
& Features > Turn Windows Features On or Off
Then click checkbox Internet Information System
(IIS)
Click any browser, type localhost at the URL
space and wait until the image of appear.
That’s means your IIS is work! The
image of IIS is at below:-
Now we go to the step of creating a new site...
Open the Dreamweaver > Click Site > New Site > name
our site (In this task, I named it as “project”)
Then put URL (http://localhost/project/)
Then click Next > Yes > ASP VBScript > Edit &
Test Locally (My testing server is on this computer )> Inetpub > wwwroot
*type inetpub \wwwroot\project\
Test URL
Next we can start create a database
Go to Microsoft Access, create new database file at Blank
Database. We have to save the file at
C:/inetpub/wwwroot/data
Setup the connection
To setup the connection we have to be very focus and make
sure we follow the flow accordingly.
In the class, we follow the entire step in the handout given
by Prof. Zaidatun. Unfortunately, most of us stuck at the step of test the
connection. We try to explore the failure for more than 10 times but still same
problem appear.
So I decided to find out the solution. The day after, I went
to meet my friend, Mr. Khairi Hassan, IT Officer at UTM.
I told him my problem
and then we start to explore together. After a few trials, we found out that
for Windows 7, ASP will not installed by default once you click IIS in the
checkbox.
What I have to do is install it manually and follow the step that
also has been discussed in our FB Group.
The steps are as follows :-
Go to start > Control Panel >
Administrative Tools > IIS
In the connection panel, select application
pools > Select default approach (in the centre panel )
In the action panel, click advanced setting link
Now only I know that unlike other Window which apply 64 bits, Windows 7 use 32 bits in setting ASP
Wassalam
No comments:
Post a Comment