473,804 Members | 2,296 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HTTP error 404 when calling ASP page.

I have 2 sites on my Windows Server 2003/ISA/IIS machine.
One of the sites works fine and has 'default.htm' for the
default document. The other site returns an 'HTTP error
404' and has a 'default.asp' for the default document.
Aside from that they appear to be configured the same.
Any ideas?

Thanks,
Brian
Jul 19 '05 #1
4 1698
Turn off 'show friendly http errors' in Tools / Internet Options / Advanced.
Or, view the page in Netscape / Firebird / Mozilla / Opera.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Brian Rupert" <an*******@disc ussions.microso ft.com> wrote in message
news:c6******** *************** *****@phx.gbl.. .
I have 2 sites on my Windows Server 2003/ISA/IIS machine.
One of the sites works fine and has 'default.htm' for the
default document. The other site returns an 'HTTP error
404' and has a 'default.asp' for the default document.
Aside from that they appear to be configured the same.
Any ideas?

Thanks,
Brian

Jul 19 '05 #2
Aaron,
Thanks for your reply, however, I tried your suggestion
with no success.
More specifically, the error reads "File or directory not
found". However, I can clearly browse to it from Windows
Explorer.

Brian
-----Original Message-----
Turn off 'show friendly http errors' in Tools / Internet Options / Advanced.Or, view the page in Netscape / Firebird / Mozilla / Opera.
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Brian Rupert" <an*******@disc ussions.microso ft.com> wrote in messagenews:c6******* *************** ******@phx.gbl. ..
I have 2 sites on my Windows Server 2003/ISA/IIS machine. One of the sites works fine and has 'default.htm' for the default document. The other site returns an 'HTTP error
404' and has a 'default.asp' for the default document.
Aside from that they appear to be configured the same.
Any ideas?

Thanks,
Brian

.

Jul 19 '05 #3
Do you have ASP enabled? I know that in IIS 6, you have to enable something
before any ASP pages will execute. As I have yet to experience IIS 6, I
cannot comment on where this setting is or what it may be called. But, this
comes up pretty often in m.p.inetserver. iis, I believe, so you may find a
PAQ in there with the answer.

--

Ray at home
Microsoft ASP MVP
"Brian Rupert" <an*******@disc ussions.microso ft.com> wrote in message
news:d0******** *************** *****@phx.gbl.. .
Aaron,
Thanks for your reply, however, I tried your suggestion
with no success.
More specifically, the error reads "File or directory not
found". However, I can clearly browse to it from Windows
Explorer.

Brian
-----Original Message-----
Turn off 'show friendly http errors' in Tools / Internet

Options / Advanced.
Or, view the page in Netscape / Firebird / Mozilla /

Opera.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Brian Rupert" <an*******@disc ussions.microso ft.com>

wrote in message
news:c6******* *************** ******@phx.gbl. ..
I have 2 sites on my Windows Server 2003/ISA/IIS machine. One of the sites works fine and has 'default.htm' for the default document. The other site returns an 'HTTP error
404' and has a 'default.asp' for the default document.
Aside from that they appear to be configured the same.
Any ideas?

Thanks,
Brian

.

Jul 19 '05 #4
> Thanks for your reply, however, I tried your suggestion
with no success.
More specifically, the error reads "File or directory not
found". However, I can clearly browse to it from Windows
Explorer.


Oh, ok. Are you typing "C:\path\file.a sp" into your browser? Don't do
that! http://localhost/file.asp

If that's not the issue, you're going to have to provide more information
(unless you want random guesses).

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #5

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

Similar topics

7
9293
by: Michael Foord | last post by:
#!/usr/bin/python -u # 15-09-04 # v1.0.0 # auth_example.py # A simple script manually demonstrating basic authentication. # Copyright Michael Foord # Free to use, modify and relicense. # No warranty express or implied for the accuracy, fitness to purpose
16
2655
by: Steve Jorgensen | last post by:
I'm trying to figure out if there is a way to generate standard error handlers that "know" if the calling code has an error handler in effect (On Error Goto <label> or On Error Resume Next) before deciding how to respond. Does anyone know if this is possible.
1
3160
by: Keith | last post by:
All, I have been told this is an ASP.NET issue and not an IIS issue, so I am posting this here. I have a problem with ASP.NET returning an HTTP 500 error when trying to run ASPX pages on Windows Server 2003 Enterprise Edition Only. This works on Windows 2000, Windows 2003 Web Edition and
2
1627
by: Miro | last post by:
I have an application with a couple of aspx-sites in a frame.aspx, consuming two web-services. (three projects in the same solution) I install this in a tree structure as follows: <webbserver>\<ApplicationName>\<firstWebserviceName> <webbserver>\<ApplicationName>\<secondWebserviceName> <webbserver>\<ApplicationName>\<clientName>
8
24283
by: Andreas Klemt | last post by:
Hello, I get this error Message "cannot redirect after http headers have been sent" when I do this response.redirect ("home.aspx") How can I find out with vb.net if already a http header has been sent like If response.IsSentHttpHeader then ....
0
1568
by: Sean OConnor | last post by:
I have three servers, public web server (e.g. web1), file server (file1), and web services server (service1). web1 is in the DMZ and file1 and service1 are internal. I'm calling the webservices from an ASP page using the Microsoft SOAP Toolkit 2.0. I'm seting impersonation in my web.config using an service account that has the appropriate permissions. When I call the services from an ASP page on service1 everything works correctly. However,...
5
10403
by: David Lozzi | last post by:
Howdy, I wrote a web service in .Net for my customer. My customer has another vendor who now has to consume it but they are not using Visual Studio. Most of their pages are jsp, and they said they need to consume this web service using HTTP. The developer's IDE is Notepad. Yeah, weird I know. How is this done? I guess if I can get it to run ASP, IDE independant, that should make them happy. Any references you can point me to?
3
6146
by: fniles | last post by:
In our ASP page, we call XMLHttp to download XML files. When calling our page using localhost (localhost/myWebSite/myPage.htm), it works, but when calling using the IP address of the web server (xx.x.x.xxx/myWebSite/myPage.htm), I got "Permission denied" error in the HTTP.Open statement. Set http = CreateObject("Microsoft.XmlHttp") http.open "Get", "http://" & "xx.x.x.xxx" & "/XMLFiles/N-1min.xml", ALSE --> permission denied error
2
2180
by: Nathan Sokalski | last post by:
I have a DataList in which the ItemTemplate contains two Button controls that use EventBubbling. When I click either of them I receive the following error: Server Error in '/' Application. -------------------------------------------------------------------------------- Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/in configuration or <%@ Page EnableEventValidation="true"...
9
2951
by: Ratfish | last post by:
I'm getting a "2014:: Commands out of sync; you can't run this command now" error on a php page when I try to call a second stored procedure against a MySQL db. Does anyone know why I might be getting this error? The error doesn't occur on my development box where I use the 'root' db user, but does occur in production where I'm using a non- root user record to establish a connection. I'm essentially opening a connection at the top of...
0
9714
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9594
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
10599
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
10347
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
10090
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
9173
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
7635
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...
1
4308
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 we have to send another system
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.