Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear developer,

I am new in classic ASP programming.
I made one simple classic ASP program and configure it on IIS, but my program is not running.

I save my program into
Interpub/wwwroot/myweb/hello.asp

What's the reason?
Any body tell me how to run Simple Asp program?

my Asp code is....
ASP
<html>
<body>
<% 
Response.Write("Hello world")
%>
</body>
</html>


Regards,
Ravi
Posted
Updated 2-Apr-18 3:12am
v3
Comments
Dalek Dave 26-May-11 3:54am    
Edited for Grammar, Spelling and Readability.

:D I am sorry for laughing but you see syntax errors do cause lot of problems. The spelling of Response is wrong in your code. Try the code mentioned below:
ASP
<html>
<body>
<%
Response.Write("Hello world")
%>
</body>
</html>
 
Share this answer
 
Comments
Dalek Dave 26-May-11 3:55am    
Sure was the case!
It should be Response.Write (you have spelt it incorrectly).

What does your URL look like? Should be similar to http://localhost/myweb/hello.asp

Did you actually create a web site using the control panel app? Check out these links[^] to get you started.
 
Share this answer
 
Comments
Wild-Programmer 26-May-11 3:36am    
Good one. My 5+ :)
Dalek Dave 26-May-11 3:55am    
I think we all spotted it!
As others have said, there was a spelling mistake, (You wrote RESPONCE, not RESPONSE), which I have corrected in the code above.

Often difficult when English is not a first language, but if I may offer some advice...

Have a dictionary handy (online one will be fine), and just double check the spelling if you appear to be having trouble.
 
Share this answer
 
Comments
Ravi Sharma 2 26-May-11 7:22am    
Thanks Alot, because of spelling mistake my asp program not run. because of your help i done my first asp program.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900