|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Dear All,
Newbie here so please be gentle! This question might be more of an IIS Issue than ASP, so if I have posted in the wrong forum, please move accordingly. I have created an ASP page which has been set as the default document in IIS. This is in a subfolder with a virtual directory, lets say for arguments sake, "IMTest". If I attempt to load the asp directly, I get a 404. If, however, I simply type in the dir name http://mydomain.com/IMTest I get the correct re-dir from the asp. Am I missing something trivial here? :| Mark |
|
#2
|
|||
|
|||
|
What do you mean by "load the asp directly"? If you are trying to navigate to the file in windows explorer and send the asp file to your browser, it will not work. ASP must be served up by a webserver supporting asp.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Doug, thank you for the reply.
What I was trying to say was, if I type into the webbrowser http://mydomain.com/IMTest/websearch.asp I get an error, whereas if I type in just the directory address http://mydomain.com/IMTest/ it resolves the asp to show the login page, but not go on from there. It's as though its lost in the directory structure or something. Mark |
|
#4
|
|||
|
|||
|
Is there any redirect in your asp page?
Try putting a simple one-line test page in the same web folder for a start. Using notepad or another text editor, make a file named mytest.asp (or any other filename you like) and put it in the same web directory. The contents of the file will be a one-line asp code: <% response.write "yay, my asp page is working!" %> Then try opening this page directly and see if it works. If you see the text string in your browser, asp is processing properly and you should look into your search page for some code error. If you get a 404 error then there is something wrong with your IIS virtual directory, use the IIS service manager to review the web settings. |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > IIS 5 Directories & ASP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|