473,508 Members | 2,240 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP Blank Page

88 New Member
Hi, I just set up IIS on my personal computer to start trying to learn it and I am trying to get your basic hello world to display and all I get is a blank page.

This is my source code when I do a "view source"

Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <body>
  3.  
  4. <%
  5. response.write("Hello World!")
  6. %>
  7.  
  8. </body>
  9. </html>
I double checked my setup and I have ASP pages selected.....I just get a blank page that says its been loaded. What did I not do right? I'm running Windows Vista and IIS 6
Oct 12 '07 #1
7 1833
fperri
88 New Member
I also saved the asp file in a folder I placed in the inetpub/wwwroot/ folder.
Oct 12 '07 #2
danielml22
5 New Member
What did you put on your browser address bar?
Oct 12 '07 #3
danielml22
5 New Member
Even better, what is the exact name and path of the file, and what did you put in your address bar?
Oct 12 '07 #4
fperri
88 New Member
C:\inetpub\wwwroot\testing\test.asp
Oct 12 '07 #5
danielml22
5 New Member
if the path is C:\inetpub\wwwroot\testing\test.asp

then you should be able to look at the file by putting on your web browser:
http://localhost/testing/test.asp

if that doesn't work, you might want to make sure that the testing directory is configured to work in ur IIS Manager.

Hope this helps
Oct 12 '07 #6
jhardman
3,406 Recognized Expert Specialist
C:\inetpub\wwwroot\testing\test.asp
What daniel is getting at is that the server needs to open the file and send it to the browser. If the browser opens the file it will give you the un-interpreted code. Typing the address as "...localhost..." into the browser ensures that the browser asks for the file from the server rather than just opening it directly. notice that this problem only occurs when the server and the browser are on the same computer.

Jared
Oct 14 '07 #7
fperri
88 New Member
I typed it in like you said and it worked :) Thank you. Also, thanks for the explaination, I need to understand why as much as how. I appreciate your help.
Oct 17 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

8
5079
by: dmcconkey | last post by:
Hi folks, I have a client with four websites. Each site has a contact form that is identical. They all have "required" fields validated through a JavaScript onSubmit() function. Upon validation,...
2
3266
by: Ravi | last post by:
I have a webpage(with a text field and a button) which prompts for a local file and attempts to load the file in the window if the user clicks on the button. The javascript code onClick event uses...
2
1392
by: Michael | last post by:
All, I have a form send a variable to another page. Based on the variable the page will show a different image. I.E. <form METHOD="POST" ACTION="http://mysite.com/photo.htm"> <input...
14
2605
by: charlie_M | last post by:
Is there a way to blank the screen in a FORM's onsubmit=... to blank the screen for the user?? I asked this before and got a way to blank a table by id with ...
6
5505
by: Melissa | last post by:
Does anyone have a generic procedure for adding blank lines to reports like Sales details, PO details and/or Orders details. The procedure would need to count the number of line items, determine...
4
10929
by: Nhmiller | last post by:
Access seems to always generate a second page, which is blank, to my one page report. How do I delete the second page? Thanks. Neil Cat Paintings At Carol Wilson Gallery...
6
4683
by: noway | last post by:
I have greated a report and have included a page break in it. The report breaks were it is supposed to but then it creates a blank page between the two pages. Since this report will print out...
3
9143
by: Wayne | last post by:
I have a report containing 2 subreports. The subreports each contain a chart. The whole thing easily fits on one page but a second blank page is consistently being generated. This has nothing...
1
2257
by: siomay87 | last post by:
please help i have a problem in the ms access reporting, my report have: page header, detail, page footer and report footer In listing "detail section", the number of line is depend on the data...
4
3073
by: sid | last post by:
"about:blank" oepns new browser window I am writing a webpage that will run on other machines that I may or may not know about. My page is framed where frame1 controls the content of frame2. ...
0
7401
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7063
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5640
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4720
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3196
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
432
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.