473,470 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ASP scripts not executing

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
x = 5
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
%>

The above code produces no output, though normal html in
an asp page appears normally.

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

Jul 19 '05 #1
2 1229
Are you sure you are loading the file using http:// and not c:\ ?

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Phil" <an*******@discussions.microsoft.com> wrote in message
news:2d*****************************@phx.gbl...
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
x = 5
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
%>

The above code produces no output, though normal html in
an asp page appears normally.

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

Jul 19 '05 #2
On Wed, 14 Jul 2004 15:27:39 -0700, "Phil"
<an*******@discussions.microsoft.com> wrote:
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
x = 5
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
%>

The above code produces no output, though normal html in
an asp page appears normally.

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


Norton's or other script blocking firewalls, URLScan, etc. I assume
you're loading this as a URL, not file open.

Jeff
Jul 19 '05 #3

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

Similar topics

3
by: Aardwolf | last post by:
I've had PHP on my Win2K server running IIs 5 for about 2 weeks now. I have an annoying problem in that I can not run the php scripts/pages locally, instead they open up in the browser as a...
2
by: eichin | last post by:
One of my recent projects has involved taking an accretion of sh and perl scripts and "doing them right" - making them modular, improving the error reporting, making it easier to add even more...
2
by: RJ | last post by:
We currently send product releases to our customers, and often have to include scripts that need to be ran on the Oracle databases (also do it for SqlServer customers, but we use a different set of...
6
by: Alex Vilner | last post by:
Hello! We have a set of individual .SQL scripts which we would like to execute against a MS SQL Server 2000. Is there any way to have ISQL utility (or any other means) to execute all of them...
0
by: Ian Warford | last post by:
Hi, I have a problem with a PL/PerlU function trying to execute an external perl script. The script is suid to a non-root user and I am executing it in the PL/PerlU function as so : $rc =...
8
by: Leszek | last post by:
Hi. Could you help solve the problem: i have a file that has two includes: //my script <?php include(.'/prog1.php'); include(.'/prog2.php'); ?>
24
by: Mark | last post by:
Hi, I'm new to python and looking for a better idiom to use for the manner I have been organising my python scripts. I've googled all over the place about this but found absolutely nothing. I'm...
3
by: lewism | last post by:
I added this code to a an ASP page to print a gridview in Microsoft Excel. This page is a weekly work schedule for our company's intranet. The code works on a majority(80%) of the workstations in...
2
by: raghunadhs | last post by:
Hi All, i have some simple scripts( which may have some insert statements, update statements etc). these scripts were written in Sql server 2000. now i want to use the same scripts in Access. (since...
3
by: mdshafi01 | last post by:
Hello, My problem is i want to execute many perl programs but i do do not want to wait for for any of these programs. Let these programs execute independently. i have totally 10 perl scripts. I...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
1
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
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 ...
0
muto222
php
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.