Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 1st, 2004, 11:15 AM
MarkyMark MarkyMark is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 2 MarkyMark User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy IIS 5 Directories & ASP

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

Reply With Quote
  #2  
Old March 1st, 2004, 12:53 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
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

Reply With Quote
  #3  
Old March 2nd, 2004, 06:30 AM
MarkyMark MarkyMark is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 2 MarkyMark User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #4  
Old March 2nd, 2004, 12:17 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
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.

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > IIS 5 Directories & ASP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT