Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > aspfunction does not work?

Reply
Thread Tools

aspfunction does not work?

 
 
Jim
Guest
Posts: n/a
 
      02-26-2005
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


 
Reply With Quote
 
 
 
 
Steven Burn
Guest
Posts: n/a
 
      02-26-2005
<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" <> wrote in message news:#...
> 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
>
>


 
Reply With Quote
 
 
 
 
Jim
Guest
Posts: n/a
 
      02-26-2005
thanks Steven but it still does not show the time

"Steven Burn" <> schreef in bericht
news:...
<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" <> wrote in message
news:#...
> 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
>
>



 
Reply With Quote
 
Steven Burn
Guest
Posts: n/a
 
      02-26-2005
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" <> wrote in message news:...
> thanks Steven but it still does not show the time
>
> "Steven Burn" <> schreef in bericht
> news:...
> <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" <> wrote in message
> news:#...
> > 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
> >
> >

>
>


 
Reply With Quote
 
Jim
Guest
Posts: n/a
 
      02-26-2005
with your example:
the time is
the time is

ch Jim
"Steven Burn" <> schreef in bericht
news:u$...
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" <> wrote in message
news:...
> thanks Steven but it still does not show the time
>
> "Steven Burn" <> schreef in bericht
> news:...
> <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" <> wrote in message
> news:#...
> > 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
> >
> >

>
>



 
Reply With Quote
 
Steven Burn
Guest
Posts: n/a
 
      02-26-2005
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" <> wrote in message news:...
> with your example:
> the time is
> the time is
>
> ch Jim
> "Steven Burn" <> schreef in bericht
> news:u$...
> 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" <> wrote in message
> news:...
> > thanks Steven but it still does not show the time
> >
> > "Steven Burn" <> schreef in bericht
> > news:...
> > <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" <> wrote in message
> > news:#...
> > > 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
> > >
> > >

> >
> >

>
>


 
Reply With Quote
 
Jim
Guest
Posts: n/a
 
      02-26-2005
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" <> schreef in bericht
news:...
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" <> wrote in message
news:...
> with your example:
> the time is
> the time is
>
> ch Jim
> "Steven Burn" <> schreef in bericht
> news:u$...
> 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" <> wrote in message
> news:...
> > thanks Steven but it still does not show the time
> >
> > "Steven Burn" <> schreef in bericht
> > news:...
> > <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" <> wrote in message
> > news:#...
> > > 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
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Steven Burn
Guest
Posts: n/a
 
      02-26-2005
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" <> wrote in message news:...
> 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" <> schreef in bericht
> news:...
> 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" <> wrote in message
> news:...
> > with your example:
> > the time is
> > the time is
> >
> > ch Jim
> > "Steven Burn" <> schreef in bericht
> > news:u$...
> > 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" <> wrote in message
> > news:...
> > > thanks Steven but it still does not show the time
> > >
> > > "Steven Burn" <> schreef in bericht
> > > news:...
> > > <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" <> wrote in message
> > > news:#...
> > > > 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
> > > >
> > > >
> > >
> > >

> >
> >

>
>


 
Reply With Quote
 
Jim
Guest
Posts: n/a
 
      02-26-2005
when is try to reach the asp page it says:

HTTP-error 500 internal server error?

what could it be?


"Steven Burn" <> schreef in bericht
news:...
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" <> wrote in message
news:...
> 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" <> schreef in bericht
> news:...
> 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" <> wrote in message
> news:...
> > with your example:
> > the time is
> > the time is
> >
> > ch Jim
> > "Steven Burn" <> schreef in bericht
> > news:u$...
> > 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" <> wrote in message
> > news:...
> > > thanks Steven but it still does not show the time
> > >
> > > "Steven Burn" <> schreef in bericht
> > > news:...
> > > <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" <> wrote in message
> > > news:#...
> > > > 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
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Steven Burn
Guest
Posts: n/a
 
      02-26-2005
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!

"Jim" <> wrote in message news:...
> when is try to reach the asp page it says:
>
> HTTP-error 500 internal server error?
>
> what could it be?
>
>
> "Steven Burn" <> schreef in bericht
> news:...
> 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" <> wrote in message
> news:...
> > 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" <> schreef in bericht
> > news:...
> > 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" <> wrote in message
> > news:...
> > > with your example:
> > > the time is
> > > the time is
> > >
> > > ch Jim
> > > "Steven Burn" <> schreef in bericht
> > > news:u$...
> > > 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" <> wrote in message
> > > news:...
> > > > thanks Steven but it still does not show the time
> > > >
> > > > "Steven Burn" <> schreef in bericht
> > > > news:...
> > > > <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" <> wrote in message
> > > > news:#...
> > > > > 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
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
'' is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long. rote ASP .Net 2 01-23-2008 03:07 PM
PC does not start and does not turn off sean Computer Support 3 12-28-2006 10:37 AM
CS0234 Global does not exist ... but it genuinely does Bill Johnson ASP .Net 0 07-08-2005 06:34 PM
Power button does not turn OFF? New power supply does not help! win2k lbbss Computer Support 0 01-06-2005 04:03 PM
Webservice works once and then DOES NOT seem to work even though program does not crash Phi! ASP .Net Web Services 1 04-23-2004 08:42 AM



Advertisments
 



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 47 48 49 50 51 52 53 54 55 56 57