Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Re: HTML and ASP scripting.

Reply
 
Old 04-08-2009   #1 (permalink)
Bob Barrows


 
 

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:
Quote:

> 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
Old 04-09-2009   #2 (permalink)
Erin Gray


 
 

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
Quote:

> 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:
Quote:

>> 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
Reply

Thread Tools


Similar Threads
Thread Forum
Scripting.FileSystemObject with VBScript in HTML page VB Script
Scripting HTML from server VB Script
working on html objects using HTML DOM, VBscript VB Script
UAC and scripting Vista General
Scripting bug? PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46