I have developed a web site using asp pages that use both vbscript and
javascript. Run the site on my PC and everything is fine. Ftp to my
web hosting provider which hosts asp pages and look on my site only to
find my vbscript is not recognised. It is treated as pure text so you
see
<% =Request.Form("LoginId") %>. Also see all the vbscript when you
"View Source". I have e-mailed my host provider but thought this may
be quicker!
Any ideas if I have missed something obvious or is it down to the host
provider?
An example of my code:
<%@ Language=VBScript %>
<%
Option Explicit
%>
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<link rel="stylesheet" type="text/css" href="Includes/style.css">
</head>
<!--#include File="includes/cache.asp"-->
<!--#include File="Database.asp"-->

<body>
<table cellSpacing="1" cellPadding="1" border="0" align="center">
<tr>
<td width="10" align="left"><p align="left">&nbsp;
</td>
<td width="100" align="left"><p align="left"><strong>Enter User
Id</strong>
</td>

<td width="100" align="left"><p align="left"><input type="text"
id="LoginId" name="LoginId" value="<% =Request.Form("LoginId") %>">
</td>
</tr> </table>

</body>
</html>

Re: VBScript not recognised in Web page by Evertjan

Evertjan
Fri Feb 06 05:58:42 CST 2004

Dave Thomas wrote on 06 feb 2004 in
microsoft.public.inetserver.asp.general:

> I have developed a web site using asp pages that use both vbscript and
> javascript. Run the site on my PC and everything is fine. Ftp to my
> web hosting provider which hosts asp pages and look on my site only to
> find my vbscript is not recognised. It is treated as pure text so you
> see
> <% =Request.Form("LoginId") %>. Also see all the vbscript when you
> "View Source". I have e-mailed my host provider but thought this may
> be quicker!
>

Show us the URL, please.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Re: VBScript not recognised in Web page by John

John
Fri Feb 06 07:17:16 CST 2004


"Dave Thomas" <davethomas92@hotmail.com> wrote in message
news:d6d22f60.0402060304.76c932b@posting.google.com...
> I have developed a web site using asp pages that use both vbscript and
> javascript. Run the site on my PC and everything is fine. Ftp to my
> web hosting provider which hosts asp pages and look on my site only to
> find my vbscript is not recognised. It is treated as pure text so you
> see
> <% =Request.Form("LoginId") %>. Also see all the vbscript when you
> "View Source". I have e-mailed my host provider but thought this may
> be quicker!
> Any ideas if I have missed something obvious or is it down to the host
> provider?
> An example of my code:
> <%@ Language=VBScript %>
> <%
> Option Explicit
> %>
> <html>
> <head>
> <meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
> <link rel="stylesheet" type="text/css" href="Includes/style.css">
> </head>
> <!--#include File="includes/cache.asp"-->
> <!--#include File="Database.asp"-->
>
> <body>
> <table cellSpacing="1" cellPadding="1" border="0" align="center">
> <tr>
> <td width="10" align="left"><p align="left">&nbsp;
> </td>
> <td width="100" align="left"><p align="left"><strong>Enter User
> Id</strong>
> </td>
>
> <td width="100" align="left"><p align="left"><input type="text"
> id="LoginId" name="LoginId" value="<% =Request.Form("LoginId") %>">
> </td>
> </tr> </table>
>
> </body>
> </html>

Is your site hosted on a Windows server?

--
John Blessing

http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses
http://www.free-helpdesk.com - Completely free help desk software !
http://www.lbetoolbox.com - Remove Duplicates from MS Outlook



Re: VBScript not recognised in Web page by Chris

Chris
Fri Feb 06 10:02:15 CST 2004

Sounds like IIS is not picking up and processing pages with .asp extensions.

Have you made sure your page did indeed have an '.asp' extension?
Are the hosting referring to .aspx as opposed to .asp pages [eg. not
processing .asp]?

Please upload an ASP page with just a simple HTML content in it (no ASP
script etc.) and tell us if you get the formatted HTML or just the text
(should be HTML of course).
Now add a small <%%> section to do something like dimension an variable and
see if that works.

Chris.


"Dave Thomas" <davethomas92@hotmail.com> wrote in message
news:d6d22f60.0402060304.76c932b@posting.google.com...
I have developed a web site using asp pages that use both vbscript and
javascript. Run the site on my PC and everything is fine. Ftp to my
web hosting provider which hosts asp pages and look on my site only to
find my vbscript is not recognised. It is treated as pure text so you
see
<% =Request.Form("LoginId") %>. Also see all the vbscript when you
"View Source". I have e-mailed my host provider but thought this may
be quicker!
Any ideas if I have missed something obvious or is it down to the host
provider?
An example of my code:
<%@ Language=VBScript %>
<%
Option Explicit
%>
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<link rel="stylesheet" type="text/css" href="Includes/style.css">
</head>
<!--#include File="includes/cache.asp"-->
<!--#include File="Database.asp"-->

<body>
<table cellSpacing="1" cellPadding="1" border="0" align="center">
<tr>
<td width="10" align="left"><p align="left">&nbsp;
</td>
<td width="100" align="left"><p align="left"><strong>Enter User
Id</strong>
</td>

<td width="100" align="left"><p align="left"><input type="text"
id="LoginId" name="LoginId" value="<% =Request.Form("LoginId") %>">
</td>
</tr> </table>

</body>
</html>