|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
ok so i've had a working IIS server for quite some time, I had it working with asp and php. However recently when trying to access an .asp file . it gives a 404 error
HTTP 404 - File not found This makes no sense since i can see the file in my directory and in IIS.. what also doesnt make sense is that if i add the file as the default page it it will show up... help would be much appreciated... if you need some more info please ask. ![]() WIN2k3 IIS6 |
|
#2
|
|||
|
|||
|
How are you trying to call the missing file?
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
how am i trying to call it?
Through a browser.. i can browse ay other file type except asp they all worked before. now they dont,, |
|
#4
|
|||
|
|||
|
also the ASP Web Extentions are set to allowed.
They worked in the past, i just don't remember the last time they worked. ![]() for example The Default Content Page is set to index.asp http://aztecadeoro.biz/ <-- Works http://aztecadeoro.biz/index.asp <-- Doesnt Work http://aztecadeoro.biz/index.php <--Works http://aztecadeoro.biz/index.html <--Works |
|
#5
|
|||
|
|||
|
What version of IIS? Are you trying to get index.asp to work as a default document for a folder, or are you saying no asp pages of any name work?
File Not Found errors means just that, the url you specified doesn't end up at an existing file. |
|
#6
|
|||
|
|||
|
What version of IIS? 6.0
Are you trying to get index.asp to work as a default document for a folder? i already have it working as default as you can see http://aztecadeoro.biz or are you saying no asp pages of any name work? none of my asp pages work unless they are default.. the problem is asp documents only work if they are default.. http://aztecadeoro.biz and http://aztecadeoro.biz/index.asp should come up as the same file.. if you look at http://test.aztecadeoro.biz you see the directory listing and see that the files are in the same directory |
|
#7
|
|||
|
|||
|
How do you know the asp page is being served as the default document? IIS has a list of possible default documents, so you may be getting default.htm or some other default than the asp one. Take a look at your index.asp code and make some edits that make it distinct, because I was able to "save as" and the html in the file I got called index.asp is the html for the error message. If that's not the source of the page, then you have some kind of custom error trapping on your server, and that may be hiding the real error.
|
|
#8
|
|||
|
|||
|
because i set index.asp as default. and deleted all the rest.
this makes no sense what so ever.. i made the code in each of the files say the file name.. so the code of index.asp reads.. "index.asp this is set as default" the code of index.html reads.. "index.html this is the html doc" the code of index.php reads.. "index.php this is php" i'm trying to make this is easy as possible. i don;t know what else to do.. |
|
#9
|
|||
|
|||
|
ok so i go to save that .asp file and it says it's no there..
how can that be? i know it is there, I'm looking right at it. i took a screen shot of the default docs and the root of the IIS site. so that you can see that they are there.. http://test.aztecadeoro.biz/iis.bmp |
|
#10
|
|||
|
|||
|
IIS 6 has a setting where you must explicitly enable asp pages, unlike previous versions of IIS. Have you checked that setting?
Beyond that, I don't have IIS6 and can't be of that much help. I'd verify that my virtual directory properties are all correct. I imagine inside this large problem is a small problem struggling to get out ![]() |
|
#11
|
|||
|
|||
|
yes i had check that, just dont know how it could go from working to not working on all 12 sites i host. i've tried all of microsoft's "fixes" and anything i came across on google, was hoping someone could help here.
know of another forum where i could try? if not i'll have to reinstall IIS or the server. thanks for trying.. ![]() |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > ASP no longer recognized? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|