473,586 Members | 2,652 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 1838
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\wwwr oot\testing\tes t.asp
Oct 12 '07 #5
danielml22
5 New Member
if the path is C:\inetpub\wwwr oot\testing\tes t.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\wwwr oot\testing\tes t.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
5083
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, post values go to a PHP processing page that adds values to a database and generates an email to someone in marketing. For three of these sites,...
2
3282
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 the location.href property to achieve the desired result. (This loaded page has some additional functionality which lets them upload the contents...
2
1402
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 type="hidden" name="MODEL" value="europe"> <input type="submit" class="submitphoto" value="View Europe"> </form>
14
2615
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 "document.getElementById('tabid').style.display='none';" in the onclick event and setting the encapsulating table's ID to 'tabid'. I was wondering if this or some other similar...
6
5528
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 the remaining page to fill and print blank lines with the same number of fields as the line items. In addition, if there were a long list of line...
4
10949
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 http://www.carolwilsongallery.com
6
4691
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 approx 20 pages (without the blank pages) it is large waste of paper. I have tested the report by setting the data source so that only one page will...
3
9150
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 to do with the page width being too large because it isn't, and the second blank page displays the report header and footer. I can reduce the depth...
1
2262
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 source I mean long or short in detail section is vary. The problem is, when the detail is more than 25 line it will give blank area below the...
4
3085
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. What I have found is that if the page in Frame2 fails to load and I get an error page. when I detect an error page I want to set...
0
7912
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8338
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6614
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5390
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3837
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
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 we have to send another system
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.