ASP/HTML not displaying
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.
--
Deb
RE: ASP/HTML not displaying
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.
--
Deb
"ssar9" wrote:
> 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.
> --
> Deb
Re: ASP/HTML not displaying
"ssar9" <ssar9 [at] discussions.microsoft.com> wrote in message
news:B2554694-64A0-42D8-AA0B-FAFFC417CB08 [at] microsoft.com...
> 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
RE: ASP/HTML not displaying
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
"ssar9" wrote:
> 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.
> --
> Deb
>
>
> "ssar9" wrote:
>
> > 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.
> > --
> > Deb