473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ASP forbidden on the network

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
Sep 27 '05 #1
7 4969
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.
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Sep 27 '05 #2
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

Sep 27 '05 #3
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

"Terren" <pa**@legalperfect.co.za> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
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

Sep 27 '05 #4

"J_J" <jj@msn.com> wrote in message
news:OS**************@TK2MSFTNGP11.phx.gbl...
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


Sep 27 '05 #5
J_J wrote:
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

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Sep 27 '05 #6
"J_J" <jj@msn.com> wrote in message
news:OS**************@TK2MSFTNGP11.phx.gbl...
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?
Sep 27 '05 #7
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
"Danny@Kendal" <da***@STOPSPAMghpkendal.co.uk> wrote in message
news:Qv********************@eclipse.net.uk...
"J_J" <jj@msn.com> wrote in message
news:OS**************@TK2MSFTNGP11.phx.gbl...
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?

Sep 27 '05 #8

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

Similar topics

1
by: Oleg Konovalov | last post by:
Hi, I am trying to create 2 separate environments (dev and test) on one powerful Unix server which has 2 network cards, 2 IP addresses, 2 server names... Using Apache 2.0.43 and Tomcat...
0
by: Oleg Konovalov | last post by:
Hi, I am trying to create 2 separate environments (dev and test) on one powerful Unix server which has 2 network cards, 2 IP addresses, 2 server names... Using Apache 2.0.43 and Tomcat...
3
by: Ramir Santos | last post by:
I am using http to access my cube (MS Analysis Server) and there are users who are getting "Query could not be processed. Access is forbidden" intermittently. Can someone help out and let me know...
2
by: Nilay Shah | last post by:
Hi, I am trying to connect to web page using following code: client = new WebClient(); strURL = ConfigurationSettings.AppSettings .ToString(); client.DownloadFile...
0
by: Layne L via DotNetMonster.com | last post by:
Trying to install a .NET application on a Windows 2003 Server ( .NET v1.1) and for any . aspx file get the following error: 403.1 Forbidden: Execute Access Forbidden The application has...
5
by: Tony Girgenti | last post by:
Hello. I developed and tested a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1. It uses a web form. Development testing works fine on my...
5
by: Jay | last post by:
have some methods(signIn()) in MyService.dll, that I use from my webpage. SignIn() { requestCommand = (HttpWebRequest)WebRequest.Create(http://myserver/cwa/MainCommandHandler.ashx); ...
1
by: =?Utf-8?B?Tko=?= | last post by:
Hi everyone, Every now and then I'm receiving the error posted below. I"m routing all my traffic through mod_proxy (apache) to my asp.net 2.0 (w2k3) machine. I can't reproduce this error and my...
6
by: Doug Ferguson | last post by:
I am using a webservice client that was created from a WSDL file in .Net 1.1. The client ALWAYS works the first time I call it. The second call returns one of two exceptions. It either returns...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
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
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...

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.