Hi everyone,
First of all, I m a student and I try to do an assignment using ASP. The fact that I wanted to test my ASP pages before uploading them online led me to install IIS. I am using Windows Vista Ultimate and I followed the steps of installing ISS through windows features. However I am not sure if I did it right because I ticked all the boxes in the "World Wide Web Services", while in "Web Management Tools" I just left only "IIS Management Console" ticked. In addition I left "FTP Publishing Service" blank as default. I don't know if there might be a conflict or not. After that I saved my first ASP page in this direction "C:\inetpub\wwwroot". Although I had some problems saving files there, I bypassed them by loading notepad as Administrator.
Finally, this is where I face a problem. When I try to load my ASP file through IE7, instead of displaying my normal ASP page, I can only see the source code.
The problem might be obvious for you but not for me. Please help me:) Thanks a lot.
Here is the source code of a very sipmple example I receive in IE7:
<%@ Language=VBScript %>
<% Option Explicit %>
<HTML>
<BODY>
<B>Square Roots</B><BR>
<%
Dim iLoop
For iLoop = 1 to 10
Response.Write iLoop & ": " & Sqr(iLoop) & "<BR>"
Next
%>
</BODY>
</HTML>