Windows Vista Forums

Re: HTML and ASP scripting.
  1. #1


    Bob Barrows Guest

    Re: HTML and ASP scripting.

    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...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"



      My System SpecsSystem Spec

  2. #2


    Erin Gray Guest

    Re: HTML and ASP scripting.

    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@xxxxxx> wrote in message
    news:%23PybDcDuJHA.5836@xxxxxx

    > 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...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"
    >
    >


      My System SpecsSystem Spec

Re: HTML and ASP scripting. problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scripting Allen Server General 1 18 Mar 2010
Scripting.FileSystemObject with VBScript in HTML page RaYlee VB Script 5 11 Aug 2009
Scripting HTML from server Eric VB Script 2 05 Aug 2009
working on html objects using HTML DOM, VBscript Rama VB Script 3 18 Aug 2008
UAC and scripting sputnik Vista General 1 08 May 2008