Home All Groups Group Topic Archive Search About

aspfunction does not work?



Author
26 Feb 2005 3:41 AM
Jim
Hi

I am a newbie to asp and i built this test program:

<HTML>
<HEAD><TITLE>Test</TITLE></HEAD>
<BODY>
   the time is <% = Time %>
</BODY>
</HTML>


Problem: It  does not show the time! very basic probably but not for me

ch Jim

Author
26 Feb 2005 3:57 AM
Steven Burn
<HTML>
<HEAD><TITLE>Test</TITLE></HEAD>
<BODY>
   the time is <%=FormatDateTime(Now(), 4) %><br>
   the time is <%=FormatDateTime(Time(), 4) %>
</BODY>
</HTML>

I've put an example here for you;

http://mysteryfcm.plus.com/time.asp

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Show quote
"Jim" <jimmy1***@hotmail.com> wrote in message news:#oq6HU7GFHA.1392@TK2MSFTNGP10.phx.gbl...
> Hi
>
> I am a newbie to asp and i built this test program:
>
> <HTML>
> <HEAD><TITLE>Test</TITLE></HEAD>
> <BODY>
>    the time is <% = Time %>
> </BODY>
> </HTML>
>
>
> Problem: It  does not show the time! very basic probably but not for me
>
> ch Jim
>
>
Author
26 Feb 2005 4:09 AM
Jim
thanks Steven but it still does not show the time

"Steven Burn" <somewhere@in-time.invalid> schreef in bericht
news:u0qKCe7GFHA.3244@TK2MSFTNGP09.phx.gbl...
<HTML>
<HEAD><TITLE>Test</TITLE></HEAD>
<BODY>
   the time is <%=FormatDateTime(Now(), 4) %><br>
   the time is <%=FormatDateTime(Time(), 4) %>
</BODY>
</HTML>

I've put an example here for you;

http://mysteryfcm.plus.com/time.asp

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Show quote
"Jim" <jimmy1***@hotmail.com> wrote in message
news:#oq6HU7GFHA.1392@TK2MSFTNGP10.phx.gbl...
> Hi
>
> I am a newbie to asp and i built this test program:
>
> <HTML>
> <HEAD><TITLE>Test</TITLE></HEAD>
> <BODY>
>    the time is <% = Time %>
> </BODY>
> </HTML>
>
>
> Problem: It  does not show the time! very basic probably but not for me
>
> ch Jim
>
>
Author
26 Feb 2005 4:14 AM
Steven Burn
What are you seeing when you try it?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Show quote
"Jim" <jimmy1***@hotmail.com> wrote in message news:ODWd2j7GFHA.1476@TK2MSFTNGP09.phx.gbl...
> thanks Steven but it still does not show the time
>
> "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> news:u0qKCe7GFHA.3244@TK2MSFTNGP09.phx.gbl...
> <HTML>
> <HEAD><TITLE>Test</TITLE></HEAD>
> <BODY>
>    the time is <%=FormatDateTime(Now(), 4) %><br>
>    the time is <%=FormatDateTime(Time(), 4) %>
> </BODY>
> </HTML>
>
> I've put an example here for you;
>
> http://mysteryfcm.plus.com/time.asp
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
> "Jim" <jimmy1***@hotmail.com> wrote in message
> news:#oq6HU7GFHA.1392@TK2MSFTNGP10.phx.gbl...
> > Hi
> >
> > I am a newbie to asp and i built this test program:
> >
> > <HTML>
> > <HEAD><TITLE>Test</TITLE></HEAD>
> > <BODY>
> >    the time is <% = Time %>
> > </BODY>
> > </HTML>
> >
> >
> > Problem: It  does not show the time! very basic probably but not for me
> >
> > ch Jim
> >
> >
>
>
Author
26 Feb 2005 4:25 AM
Jim
with your example:
the time is
the time is

ch Jim
"Steven Burn" <somewhere@in-time.invalid> schreef in bericht
news:u$CJGn7GFHA.3640@TK2MSFTNGP10.phx.gbl...
What are you seeing when you try it?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Show quote
"Jim" <jimmy1***@hotmail.com> wrote in message
news:ODWd2j7GFHA.1476@TK2MSFTNGP09.phx.gbl...
> thanks Steven but it still does not show the time
>
> "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> news:u0qKCe7GFHA.3244@TK2MSFTNGP09.phx.gbl...
> <HTML>
> <HEAD><TITLE>Test</TITLE></HEAD>
> <BODY>
>    the time is <%=FormatDateTime(Now(), 4) %><br>
>    the time is <%=FormatDateTime(Time(), 4) %>
> </BODY>
> </HTML>
>
> I've put an example here for you;
>
> http://mysteryfcm.plus.com/time.asp
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
> "Jim" <jimmy1***@hotmail.com> wrote in message
> news:#oq6HU7GFHA.1392@TK2MSFTNGP10.phx.gbl...
> > Hi
> >
> > I am a newbie to asp and i built this test program:
> >
> > <HTML>
> > <HEAD><TITLE>Test</TITLE></HEAD>
> > <BODY>
> >    the time is <% = Time %>
> > </BODY>
> > </HTML>
> >
> >
> > Problem: It  does not show the time! very basic probably but not for me
> >
> > ch Jim
> >
> >
>
>
Author
26 Feb 2005 4:31 AM
Steven Burn
Does your server support ASP, and do you have the file in a file with a ..asp extension?

If yes to both, have you made sure debugging on the clientside is enabled in IIS?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Show quote
"Jim" <jimmy1***@hotmail.com> wrote in message news:ePXCCt7GFHA.4084@TK2MSFTNGP14.phx.gbl...
> with your example:
> the time is
> the time is
>
> ch Jim
> "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> news:u$CJGn7GFHA.3640@TK2MSFTNGP10.phx.gbl...
> What are you seeing when you try it?
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
> "Jim" <jimmy1***@hotmail.com> wrote in message
> news:ODWd2j7GFHA.1476@TK2MSFTNGP09.phx.gbl...
> > thanks Steven but it still does not show the time
> >
> > "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> > news:u0qKCe7GFHA.3244@TK2MSFTNGP09.phx.gbl...
> > <HTML>
> > <HEAD><TITLE>Test</TITLE></HEAD>
> > <BODY>
> >    the time is <%=FormatDateTime(Now(), 4) %><br>
> >    the time is <%=FormatDateTime(Time(), 4) %>
> > </BODY>
> > </HTML>
> >
> > I've put an example here for you;
> >
> > http://mysteryfcm.plus.com/time.asp
> >
> > --
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group
> > www.it-mate.co.uk
> >
> > Keeping it FREE!
> >
> > "Jim" <jimmy1***@hotmail.com> wrote in message
> > news:#oq6HU7GFHA.1392@TK2MSFTNGP10.phx.gbl...
> > > Hi
> > >
> > > I am a newbie to asp and i built this test program:
> > >
> > > <HTML>
> > > <HEAD><TITLE>Test</TITLE></HEAD>
> > > <BODY>
> > >    the time is <% = Time %>
> > > </BODY>
> > > </HTML>
> > >
> > >
> > > Problem: It  does not show the time! very basic probably but not for me
> > >
> > > ch Jim
> > >
> > >
> >
> >
>
>
Author
26 Feb 2005 5:19 AM
Jim
yes,yes i use iis5. Maybe i should tell you that i also use asp.net..
how do you turn the debugging on?

"Steven Burn" <somewhere@in-time.invalid> schreef in bericht
news:OwmIjw7GFHA.3908@TK2MSFTNGP10.phx.gbl...
Does your server support ASP, and do you have the file in a file with a .asp
extension?

If yes to both, have you made sure debugging on the clientside is enabled in
IIS?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Show quote
"Jim" <jimmy1***@hotmail.com> wrote in message
news:ePXCCt7GFHA.4084@TK2MSFTNGP14.phx.gbl...
> with your example:
> the time is
> the time is
>
> ch Jim
> "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> news:u$CJGn7GFHA.3640@TK2MSFTNGP10.phx.gbl...
> What are you seeing when you try it?
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
> "Jim" <jimmy1***@hotmail.com> wrote in message
> news:ODWd2j7GFHA.1476@TK2MSFTNGP09.phx.gbl...
> > thanks Steven but it still does not show the time
> >
> > "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> > news:u0qKCe7GFHA.3244@TK2MSFTNGP09.phx.gbl...
> > <HTML>
> > <HEAD><TITLE>Test</TITLE></HEAD>
> > <BODY>
> >    the time is <%=FormatDateTime(Now(), 4) %><br>
> >    the time is <%=FormatDateTime(Time(), 4) %>
> > </BODY>
> > </HTML>
> >
> > I've put an example here for you;
> >
> > http://mysteryfcm.plus.com/time.asp
> >
> > --
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group
> > www.it-mate.co.uk
> >
> > Keeping it FREE!
> >
> > "Jim" <jimmy1***@hotmail.com> wrote in message
> > news:#oq6HU7GFHA.1392@TK2MSFTNGP10.phx.gbl...
> > > Hi
> > >
> > > I am a newbie to asp and i built this test program:
> > >
> > > <HTML>
> > > <HEAD><TITLE>Test</TITLE></HEAD>
> > > <BODY>
> > >    the time is <% = Time %>
> > > </BODY>
> > > </HTML>
> > >
> > >
> > > Problem: It  does not show the time! very basic probably but not for
> > > me
> > >
> > > ch Jim
> > >
> > >
> >
> >
>
>
Author
26 Feb 2005 5:33 AM
Steven Burn
To turn debugging on, open the properties for the site and click the Home Directory tab, then the Configuration button, and then the App Debugging tab and place a tick in "Enable client-side script debugging"

Note: you may need to stop/start the site in IIS for the changes to take effect (atleast, I've always had to)

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Show quote
"Jim" <jimmy1***@hotmail.com> wrote in message news:OBYZBL8GFHA.2064@TK2MSFTNGP09.phx.gbl...
> yes,yes i use iis5. Maybe i should tell you that i also use asp.net..
> how do you turn the debugging on?
>
> "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> news:OwmIjw7GFHA.3908@TK2MSFTNGP10.phx.gbl...
> Does your server support ASP, and do you have the file in a file with a .asp
> extension?
>
> If yes to both, have you made sure debugging on the clientside is enabled in
> IIS?
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
> "Jim" <jimmy1***@hotmail.com> wrote in message
> news:ePXCCt7GFHA.4084@TK2MSFTNGP14.phx.gbl...
> > with your example:
> > the time is
> > the time is
> >
> > ch Jim
> > "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> > news:u$CJGn7GFHA.3640@TK2MSFTNGP10.phx.gbl...
> > What are you seeing when you try it?
> >
> > --
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group
> > www.it-mate.co.uk
> >
> > Keeping it FREE!
> >
> > "Jim" <jimmy1***@hotmail.com> wrote in message
> > news:ODWd2j7GFHA.1476@TK2MSFTNGP09.phx.gbl...
> > > thanks Steven but it still does not show the time
> > >
> > > "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> > > news:u0qKCe7GFHA.3244@TK2MSFTNGP09.phx.gbl...
> > > <HTML>
> > > <HEAD><TITLE>Test</TITLE></HEAD>
> > > <BODY>
> > >    the time is <%=FormatDateTime(Now(), 4) %><br>
> > >    the time is <%=FormatDateTime(Time(), 4) %>
> > > </BODY>
> > > </HTML>
> > >
> > > I've put an example here for you;
> > >
> > > http://mysteryfcm.plus.com/time.asp
> > >
> > > --
> > > Regards
> > >
> > > Steven Burn
> > > Ur I.T. Mate Group
> > > www.it-mate.co.uk
> > >
> > > Keeping it FREE!
> > >
> > > "Jim" <jimmy1***@hotmail.com> wrote in message
> > > news:#oq6HU7GFHA.1392@TK2MSFTNGP10.phx.gbl...
> > > > Hi
> > > >
> > > > I am a newbie to asp and i built this test program:
> > > >
> > > > <HTML>
> > > > <HEAD><TITLE>Test</TITLE></HEAD>
> > > > <BODY>
> > > >    the time is <% = Time %>
> > > > </BODY>
> > > > </HTML>
> > > >
> > > >
> > > > Problem: It  does not show the time! very basic probably but not for
> > > > me
> > > >
> > > > ch Jim
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Author
26 Feb 2005 5:52 AM
Jim
when is try to reach the asp page it says:

HTTP-error 500 internal server error?

what could it be?


"Steven Burn" <somewhere@in-time.invalid> schreef in bericht
news:OcdYjT8GFHA.3612@TK2MSFTNGP09.phx.gbl...
To turn debugging on, open the properties for the site and click the Home
Directory tab, then the Configuration button, and then the App Debugging tab
and place a tick in "Enable client-side script debugging"

Note: you may need to stop/start the site in IIS for the changes to take
effect (atleast, I've always had to)

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Show quote
"Jim" <jimmy1***@hotmail.com> wrote in message
news:OBYZBL8GFHA.2064@TK2MSFTNGP09.phx.gbl...
> yes,yes i use iis5. Maybe i should tell you that i also use asp.net..
> how do you turn the debugging on?
>
> "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> news:OwmIjw7GFHA.3908@TK2MSFTNGP10.phx.gbl...
> Does your server support ASP, and do you have the file in a file with a
> .asp
> extension?
>
> If yes to both, have you made sure debugging on the clientside is enabled
> in
> IIS?
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
> "Jim" <jimmy1***@hotmail.com> wrote in message
> news:ePXCCt7GFHA.4084@TK2MSFTNGP14.phx.gbl...
> > with your example:
> > the time is
> > the time is
> >
> > ch Jim
> > "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> > news:u$CJGn7GFHA.3640@TK2MSFTNGP10.phx.gbl...
> > What are you seeing when you try it?
> >
> > --
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group
> > www.it-mate.co.uk
> >
> > Keeping it FREE!
> >
> > "Jim" <jimmy1***@hotmail.com> wrote in message
> > news:ODWd2j7GFHA.1476@TK2MSFTNGP09.phx.gbl...
> > > thanks Steven but it still does not show the time
> > >
> > > "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> > > news:u0qKCe7GFHA.3244@TK2MSFTNGP09.phx.gbl...
> > > <HTML>
> > > <HEAD><TITLE>Test</TITLE></HEAD>
> > > <BODY>
> > >    the time is <%=FormatDateTime(Now(), 4) %><br>
> > >    the time is <%=FormatDateTime(Time(), 4) %>
> > > </BODY>
> > > </HTML>
> > >
> > > I've put an example here for you;
> > >
> > > http://mysteryfcm.plus.com/time.asp
> > >
> > > --
> > > Regards
> > >
> > > Steven Burn
> > > Ur I.T. Mate Group
> > > www.it-mate.co.uk
> > >
> > > Keeping it FREE!
> > >
> > > "Jim" <jimmy1***@hotmail.com> wrote in message
> > > news:#oq6HU7GFHA.1392@TK2MSFTNGP10.phx.gbl...
> > > > Hi
> > > >
> > > > I am a newbie to asp and i built this test program:
> > > >
> > > > <HTML>
> > > > <HEAD><TITLE>Test</TITLE></HEAD>
> > > > <BODY>
> > > >    the time is <% = Time %>
> > > > </BODY>
> > > > </HTML>
> > > >
> > > >
> > > > Problem: It  does not show the time! very basic probably but not for
> > > > me
> > > >
> > > > ch Jim
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Author
26 Feb 2005 6:05 AM
Steven Burn
Have you checked the Event Viewer to see whats being logged for it? (500 is usually caught in there and should provide some guidance on whats causing it)

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Show quote
"Jim" <jimmy1***@hotmail.com> wrote in message news:eX19ld8GFHA.2976@TK2MSFTNGP15.phx.gbl...
> when is try to reach the asp page it says:
>
> HTTP-error 500 internal server error?
>
> what could it be?
>
>
> "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> news:OcdYjT8GFHA.3612@TK2MSFTNGP09.phx.gbl...
> To turn debugging on, open the properties for the site and click the Home
> Directory tab, then the Configuration button, and then the App Debugging tab
> and place a tick in "Enable client-side script debugging"
>
> Note: you may need to stop/start the site in IIS for the changes to take
> effect (atleast, I've always had to)
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
> "Jim" <jimmy1***@hotmail.com> wrote in message
> news:OBYZBL8GFHA.2064@TK2MSFTNGP09.phx.gbl...
> > yes,yes i use iis5. Maybe i should tell you that i also use asp.net..
> > how do you turn the debugging on?
> >
> > "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> > news:OwmIjw7GFHA.3908@TK2MSFTNGP10.phx.gbl...
> > Does your server support ASP, and do you have the file in a file with a
> > .asp
> > extension?
> >
> > If yes to both, have you made sure debugging on the clientside is enabled
> > in
> > IIS?
> >
> > --
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group
> > www.it-mate.co.uk
> >
> > Keeping it FREE!
> >
> > "Jim" <jimmy1***@hotmail.com> wrote in message
> > news:ePXCCt7GFHA.4084@TK2MSFTNGP14.phx.gbl...
> > > with your example:
> > > the time is
> > > the time is
> > >
> > > ch Jim
> > > "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> > > news:u$CJGn7GFHA.3640@TK2MSFTNGP10.phx.gbl...
> > > What are you seeing when you try it?
> > >
> > > --
> > > Regards
> > >
> > > Steven Burn
> > > Ur I.T. Mate Group
> > > www.it-mate.co.uk
> > >
> > > Keeping it FREE!
> > >
> > > "Jim" <jimmy1***@hotmail.com> wrote in message
> > > news:ODWd2j7GFHA.1476@TK2MSFTNGP09.phx.gbl...
> > > > thanks Steven but it still does not show the time
> > > >
> > > > "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> > > > news:u0qKCe7GFHA.3244@TK2MSFTNGP09.phx.gbl...
> > > > <HTML>
> > > > <HEAD><TITLE>Test</TITLE></HEAD>
> > > > <BODY>
> > > >    the time is <%=FormatDateTime(Now(), 4) %><br>
> > > >    the time is <%=FormatDateTime(Time(), 4) %>
> > > > </BODY>
> > > > </HTML>
> > > >
> > > > I've put an example here for you;
> > > >
> > > > http://mysteryfcm.plus.com/time.asp
> > > >
> > > > --
> > > > Regards
> > > >
> > > > Steven Burn
> > > > Ur I.T. Mate Group
> > > > www.it-mate.co.uk
> > > >
> > > > Keeping it FREE!
> > > >
> > > > "Jim" <jimmy1***@hotmail.com> wrote in message
> > > > news:#oq6HU7GFHA.1392@TK2MSFTNGP10.phx.gbl...
> > > > > Hi
> > > > >
> > > > > I am a newbie to asp and i built this test program:
> > > > >
> > > > > <HTML>
> > > > > <HEAD><TITLE>Test</TITLE></HEAD>
> > > > > <BODY>
> > > > >    the time is <% = Time %>
> > > > > </BODY>
> > > > > </HTML>
> > > > >
> > > > >
> > > > > Problem: It  does not show the time! very basic probably but not for
> > > > > me
> > > > >
> > > > > ch Jim
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Author
26 Feb 2005 6:08 AM
Steven Burn
See the following aswell;

How To Troubleshoot an "HTTP 500 - Internal Server Error" Error Message
http://support.microsoft.com/?id=311766

#2109 : Why do I get a 500 Internal Server error for all ASP errors?
http://www.aspfaq.com/show.asp?id=2109

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Show quote
"Jim" <jimmy1***@hotmail.com> wrote in message news:eX19ld8GFHA.2976@TK2MSFTNGP15.phx.gbl...
> when is try to reach the asp page it says:
>
> HTTP-error 500 internal server error?
>
> what could it be?
>
>
> "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> news:OcdYjT8GFHA.3612@TK2MSFTNGP09.phx.gbl...
> To turn debugging on, open the properties for the site and click the Home
> Directory tab, then the Configuration button, and then the App Debugging tab
> and place a tick in "Enable client-side script debugging"
>
> Note: you may need to stop/start the site in IIS for the changes to take
> effect (atleast, I've always had to)
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
> "Jim" <jimmy1***@hotmail.com> wrote in message
> news:OBYZBL8GFHA.2064@TK2MSFTNGP09.phx.gbl...
> > yes,yes i use iis5. Maybe i should tell you that i also use asp.net..
> > how do you turn the debugging on?
> >
> > "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> > news:OwmIjw7GFHA.3908@TK2MSFTNGP10.phx.gbl...
> > Does your server support ASP, and do you have the file in a file with a
> > .asp
> > extension?
> >
> > If yes to both, have you made sure debugging on the clientside is enabled
> > in
> > IIS?
> >
> > --
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group
> > www.it-mate.co.uk
> >
> > Keeping it FREE!
> >
> > "Jim" <jimmy1***@hotmail.com> wrote in message
> > news:ePXCCt7GFHA.4084@TK2MSFTNGP14.phx.gbl...
> > > with your example:
> > > the time is
> > > the time is
> > >
> > > ch Jim
> > > "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> > > news:u$CJGn7GFHA.3640@TK2MSFTNGP10.phx.gbl...
> > > What are you seeing when you try it?
> > >
> > > --
> > > Regards
> > >
> > > Steven Burn
> > > Ur I.T. Mate Group
> > > www.it-mate.co.uk
> > >
> > > Keeping it FREE!
> > >
> > > "Jim" <jimmy1***@hotmail.com> wrote in message
> > > news:ODWd2j7GFHA.1476@TK2MSFTNGP09.phx.gbl...
> > > > thanks Steven but it still does not show the time
> > > >
> > > > "Steven Burn" <somewhere@in-time.invalid> schreef in bericht
> > > > news:u0qKCe7GFHA.3244@TK2MSFTNGP09.phx.gbl...
> > > > <HTML>
> > > > <HEAD><TITLE>Test</TITLE></HEAD>
> > > > <BODY>
> > > >    the time is <%=FormatDateTime(Now(), 4) %><br>
> > > >    the time is <%=FormatDateTime(Time(), 4) %>
> > > > </BODY>
> > > > </HTML>
> > > >
> > > > I've put an example here for you;
> > > >
> > > > http://mysteryfcm.plus.com/time.asp
> > > >
> > > > --
> > > > Regards
> > > >
> > > > Steven Burn
> > > > Ur I.T. Mate Group
> > > > www.it-mate.co.uk
> > > >
> > > > Keeping it FREE!
> > > >
> > > > "Jim" <jimmy1***@hotmail.com> wrote in message
> > > > news:#oq6HU7GFHA.1392@TK2MSFTNGP10.phx.gbl...
> > > > > Hi
> > > > >
> > > > > I am a newbie to asp and i built this test program:
> > > > >
> > > > > <HTML>
> > > > > <HEAD><TITLE>Test</TITLE></HEAD>
> > > > > <BODY>
> > > > >    the time is <% = Time %>
> > > > > </BODY>
> > > > > </HTML>
> > > > >
> > > > >
> > > > > Problem: It  does not show the time! very basic probably but not for
> > > > > me
> > > > >
> > > > > ch Jim
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Author
26 Feb 2005 1:29 PM
Bob Barrows [MVP]
Jim wrote:
> yes,yes i use iis5. Maybe i should tell you that i also use asp.net..

Then Steve's answers are not relevant to you. You need to post to a .Net
group, such as microsoft.public.dotnet.framework.aspnet

--
Microsoft MVP - ASP/ASP.NET
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"
Author
26 Feb 2005 1:35 PM
Steven Burn
hehe, I'd not noticed that part :o\

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Show quote
"Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcom> wrote in message news:#zLs6cAHFHA.3196@TK2MSFTNGP15.phx.gbl...
> Jim wrote:
> > yes,yes i use iis5. Maybe i should tell you that i also use asp.net..
>
> Then Steve's answers are not relevant to you. You need to post to a ..Net
> group, such as microsoft.public.dotnet.framework.aspnet
>
> --
> Microsoft MVP - ASP/ASP.NET
> 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"
>
>
Author
26 Feb 2005 6:43 PM
Jeff Cochran
On Sat, 26 Feb 2005 08:29:46 -0500, "Bob Barrows [MVP]"
<reb01501@NOyahoo.SPAMcom> wrote:

>Jim wrote:
>> yes,yes i use iis5. Maybe i should tell you that i also use asp.net..
>
>Then Steve's answers are not relevant to you. You need to post to a .Net
>group, such as microsoft.public.dotnet.framework.aspnet

Except the code in question was ASP.  :)

Jeff
Author
26 Feb 2005 6:56 PM
Bob Barrows [MVP]
Jeff Cochran wrote:
> On Sat, 26 Feb 2005 08:29:46 -0500, "Bob Barrows [MVP]"
> <reb01501@NOyahoo.SPAMcom> wrote:
>
>> Jim wrote:
>>> yes,yes i use iis5. Maybe i should tell you that i also use
>>> asp.net..
>>
>> Then Steve's answers are not relevant to you. You need to post to a
>> .Net group, such as microsoft.public.dotnet.framework.aspnet
>
> Except the code in question was ASP.  :)
>
Does that matter if he's trying to run it in an aspx page?

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Author
26 Feb 2005 9:04 PM
Bob Lehmann
<playonwords type="ugly">If an ASP executes in the ASPX, and it's not
supported, does anyone hear it.<playonwords>

Bob Lehmann

Show quote
"Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcom> wrote in message
news:eAirXTDHFHA.3156@TK2MSFTNGP10.phx.gbl...
> Jeff Cochran wrote:
> > On Sat, 26 Feb 2005 08:29:46 -0500, "Bob Barrows [MVP]"
> > <reb01501@NOyahoo.SPAMcom> wrote:
> >
> >> Jim wrote:
> >>> yes,yes i use iis5. Maybe i should tell you that i also use
> >>> asp.net..
> >>
> >> Then Steve's answers are not relevant to you. You need to post to a
> >> .Net group, such as microsoft.public.dotnet.framework.aspnet
> >
> > Except the code in question was ASP.  :)
> >
> Does that matter if he's trying to run it in an aspx page?
>
> --
> Microsoft MVP -- ASP/ASP.NET
> Please reply to the newsgroup. The email account listed in my From
> header is my spam trap, so I don't check it very often. You will get a
> quicker response by posting to the newsgroup.
>
>
Author
26 Feb 2005 9:34 PM
Jeff Cochran
On Sat, 26 Feb 2005 13:56:00 -0500, "Bob Barrows [MVP]"
<reb01501@NOyahoo.SPAMcom> wrote:

Show quote
>Jeff Cochran wrote:
>> On Sat, 26 Feb 2005 08:29:46 -0500, "Bob Barrows [MVP]"
>> <reb01501@NOyahoo.SPAMcom> wrote:
>>
>>> Jim wrote:
>>>> yes,yes i use iis5. Maybe i should tell you that i also use
>>>> asp.net..
>>>
>>> Then Steve's answers are not relevant to you. You need to post to a
>>> .Net group, such as microsoft.public.dotnet.framework.aspnet
>>
>> Except the code in question was ASP.  :)
>>
>Does that matter if he's trying to run it in an aspx page?

He said he used ASP.NET, not whether the page was an ASPX file.
Though he never said it was an ASP file either, so it could be his
real problem is he's trying this in a HTM/HTML file...

Jeff
Author
27 Feb 2005 2:01 AM
Jim
if i try http://mycomputername/localstart.asp then it doesn't display the
iis welcome page
The webservices are switched on.

Show quote
"Jeff Cochran" <jeff.nospam@zina.com> schreef in bericht
news:422deb21.1018003751@msnews.microsoft.com...
> On Sat, 26 Feb 2005 13:56:00 -0500, "Bob Barrows [MVP]"
> <reb01501@NOyahoo.SPAMcom> wrote:
>
>>Jeff Cochran wrote:
>>> On Sat, 26 Feb 2005 08:29:46 -0500, "Bob Barrows [MVP]"
>>> <reb01501@NOyahoo.SPAMcom> wrote:
>>>
>>>> Jim wrote:
>>>>> yes,yes i use iis5. Maybe i should tell you that i also use
>>>>> asp.net..
>>>>
>>>> Then Steve's answers are not relevant to you. You need to post to a
>>>> .Net group, such as microsoft.public.dotnet.framework.aspnet
>>>
>>> Except the code in question was ASP.  :)
>>>
>>Does that matter if he's trying to run it in an aspx page?
>
> He said he used ASP.NET, not whether the page was an ASPX file.
> Though he never said it was an ASP file either, so it could be his
> real problem is he's trying this in a HTM/HTML file...
>
> Jeff
Author
27 Feb 2005 6:58 PM
Jeff Cochran
On Sun, 27 Feb 2005 13:01:19 +1100, "Jim" <jimmy1***@hotmail.com>
wrote:

>if i try http://mycomputername/localstart.asp then it doesn't display the
>iis welcome page
>The webservices are switched on.

Have you tried a "Hello World!" ASP page?

Jeff



Show quote
>"Jeff Cochran" <jeff.nospam@zina.com> schreef in bericht
>news:422deb21.1018003751@msnews.microsoft.com...
>> On Sat, 26 Feb 2005 13:56:00 -0500, "Bob Barrows [MVP]"
>> <reb01501@NOyahoo.SPAMcom> wrote:
>>
>>>Jeff Cochran wrote:
>>>> On Sat, 26 Feb 2005 08:29:46 -0500, "Bob Barrows [MVP]"
>>>> <reb01501@NOyahoo.SPAMcom> wrote:
>>>>
>>>>> Jim wrote:
>>>>>> yes,yes i use iis5. Maybe i should tell you that i also use
>>>>>> asp.net..
>>>>>
>>>>> Then Steve's answers are not relevant to you. You need to post to a
>>>>> .Net group, such as microsoft.public.dotnet.framework.aspnet
>>>>
>>>> Except the code in question was ASP.  :)
>>>>
>>>Does that matter if he's trying to run it in an aspx page?
>>
>> He said he used ASP.NET, not whether the page was an ASPX file.
>> Though he never said it was an ASP file either, so it could be his
>> real problem is he's trying this in a HTM/HTML file...
>>
>> Jeff
>
Author
27 Feb 2005 11:29 PM
Jim
if the iis welcome page does not show up this means that somehow iis cannot
process asp.pages.
so even a helloworld page would not work
the error it shows:

Server Application Error
The server has encountered an error while loading an application during the
processing of your request. Please refer to the event log for more detail
information. Please contact the server administrator for assistance.


ch Jim

Show quote
"Jeff Cochran" <jeff.nospam@zina.com> schreef in bericht
news:42251838.1095076656@msnews.microsoft.com...
> On Sun, 27 Feb 2005 13:01:19 +1100, "Jim" <jimmy1***@hotmail.com>
> wrote:
>
>>if i try http://mycomputername/localstart.asp then it doesn't display the
>>iis welcome page
>>The webservices are switched on.
>
> Have you tried a "Hello World!" ASP page?
>
> Jeff
>
>
>
>>"Jeff Cochran" <jeff.nospam@zina.com> schreef in bericht
>>news:422deb21.1018003751@msnews.microsoft.com...
>>> On Sat, 26 Feb 2005 13:56:00 -0500, "Bob Barrows [MVP]"
>>> <reb01501@NOyahoo.SPAMcom> wrote:
>>>
>>>>Jeff Cochran wrote:
>>>>> On Sat, 26 Feb 2005 08:29:46 -0500, "Bob Barrows [MVP]"
>>>>> <reb01501@NOyahoo.SPAMcom> wrote:
>>>>>
>>>>>> Jim wrote:
>>>>>>> yes,yes i use iis5. Maybe i should tell you that i also use
>>>>>>> asp.net..
>>>>>>
>>>>>> Then Steve's answers are not relevant to you. You need to post to a
>>>>>> .Net group, such as microsoft.public.dotnet.framework.aspnet
>>>>>
>>>>> Except the code in question was ASP.  :)
>>>>>
>>>>Does that matter if he's trying to run it in an aspx page?
>>>
>>> He said he used ASP.NET, not whether the page was an ASPX file.
>>> Though he never said it was an ASP file either, so it could be his
>>> real problem is he's trying this in a HTM/HTML file...
>>>
>>> Jeff
>>
>
Author
28 Feb 2005 12:51 AM
Aaron [SQL Server MVP]
Jim, please check your event viewer.  You are likely seeing event id 5
(http://www.aspfaq.com/2355) or event id 36 (http://www.aspfaq.com/2226)
whenever you start IIS and/or try to load an ASP page.




On 2/27/05 6:29 PM, in article u#xanQSHFHA.3***@tk2msftngp13.phx.gbl, "Jim"
<jimmy1***@hotmail.com> wrote:

Show quote
> if the iis welcome page does not show up this means that somehow iis cannot
> process asp.pages.
> so even a helloworld page would not work
> the error it shows:
>
> Server Application Error
> The server has encountered an error while loading an application during the
> processing of your request. Please refer to the event log for more detail
> information. Please contact the server administrator for assistance.
>
>
> ch Jim
>
> "Jeff Cochran" <jeff.nospam@zina.com> schreef in bericht
> news:42251838.1095076656@msnews.microsoft.com...
>> On Sun, 27 Feb 2005 13:01:19 +1100, "Jim" <jimmy1***@hotmail.com>
>> wrote:
>>
>>> if i try http://mycomputername/localstart.asp then it doesn't display the
>>> iis welcome page
>>> The webservices are switched on.
>>
>> Have you tried a "Hello World!" ASP page?
>>
>> Jeff
>>
>>
>>
>>> "Jeff Cochran" <jeff.nospam@zina.com> schreef in bericht
>>> news:422deb21.1018003751@msnews.microsoft.com...
>>>> On Sat, 26 Feb 2005 13:56:00 -0500, "Bob Barrows [MVP]"
>>>> <reb01501@NOyahoo.SPAMcom> wrote:
>>>>
>>>>> Jeff Cochran wrote:
>>>>>> On Sat, 26 Feb 2005 08:29:46 -0500, "Bob Barrows [MVP]"
>>>>>> <reb01501@NOyahoo.SPAMcom> wrote:
>>>>>>
>>>>>>> Jim wrote:
>>>>>>>> yes,yes i use iis5. Maybe i should tell you that i also use
>>>>>>>> asp.net..
>>>>>>>
>>>>>>> Then Steve's answers are not relevant to you. You need to post to a
>>>>>>> .Net group, such as microsoft.public.dotnet.framework.aspnet
>>>>>>
>>>>>> Except the code in question was ASP.  :)
>>>>>>
>>>>> Does that matter if he's trying to run it in an aspx page?
>>>>
>>>> He said he used ASP.NET, not whether the page was an ASPX file.
>>>> Though he never said it was an ASP file either, so it could be his
>>>> real problem is he's trying this in a HTM/HTML file...
>>>>
>>>> Jeff
>>>
>>
>
>
Author
28 Feb 2005 1:39 PM
Jeff Cochran
On Mon, 28 Feb 2005 10:29:12 +1100, "Jim" <jimmy1***@hotmail.com>
wrote:

>if the iis welcome page does not show up this means that somehow iis cannot
>process asp.pages.
>so even a helloworld page would not work

No, it means a problem prevented the IIS Welcome page from showing.
There are many reasons that page wouldn't show while a Hello World!
page would.

>the error it shows:
>
>Server Application Error
>The server has encountered an error while loading an application during the
>processing of your request. Please refer to the event log for more detail
>information. Please contact the server administrator for assistance.

Finally, a full error message.  Though you missed the error code,
likely a 500 error.  See:

Why do I get a 500 Internal Server error for all ASP errors?
http://www.aspfaq.com/show.asp?id=2109

Also, did you refer to the event log?  If so, post the full event log
error, including source and ID.  If not, follow the error message you
received and look at the event log.

Jeff



Show quote
>
>
>ch Jim
>
>"Jeff Cochran" <jeff.nospam@zina.com> schreef in bericht
>news:42251838.1095076656@msnews.microsoft.com...
>> On Sun, 27 Feb 2005 13:01:19 +1100, "Jim" <jimmy1***@hotmail.com>
>> wrote:
>>
>>>if i try http://mycomputername/localstart.asp then it doesn't display the
>>>iis welcome page
>>>The webservices are switched on.
>>
>> Have you tried a "Hello World!" ASP page?
>>
>> Jeff
>>
>>
>>
>>>"Jeff Cochran" <jeff.nospam@zina.com> schreef in bericht
>>>news:422deb21.1018003751@msnews.microsoft.com...
>>>> On Sat, 26 Feb 2005 13:56:00 -0500, "Bob Barrows [MVP]"
>>>> <reb01501@NOyahoo.SPAMcom> wrote:
>>>>
>>>>>Jeff Cochran wrote:
>>>>>> On Sat, 26 Feb 2005 08:29:46 -0500, "Bob Barrows [MVP]"
>>>>>> <reb01501@NOyahoo.SPAMcom> wrote:
>>>>>>
>>>>>>> Jim wrote:
>>>>>>>> yes,yes i use iis5. Maybe i should tell you that i also use
>>>>>>>> asp.net..
>>>>>>>
>>>>>>> Then Steve's answers are not relevant to you. You need to post to a
>>>>>>> .Net group, such as microsoft.public.dotnet.framework.aspnet
>>>>>>
>>>>>> Except the code in question was ASP.  :)
>>>>>>
>>>>>Does that matter if he's trying to run it in an aspx page?
>>>>
>>>> He said he used ASP.NET, not whether the page was an ASPX file.
>>>> Though he never said it was an ASP file either, so it could be his
>>>> real problem is he's trying this in a HTM/HTML file...
>>>>
>>>> Jeff
>>>
>>
>

AddThis Social Bookmark Button