Re: HTML and ASP scripting.
- From: "Erin Gray" <erin.gray@xxxxxxxxxxxx>
- Date: Thu, 9 Apr 2009 08:38:45 -0600
Yes sir, I see now that's where I should have posted.
In any case, renaming it to .ASP fixed it. I don't know how/why I missed
that.
Thanks Bob
Cheers.
"Bob Barrows" <reb01501@xxxxxxxxxxxxxxx> wrote in message
news:%23PybDcDuJHA.5836@xxxxxxxxxxxxxxxxxxxxxxx
FYI: this would have been more on-topic in one of the inetserver groups.
Your result means that your page is not being processed by asp.dll. A
couple things to check:
1. Is ASP locked down on your web server? See
http://classicasp.aspfaq.com/general/why-does-iis-hang-and/or-stop-serving-asp-pages.html
2. Is the extension on this page .asp? If you have named it something.htm,
then it will not be recognized as containing ASP code ...
Erin Gray wrote:
Can someone tell me why this doesn't work (I have a form that I need
to display data in columns). This is just an example of what my code
looks like:
<%@ Language=VBScript %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<title>Untitled Page</title>
<meta name="generator" content="WYSIWYG Builder">
</head>
<body
<%
FirstVar = "Hello world!"
%>
<%=FirstVar%>
more HTML that just displays a form....
When I run this I get this displayed verbatum in the browser:
<%@ Language=VBScript %> <% FirstVar = "Hello world!" %>
<%=FirstVar%> bgcolor="#FFFFFF" text="#000000">
I've done something fundamentally wrong, but I can't see it.
Thanks for the help.
Erin
--
Microsoft MVP - ASP/ASP.NET - 2004-2007
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- References:
- HTML and ASP scripting.
- From: Erin Gray
- Re: HTML and ASP scripting.
- From: Bob Barrows
- HTML and ASP scripting.
- Prev by Date: doesn't finish
- Next by Date: Re: LDAP Group Query Results Limitation
- Previous by thread: Re: HTML and ASP scripting.
- Next by thread: Blancpain Leman Tourbillon Mens Watch 2125-5230M-53B, Best Wristwatch Mall
- Index(es):
Relevant Pages
|