ASP/HTML not displaying

S

ssar9

I have two folders in inetpub/wwroot. One has all HTML code, the other has
HTML & ASP pages. The pure HTML files show up in IE6 just fine. The other
pages just say done with a blank page. I had servral files that were ASP
pages but only had HMTL code and changed the extension to HMTL and still get
blank pages. Not sure why these pages do not display but the other directory
does. Both folders have the same rights configuration (scripts &
executables). I am using IIS 5.1 on XP SP2 machine and I Have all updates
installed. If I open these sites in FrontPage they both work fine. I guess
FrontPage handles the code itself and does not use IIS. I am tryint to
relearn my ASP & HTML and I need to get this working, please help. I do not
get any error messages on the screen or log files.
 
S

ssar9

Here is my code:

<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>Allied Insurance Company (MAIN000)</TITLE>
<LINK HREF="standard.css" REL="stylesheet" TYPE="text/css">
</HEAD>
<BODY>
<FRAMESET ROWS="20%,70%,10%" BORDERCOLOR=BLUE>
<!-- Display Company Name & Address -->
<FRAME SRC="Main001.htm" NAME=Top SCROLLING=NO MARGINHEIGHT=0 NORESIZE
TARGET="Top">
<!-- Display Main Menu HyperLinks -->
<FRAME SRC="Main002.htm" NAME=Middle SCROLLING=NO MARGINHEIGHT=0
NORESIZE TARGET="Middle">
<!-- Display Company e-Mail Information -->
<FRAME SRC="Main003.htm" NAME=Bottom MARGINHEIGHT=0 TARGET="Bottom">
</FRAMESET>
</BODY>
</HTML>

it does not matter if this is in an ASP or HTM file it does not display but
does in FP.
 
B

Bob Milutinovic

ssar9 said:
I am using IIS 5.1 on XP SP2 machine and I Have all updates
installed. If I open these sites in FrontPage they both work fine. I guess
FrontPage handles the code itself and does not use IIS. I am tryint to
relearn my ASP & HTML and I need to get this working, please help. I
do not get any error messages on the screen or log files.

My first suggestion would be to get rid of FrontPage; it's akin "one step
forward, five steps back."

--
Bob Milutinovic
Cognicom - "Australia's Web Presence Specialists"
http://www.cognicom.net.au/
telephone (0417) 45-77-66
facsimile (02) 9824-2240
 
J

Jim Rodgers

Deb,

(BTW, Nothing here has to do with ASP... yet.)

1. The Fix: Remove the <BODY> and </BODY> tags.

2. Go ahead and use asp files in these frames.

- always/only use the asp extentions when there is
server-side script mixed in with the HTML, and
separate hte script from the HTML thus:

<%
Dim blnOkay
%>

<html>
<body>
<some html>
<%
If blnOkay Then
%>
<more html>
<%
Else
Response.Write "<even more html still>"
End If
%>

<the other html>
</body>
</html>

....and like that, etc.

Cheers,

Jim Rodgers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,528
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top