Hi :)
I've just started using ASP so I know this will be very easy for most
of you to answer;
I an asp file/page. Here is the code:
<%@dotnet.itags.org.LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
The time is <%= Time %>
</body>
</html>
I tested it on my PC using a virtual server and it worked fine - told me the
time :)
However, I uploaded the file to some webspace I own, loaded it from my
browser
and all I get is the following output:
The time is
Please please please somebody please tell me what I'm doing wrong? How do
I get a simple ASP page using VBscript to work?
JamesYou may need to repair your IIS mappings.
To do this, run the following command:
aspnet_regiis.exe -i
Here's further information:
http://support.microsoft.com/defaul...B;EN-US;q306005
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"J" <nospam@.thankyou.com> wrote in message
news:z0ihc.357$vf.5@.newsfe2-gui.server.ntli.net...
> Hi :)
>
> I've just started using ASP so I know this will be very easy for most
> of you to answer;
> I an asp file/page. Here is the code:
>
> <%@.LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> </head>
> <body>
> The time is <%= Time %>
> </body>
> </html>
>
> I tested it on my PC using a virtual server and it worked fine - told me
the
> time :)
> However, I uploaded the file to some webspace I own, loaded it from my
> browser
> and all I get is the following output:
>
> The time is
>
> Please please please somebody please tell me what I'm doing wrong? How do
> I get a simple ASP page using VBscript to work?
>
> James
>
Hi J:
This may be a silly question, but is the webspace you are talking
about .NET Framework enabled? Does it support ASP.NET?
Kevin Parkinson
"J" <nospam@.thankyou.com> wrote in message
news:z0ihc.357$vf.5@.newsfe2-gui.server.ntli.net...
> Hi :)
>
> I've just started using ASP so I know this will be very easy for most
> of you to answer;
> I an asp file/page. Here is the code:
>
> <%@.LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> </head>
> <body>
> The time is <%= Time %>
> </body>
> </html>
>
> I tested it on my PC using a virtual server and it worked fine - told me
the
> time :)
> However, I uploaded the file to some webspace I own, loaded it from my
> browser
> and all I get is the following output:
>
> The time is
>
> Please please please somebody please tell me what I'm doing wrong? How do
> I get a simple ASP page using VBscript to work?
>
> James
>
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment