Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need help setting up for ASP 1

Status
Not open for further replies.

scuttleButt

Programmer
May 17, 2000
44
US
I am just beginning ASP. I bought a book and am trying the examples. I am using 98 release2's PWS. That is all I have at the moment. I created a .asp page and put it in the root of my inetpub/ directory. When I click on the file the computer asks me to associate it with a program so I associate it with iexplorer and instead of seeing the finished product page I see the code (like I'm in notepad). At work when I create the page the browser opens and I can read the html in the finished product but none of the code between the <%%> works... not even something as simple as <% intS = 60*60 %>. Can anyone tell me what I am missing? Any help would be appreciated... Thanks!
 
I just tried putting in my browser. I still don't get the results from the code between the <% %>. I only get the html code. One thing that it did help was that when I view source I do not see the ASP code which is what it is suposed to do. Is there something I might be missing on my PWS that handles ASP code?
 
If you aren't getting any ASP code, then the server might have processed it, but did it do anything? What is your ASP supposed to do? You have to write something to the browser in order for it to show up in HTML. Either by response.write(&quot;something&quot;) or by using <%=&quot;something&quot;%> notice the equals sign. Without that, it might be doing something, but not writing anything to the browser.

Harold Blackorby
hblackorby@scoreinteractive.com
 
Thanks both of you, between the two of you I can get the ASP's to work on my machines now... what a newbie!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top