IIS 5.1, vb script not working

P

Phil

Hi,

I've got a computer with XP Pro and IIS 5.1 and can't get
the vbscripts to run in my ASP pages.

I set up a new virtual directory and turned all
permissions on, on the virtual directory and the web site.

Example code :

<% dim x %>
1<br>
<% x = 5 %>
2<br>
<%
response.write "test"
if x > 0 then
response.write "x is greater than 0"
else
response.write "x is not greater than 0"
end if
%>
3<br>

produces output :
1
2
3

Does anyone know what the problem is and how to fix it?
Thanks,
Phil
 

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

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top