473,666 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HTTP 403.1 Forbidden: Execute Access Forbidden

I'm confused.

On my development box (XP Pro/SP2), I manually created a new Web application
(under the default Web site) and got everything working great (this was a
few weeks ago). Today I manually removed that Web site (via IIS Manger as
well as the underlying NTFS folder structure), and then rebuilt it all from
scratch (created the new NTSF folder structure, defined the Web site in IIS
Manager, manually created the virtual directories, etc). Now when I go to
open it (http://localhost/TheNewSite.com/) I'm getting HTTP 403.1.

In comparing the IIS properties between this site and another one that works
fine, I can see NO differences! Execute permissions are set for [scripts
only]. I've rebooted (not that that should help) but no effect. Where do I
go from here to fix this? All the files are there, no odd NTFS permissions,
nothing exotic about this application.

Thanks!
Nov 19 '05 #1
3 2270
Okay, since the OP I discovered that the WHOLE problem is having the ".com"
as part of the Web application's name.
WHY can't I have a Web app on the local machine named "MyApp.com" but I can
have "myApp" ??

Thanks!
"David Hunt" <A@B.COM> wrote in message
news:Om******** ******@TK2MSFTN GP11.phx.gbl...
I'm confused.

On my development box (XP Pro/SP2), I manually created a new Web
application (under the default Web site) and got everything working great
(this was a few weeks ago). Today I manually removed that Web site (via
IIS Manger as well as the underlying NTFS folder structure), and then
rebuilt it all from scratch (created the new NTSF folder structure,
defined the Web site in IIS Manager, manually created the virtual
directories, etc). Now when I go to open it
(http://localhost/TheNewSite.com/) I'm getting HTTP 403.1.

In comparing the IIS properties between this site and another one that
works fine, I can see NO differences! Execute permissions are set for
[scripts only]. I've rebooted (not that that should help) but no effect.
Where do I go from here to fix this? All the files are there, no odd NTFS
permissions, nothing exotic about this application.

Thanks!

Nov 19 '05 #2
"David Hunt" <A@B.COM> confessed in news:#$LtgVLBFH A.1188
@tk2msftngp13.p hx.gbl:
Okay, since the OP I discovered that the WHOLE problem is having the ".com" as part of the Web application's name.
WHY can't I have a Web app on the local machine named "MyApp.com" but I can have "myApp" ??

Thanks!
"David Hunt" <A@B.COM> wrote in message
news:Om******** ******@TK2MSFTN GP11.phx.gbl...
I'm confused.

On my development box (XP Pro/SP2), I manually created a new Web
application (under the default Web site) and got everything working great (this was a few weeks ago). Today I manually removed that Web site (via
IIS Manger as well as the underlying NTFS folder structure), and then
rebuilt it all from scratch (created the new NTSF folder structure,
defined the Web site in IIS Manager, manually created the virtual
directories, etc). Now when I go to open it
(http://localhost/TheNewSite.com/) I'm getting HTTP 403.1.

In comparing the IIS properties between this site and another one that
works fine, I can see NO differences! Execute permissions are set for
[scripts only]. I've rebooted (not that that should help) but no effect.
Where do I go from here to fix this? All the files are there, no odd NTFS permissions, nothing exotic about this application.

Thanks!



Because a .COM file is the old MS-DOS executable format.

You don't want people to be able to execute .com, .exe, etc. on your
webserver. Many viruses/worms were spread this way a few years ago. Have
you heard of Code Red or NIMDA? That's one of the ways they infected IIS
servers.

-- ipgrunt
Nov 19 '05 #3
..com is a standard domain name extension.

Whenever a browser parses a uri which ends in ".com",
it thinks that the domain name is whatever came previous
to that, plus the .com extension,

So, if you have
http://www.yourserver.com/MyApp.com
the browser will look for the domain
www.yourserver.com/MyApp
which doesn't exist, of course.

If you application ends in *any* standard domain extension,
like .com, .net, or .biz, or .info, or any other, like .tv,
you will *always* get a non-existent domain returned.

Therefore, you can't name any application
using standard domain extensions.

You can only name *domains* with those extensions.

Juan T. Llibre
ASP.NET MVP
===========
"David Hunt" <A@B.COM> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Okay, since the OP I discovered that the WHOLE problem is having the
".com" as part of the Web application's name.
WHY can't I have a Web app on the local machine named "MyApp.com" but I
can have "myApp" ??

Thanks!
"David Hunt" <A@B.COM> wrote in message
news:Om******** ******@TK2MSFTN GP11.phx.gbl...
I'm confused.

On my development box (XP Pro/SP2), I manually created a new Web
application (under the default Web site) and got everything working great
(this was a few weeks ago). Today I manually removed that Web site (via
IIS Manger as well as the underlying NTFS folder structure), and then
rebuilt it all from scratch (created the new NTSF folder structure,
defined the Web site in IIS Manager, manually created the virtual
directories, etc). Now when I go to open it
(http://localhost/TheNewSite.com/) I'm getting HTTP 403.1.

In comparing the IIS properties between this site and another one that
works fine, I can see NO differences! Execute permissions are set for
[scripts only]. I've rebooted (not that that should help) but no effect.
Where do I go from here to fix this? All the files are there, no odd NTFS
permissions, nothing exotic about this application.

Thanks!



Nov 19 '05 #4

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

Similar topics

0
2127
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 worked fine on XP systems and multiple Windows 2000 servers. This is what I have tried so far: -Verified Execute Permissions on both Default Web Site and the application's
2
2285
by: Jerry | last post by:
This seems to be a recurring problem and I don't know what I would do if I could not find the answere searching Google/Groups/Comp. Several times I have had this problem were I cannot create a new ASP Web project. The first time it occured I did as instructed uninstalled IIS and then reinstalled. I then executed aspnet_regiis /i and I was able to work. Sometime later after the installation I received several intrusions from nasty...
4
4215
by: Ollie | last post by:
I have wrriten a reverse proxy for a client of mine, this reverse proxy takes the url takes it attempt to access a *.XXXX and returns the the contents of an aspx web page from another internal server, the user then clicks on a button on the page that then posts data to the reverse proxy and it routes to the correct page by creating a web request and setting the method to post. (the reverse proxy is written using the IHttpHandler interface...
0
2070
by: Jim McDonald | last post by:
I'm hoping someone can help with this error - I've been combing Google and MSDN, can't find anything substantial. I'm running VS.NET 2003, Framework 1.1, on Windows 2000 Professional. Every time I try to set up even the most basic web service and run it, I get the following error: Path 'GET' is forbidden System.Web.HttpMethodNotAllowedHandler.ProcessRequest(HttpContext
2
11203
by: Edward Low | last post by:
Hi all, When creating a virtual directory in IIS 5.0 win xp Pro with the name like "abc.com", an error HTTP 403.1 Forbidden: Execute Access Forbidden will return when accessing the web page. But, this will work fine if the virtual directory is named in "abc.com.sg" or others. Why it can't be created with the name "xxxxxx.com"?? Thanks & Best Regards, Edward
0
1382
by: Geoff Murley | last post by:
I am trying to test a simple Web Service and when I invoke a Web Method that returns a Dataset I get: Path 'POST' is forbidden. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Path 'POST' is forbidden.
1
13302
by: PK9 | last post by:
I am receiving the following error in Visual Studio 2003: "the web server reported the following error when attempting to create or open the web project HTTP/1.1 403 Access Forbidden" I am receiving this error when opening a web project that I created on another machine. I have a development machine on which I created an ASP.NET application. By default, it was created in inetpub/wwwroot. I copied this source code (including the...
1
11072
by: Alex Maghen | last post by:
I'm getting the error "HTTP Error 403.1 - Forbidden: Execute access is denied" when I try to reach my ASPX pages. Before I go giving Windows permissions to my docroot, etc., I want to understand what users or, preferably, groups, need to have what permissions for basic operation of ASP.NET 2.0. And specifically WHAT permissions should I give these users?
5
16912
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 development computer, but when i take the files to another computer and install them using the deployment project files, when i go to execute it on the different computer, it gives the error "You are not authorized to view this page. HTTP Error 403 -...
0
8356
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8866
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8550
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8639
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7385
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6192
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4198
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4366
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2011
muto222
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.