473,658 Members | 2,628 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

aspfunction does not work?

Jim
Hi

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

<HTML>
<HEAD><TITLE>Te st</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
Jul 22 '05 #1
21 1795
<HTML>
<HEAD><TITLE>Te st</TITLE></HEAD>
<BODY>
the time is <%=FormatDateTi me(Now(), 4) %><br>
the time is <%=FormatDateTi me(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" <ji*******@hotm ail.com> wrote in message news:#o******** ******@TK2MSFTN GP10.phx.gbl...
Hi

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

<HTML>
<HEAD><TITLE>Te st</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



Jul 22 '05 #2
Jim
thanks Steven but it still does not show the time

"Steven Burn" <so*******@in-time.invalid> schreef in bericht
news:u0******** ******@TK2MSFTN GP09.phx.gbl...
<HTML>
<HEAD><TITLE>Te st</TITLE></HEAD>
<BODY>
the time is <%=FormatDateTi me(Now(), 4) %><br>
the time is <%=FormatDateTi me(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" <ji*******@hotm ail.com> wrote in message
news:#o******** ******@TK2MSFTN GP10.phx.gbl...
Hi

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

<HTML>
<HEAD><TITLE>Te st</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

Jul 22 '05 #3
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" <ji*******@hotm ail.com> wrote in message news:OD******** ******@TK2MSFTN GP09.phx.gbl...
thanks Steven but it still does not show the time

"Steven Burn" <so*******@in-time.invalid> schreef in bericht
news:u0******** ******@TK2MSFTN GP09.phx.gbl...
<HTML>
<HEAD><TITLE>Te st</TITLE></HEAD>
<BODY>
the time is <%=FormatDateTi me(Now(), 4) %><br>
the time is <%=FormatDateTi me(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" <ji*******@hotm ail.com> wrote in message
news:#o******** ******@TK2MSFTN GP10.phx.gbl...
Hi

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

<HTML>
<HEAD><TITLE>Te st</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




Jul 22 '05 #4
Jim
with your example:
the time is
the time is

ch Jim
"Steven Burn" <so*******@in-time.invalid> schreef in bericht
news:u$******** ******@TK2MSFTN GP10.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" <ji*******@hotm ail.com> wrote in message
news:OD******** ******@TK2MSFTN GP09.phx.gbl...
thanks Steven but it still does not show the time

"Steven Burn" <so*******@in-time.invalid> schreef in bericht
news:u0******** ******@TK2MSFTN GP09.phx.gbl...
<HTML>
<HEAD><TITLE>Te st</TITLE></HEAD>
<BODY>
the time is <%=FormatDateTi me(Now(), 4) %><br>
the time is <%=FormatDateTi me(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" <ji*******@hotm ail.com> wrote in message
news:#o******** ******@TK2MSFTN GP10.phx.gbl...
Hi

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

<HTML>
<HEAD><TITLE>Te st</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


Jul 22 '05 #5
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" <ji*******@hotm ail.com> wrote in message news:eP******** ******@TK2MSFTN GP14.phx.gbl...
with your example:
the time is
the time is

ch Jim
"Steven Burn" <so*******@in-time.invalid> schreef in bericht
news:u$******** ******@TK2MSFTN GP10.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" <ji*******@hotm ail.com> wrote in message
news:OD******** ******@TK2MSFTN GP09.phx.gbl...
thanks Steven but it still does not show the time

"Steven Burn" <so*******@in-time.invalid> schreef in bericht
news:u0******** ******@TK2MSFTN GP09.phx.gbl...
<HTML>
<HEAD><TITLE>Te st</TITLE></HEAD>
<BODY>
the time is <%=FormatDateTi me(Now(), 4) %><br>
the time is <%=FormatDateTi me(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" <ji*******@hotm ail.com> wrote in message
news:#o******** ******@TK2MSFTN GP10.phx.gbl...
Hi

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

<HTML>
<HEAD><TITLE>Te st</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





Jul 22 '05 #6
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" <so*******@in-time.invalid> schreef in bericht
news:Ow******** ******@TK2MSFTN GP10.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" <ji*******@hotm ail.com> wrote in message
news:eP******** ******@TK2MSFTN GP14.phx.gbl...
with your example:
the time is
the time is

ch Jim
"Steven Burn" <so*******@in-time.invalid> schreef in bericht
news:u$******** ******@TK2MSFTN GP10.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" <ji*******@hotm ail.com> wrote in message
news:OD******** ******@TK2MSFTN GP09.phx.gbl...
thanks Steven but it still does not show the time

"Steven Burn" <so*******@in-time.invalid> schreef in bericht
news:u0******** ******@TK2MSFTN GP09.phx.gbl...
<HTML>
<HEAD><TITLE>Te st</TITLE></HEAD>
<BODY>
the time is <%=FormatDateTi me(Now(), 4) %><br>
the time is <%=FormatDateTi me(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" <ji*******@hotm ail.com> wrote in message
news:#o******** ******@TK2MSFTN GP10.phx.gbl...
Hi

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

<HTML>
<HEAD><TITLE>Te st</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



Jul 22 '05 #7
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" <ji*******@hotm ail.com> wrote in message news:OB******** ******@TK2MSFTN GP09.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" <so*******@in-time.invalid> schreef in bericht
news:Ow******** ******@TK2MSFTN GP10.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" <ji*******@hotm ail.com> wrote in message
news:eP******** ******@TK2MSFTN GP14.phx.gbl...
with your example:
the time is
the time is

ch Jim
"Steven Burn" <so*******@in-time.invalid> schreef in bericht
news:u$******** ******@TK2MSFTN GP10.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" <ji*******@hotm ail.com> wrote in message
news:OD******** ******@TK2MSFTN GP09.phx.gbl...
thanks Steven but it still does not show the time

"Steven Burn" <so*******@in-time.invalid> schreef in bericht
news:u0******** ******@TK2MSFTN GP09.phx.gbl...
<HTML>
<HEAD><TITLE>Te st</TITLE></HEAD>
<BODY>
the time is <%=FormatDateTi me(Now(), 4) %><br>
the time is <%=FormatDateTi me(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" <ji*******@hotm ail.com> wrote in message
news:#o******** ******@TK2MSFTN GP10.phx.gbl...
> Hi
>
> I am a newbie to asp and i built this test program:
>
> <HTML>
> <HEAD><TITLE>Te st</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
>
>





Jul 22 '05 #8
Jim
when is try to reach the asp page it says:

HTTP-error 500 internal server error?

what could it be?
"Steven Burn" <so*******@in-time.invalid> schreef in bericht
news:Oc******** ******@TK2MSFTN GP09.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" <ji*******@hotm ail.com> wrote in message
news:OB******** ******@TK2MSFTN GP09.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" <so*******@in-time.invalid> schreef in bericht
news:Ow******** ******@TK2MSFTN GP10.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" <ji*******@hotm ail.com> wrote in message
news:eP******** ******@TK2MSFTN GP14.phx.gbl...
with your example:
the time is
the time is

ch Jim
"Steven Burn" <so*******@in-time.invalid> schreef in bericht
news:u$******** ******@TK2MSFTN GP10.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" <ji*******@hotm ail.com> wrote in message
news:OD******** ******@TK2MSFTN GP09.phx.gbl...
thanks Steven but it still does not show the time

"Steven Burn" <so*******@in-time.invalid> schreef in bericht
news:u0******** ******@TK2MSFTN GP09.phx.gbl...
<HTML>
<HEAD><TITLE>Te st</TITLE></HEAD>
<BODY>
the time is <%=FormatDateTi me(Now(), 4) %><br>
the time is <%=FormatDateTi me(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" <ji*******@hotm ail.com> wrote in message
news:#o******** ******@TK2MSFTN GP10.phx.gbl...
> Hi
>
> I am a newbie to asp and i built this test program:
>
> <HTML>
> <HEAD><TITLE>Te st</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
>
>



Jul 22 '05 #9
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" <ji*******@hotm ail.com> wrote in message news:eX******** ******@TK2MSFTN GP15.phx.gbl...
when is try to reach the asp page it says:

HTTP-error 500 internal server error?

what could it be?


"Steven Burn" <so*******@in-time.invalid> schreef in bericht
news:Oc******** ******@TK2MSFTN GP09.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" <ji*******@hotm ail.com> wrote in message
news:OB******** ******@TK2MSFTN GP09.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" <so*******@in-time.invalid> schreef in bericht
news:Ow******** ******@TK2MSFTN GP10.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" <ji*******@hotm ail.com> wrote in message
news:eP******** ******@TK2MSFTN GP14.phx.gbl...
with your example:
the time is
the time is

ch Jim
"Steven Burn" <so*******@in-time.invalid> schreef in bericht
news:u$******** ******@TK2MSFTN GP10.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" <ji*******@hotm ail.com> wrote in message
news:OD******** ******@TK2MSFTN GP09.phx.gbl...
> thanks Steven but it still does not show the time
>
> "Steven Burn" <so*******@in-time.invalid> schreef in bericht
> news:u0******** ******@TK2MSFTN GP09.phx.gbl...
> <HTML>
> <HEAD><TITLE>Te st</TITLE></HEAD>
> <BODY>
> the time is <%=FormatDateTi me(Now(), 4) %><br>
> the time is <%=FormatDateTi me(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" <ji*******@hotm ail.com> wrote in message
> news:#o******** ******@TK2MSFTN GP10.phx.gbl...
> > Hi
> >
> > I am a newbie to asp and i built this test program:
> >
> > <HTML>
> > <HEAD><TITLE>Te st</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
> >
> >
>
>





Jul 22 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
4846
by: Jonas | last post by:
This works fine in Win XP but does not work at all in Win 98. Private WithEvents objIExplorer As InternetExplorer I have to do it like this to get it to work in Win 98 Dim objIExplorer As InternetExplorer But then I cant see when a user exit my objIExplorer and than an error will show up when I try to open a link in the IE window that does not exist... What can I do about this and way does it not work in win 98?
5
3623
by: me | last post by:
I have a Class Library that contains a Form and several helper classes. A thread gets created that performs processing of data behind the scenes and the Form never gets displayed (it is for debug puposes only and is not normally visable to the user.) The Thread function is actually in the Form class. Now.. What I am seeing is that when I create an instance of this Class Library's Form, which starts the worker thread, it seems to hose up...
12
2937
by: Frank Hauptlorenz | last post by:
Hello Out there! I have a DB2 V7.2 Database (Fix11) on Win 2000 Professional. It was before a NT 4 based Domain - now it is a Win 2000 Domain. The database server is a domain member. Now sometimes Win 2000 Clients can't connect to the database. They connect over TCP/IP. The db2log says that the function getHostByName failed. It seems to be only on new installed win 2000 Workstations. Already installed WS have NOT this problem.
14
12901
by: Steve Jorgensen | last post by:
Recently, I tried and did a poor job explaining an idea I've had for handling a particular case of implementation inheritance that would be easy and obvious in a fully OOP language, but is not at all obvious in VBA which lacks inheritance. I'm trying the explanation again now. I often find cases where a limited form of inheritance would eliminate duplication my code that seems impossible to eliminate otherwise. I'm getting very...
0
2363
by: Jarod_24 | last post by:
How does tabindex work in ASP .net pages I dosen't seem to work quite like in regular forms. and there isn't any TabStop property either. 1 .How do you prevent a control form beign "tabbed". (hidden textboxes ect.) 2. How do get a control to get focus when the page is loaded (think username textfield on a loginpage) 3. Does the tab-order work just like in regular forms (1 ->2 -> 3 and so on?) 4. How does tabindex work with datagrid...
5
2778
by: Andy Fish | last post by:
Hi, I have an asp.net web application which uses a pop-up form that works a bit like a dialog box. when the user clicks "OK" it does a postback (basically a form post if you don't know .net) to save the contents of the form, and then I put an onload event to do a window.close. this works fine for hundreds of people on different browsers. However, for one user the window does not close.
14
3471
by: webEater | last post by:
I have a problem, it's not browser specific, and I don't get a solution. I have an (X)HTML document, I show you a part of it: .... <!--<div class="pad">--> <div id="eventImages"><img src="" id="eventImage0" class="eventImage"><img src="" id="eventImage1" class="eventImage"></div>
1
7095
by: =?ISO-8859-1?Q?Lasse_V=E5gs=E6ther_Karlsen?= | last post by:
I get the above error in some of the ASP.NET web applications on a server, and I need some help figuring out how to deal with it. This is a rather long post, and I hope I have enough details that someone who bothers to read all of it have some pointers. Note, I have posted the stack trace and the code exhibiting the problem further down so if you want to start by reading that, search for +++ Also note that I am unable to reproduce...
0
8427
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8330
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8850
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8523
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7355
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6178
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2749
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.