i made a simple asp page, default.aspx. I saved it to localhost and ran it, i got the error "Server Application Unavailable"

I changed the extention to .asp, and it ran, but the script didnt work.

here is the script:

asp Code:
  1. <head>
  2.     <title>Test Page</title>
  3. </head>
  4. <body>
  5.     <form id="form1" method='post'>
  6.     <div>
  7.         <input type="text" name="myname" />
  8.         <input type="submit" name="submit" value="Submit" />
  9.     </div>
  10.     </form>
  11.     <%
  12.         Dim myname
  13.         myname = Request.Form("myname")
  14.         Response.Write("Hello " & myname)
  15.      %>
  16. </body>
  17. </html>