ASP forbidden on the network

J

J_J

Hi,

Below is the message I received when I attempted to use a web page on our
network that makes use of ASP.

The page cannot be displayed
You have attempted to execute a CGI, ISAPI, or other executable program from
a directory that does not allow programs to be executed.
--------------------------------------------------------------------------------

Please try the following:

a.. Contact the Web site administrator if you believe this directory
should allow execute access.
HTTP Error 403.1 - Forbidden: Execute access is denied.
Internet Information Services (IIS)

--------------------------------------------------------------------------------


Does that mean that we need to relocate the files where the server allows
ASP executable commands to function?
Or can the directories properties be changed so that such executables is
allowed?

TIA
J_J
 
E

Evertjan.

J_J wrote on 27 sep 2005 in microsoft.public.inetserver.asp.general:
Hi,

Below is the message I received when I attempted to use a web page on
our network that makes use of ASP.

The page cannot be displayed
You have attempted to execute a CGI, ISAPI, or other executable
program from a directory that does not allow programs to be executed.
-----------------------------------------------------------------------

Please try the following:

a.. Contact the Web site administrator if you believe this directory
should allow execute access.
HTTP Error 403.1 - Forbidden: Execute access is denied.
Internet Information Services (IIS)

-----------------------------------------------------------------------

Does that mean that we need to relocate the files where the server
allows ASP executable commands to function?
Or can the directories properties be changed so that such executables
is allowed?

Either ask your administrator, or if you are the one, allow the directory
involved, or relocate.

This iis(?) a iis problem, not an asp one, so ideally this is OT.
 
T

Terren

Try these two things (I am assuming you are using IE)

Go to Tools-->Internet options-->Advanced.
Under Browsing scroll down to where is says Show friendly Http error
messages. Make sure this is unticked.

The try again. This should give you a better idea of what is wrong.

Then create or copy a file called index.htm into your web app root
directory C:\Inetpub\wwwroot\$webapp$\.

This file is your default page, basically is IE doesn't know what to do
then it will use this page. If it does go to this page know, then it
means you are trying to call a page that you don't have
 
J

J_J

Thanks Terren,
Maybe I should have said that I am using an XP.
Your first suggestion (ticked or unticked) has not changed anything.
Thus with XP I do not have such a path (Inetpub) on C...I beleive this is
valid for Windows98 only.
Regards
J_J
 
B

Bob Barrows [MVP]

J_J said:
Hi,

Below is the message I received when I attempted to use a web page on
our network that makes use of ASP.

The page cannot be displayed
You have attempted to execute a CGI, ISAPI, or other executable
program from a directory that does not allow programs to be executed.
--------------------------------------------------------------------------------

Please try the following:

a.. Contact the Web site administrator if you believe this directory
should allow execute access.
HTTP Error 403.1 - Forbidden: Execute access is denied.
Internet Information Services (IIS)

--------------------------------------------------------------------------------


Does that mean that we need to relocate the files where the server
allows ASP executable commands to function?

Not necessarily
Or can the directories properties be changed so that such executables
is allowed?
Yes. This is done by using IIS Manager. You can find information about this
at www.iisfaq.com
 
P

Prabhat

J_J said:
Hi,

Below is the message I received when I attempted to use a web page on our
network that makes use of ASP.

The page cannot be displayed
You have attempted to execute a CGI, ISAPI, or other executable program from
a directory that does not allow programs to be executed.
-------------------------------------------------------------------------- ------

Please try the following:

a.. Contact the Web site administrator if you believe this directory
should allow execute access.
HTTP Error 403.1 - Forbidden: Execute access is denied.
Internet Information Services (IIS)

-------------------------------------------------------------------------- ------


Does that mean that we need to relocate the files where the server allows
ASP executable commands to function?
Or can the directories properties be changed so that such executables is
allowed?

TIA
J_J

Hi,

Verify the execute permission is set to "Script and Executable" for the
folder that contains the executables.

To do this: open ISM and select the website, virtual dir and go the the
specific folder and see property - Execute Permission.

Thanks
Prabhat
 
D

Danny@Kendal

J_J said:
Hi,

Below is the message I received when I attempted to use a web page on our
network that makes use of ASP.

The page cannot be displayed
You have attempted to execute a CGI, ISAPI, or other executable program
from a directory that does not allow programs to be executed.

For WindowsXP running a personal IIS webserver, do the following:

Control Panel -> Administrative Tools -> IIS WebServer

Use the folder tree on the left to navigate to where your local website is
stored.

Right-click (or left-click if you've swapped the button functions around) on
the folder then select PROPERTIES

Look near the bottom of the first tab (Directory), there should be an option
called "Execute Permissions". Make sure it reads "Scripts only" or "Scripts
and Executables".

Did that cure it?
 
J

J_J

Thank you so much;
Evertjan, Terren, Bob, Prabhat and Danny
You guys are great. I get in touch with our web admin and find out that the
Server was enabled to run ASP.NET but not ASP. Enabled it and
..........everything turned to normal.
Thank you all
J_J
 

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,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top