473,473 Members | 1,924 Online
Bytes | Software Development & Data Engineering Community
Create 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 1681
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*******@discussions.microsoft.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*******@discussions.microsoft.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*******@discussions.microsoft.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*******@discussions.microsoft.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.asp" 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
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. #...
16
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...
1
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...
2
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: ...
8
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...
0
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...
5
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...
3
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...
2
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....
9
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...
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
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...
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: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
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: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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 ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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...

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.