aspfunction does not work?

J

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
 
S

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!
 
J

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" <[email protected]> schreef in bericht
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!
 
S

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!
 
J

Jim

when is try to reach the asp page it says:

HTTP-error 500 internal server error?

what could it be?


"Steven Burn" <[email protected]> schreef in bericht
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!
 
S

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!
 
B

Bob Barrows [MVP]

Jim said:
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
 
J

Jeff Cochran

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
 
B

Bob Lehmann

<playonwords type="ugly">If an ASP executes in the ASPX, and it's not
supported, does anyone hear it.<playonwords>

Bob Lehmann
 
J

Jeff Cochran

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
 
J

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top