Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28058

need help with asp.net hello world example...

$
0
0

I am following this tutorial at http://msdn.microsoft.com/en-us/library/ms972337.aspx  and basically

1.  i had to create an .asp file named Example1.asp in notepad cut and paste example code(listed below) into the document and save it(as ALL Files instead of .txt).Then close the text editor.

example code:

<%@ Language=VBScript %>
<html>
<head>
<title>Example 1</title>
</head>
<body>
<%
FirstVar = "Hello world!"
%>
<%=FirstVar%>
</body>
</html>

2. create a subdirectory in the inetpub/wwwroot/ path named tutorial

3. place the Example1.asp file in the new subdirectory( inetpub/wwwroot/tutorial/Example1.asp).

4. then type http://localhost/tutorial/Example1.asp in my browser and see the website... but instead i got an

Error page ........HTTP Error 404. The requested resource is not found.

what am i doing wrong????

 


Viewing all articles
Browse latest Browse all 28058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>