Re: HTML and ASP scripting.

Tech-Archive recommends: Speed Up your PC by fixing your registry



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"




.



Relevant Pages

  • Re: Are "include files" serach egine friendly and HTML/XHTML compliant?
    ... I am not sure but I think it has problem with ASP pages. ... done with it by removing all VBscript codes and test it again pure HTML ... Any unrendered ASP code will return an error in a validator - it must be ...
    (microsoft.public.frontpage.programming)
  • Re: Creating a DLL
    ... > The MS Common Dialog Control is an ActiveX control. ... >>I do understand the difference between ASP and ASP.NET. ... >> existing HTML pages. ...
    (microsoft.public.dotnet.languages.vb.controls)
  • Re: ASP vs ASP.NET
    ... browser can only understand HTML. ... that's all that browsers can understand. ... As far as your ASP vs. ASP.NET concerns... ... >> dynamic areas without the need to change your HTML layout techniques. ...
    (microsoft.public.inetserver.asp.general)
  • Re: ASP vs ASP.NET
    ... browser can only understand HTML. ... that's all that browsers can understand. ... As far as your ASP vs. ASP.NET concerns... ... >> dynamic areas without the need to change your HTML layout techniques. ...
    (microsoft.public.inetserver.asp.components)
  • Re: ASP vs ASP.NET
    ... browser can only understand HTML. ... that's all that browsers can understand. ... As far as your ASP vs. ASP.NET concerns... ... >> dynamic areas without the need to change your HTML layout techniques. ...
    (microsoft.public.dotnet.framework.aspnet)