Click to See Complete Forum and Search --> : IIS ceased working on local, can't open *.asp pages (XP Pro)
Etchison
02-15-2005, 08:01 PM
This started a couple of days ago, for no apparent reason: no new programs, change in IIS settings, administrators, etc, and no otherwise-noticed viruses or other attacks. The browser -- each of the four I use -- shows that it is trying, really trying, until it eventually gives up.
I tried working with the IIS(5.1) snap-in, first trying to stop-then-restart IIS. At some point, Default SMTP Virtual Server had a red X next to it; later it didn't, but still no action. I eventually removed IIS and reinstalled, and still no action -- I cannot even get to the IIS "home page." asp.dll appears to be in place.
Suggestions?
russell
02-15-2005, 11:04 PM
how are you accessing it? http://localhost/ ?
check yer hosts file? C:\WINDOWS\system32\drivers\etc\hosts
Etchison
02-16-2005, 12:14 AM
Originally posted by russell
how are you accessing it? http://localhost/ ?
check yer hosts file? C:\WINDOWS\system32\drivers\etc\hosts
The last line of \hosts is:
127.0.0.1 localhost
I have been using http://[what I call my machine]/[url].asp. I know the system recognizes the hostname, because it's in the URL for my default home page (which is *.htm).
Michael
russell
02-16-2005, 12:52 AM
1. double-check that the web site is running in the iis mmc
2. double check that the world-wide web publishing service is running (control panel)
3. go to the command prompt and type ipconfig, note the ip address, and type it into your web browser: http://192.168.0.1/ or whatever it is.
use IE. make sure that "show friendly error messages" is not checked in the advanced section of Tools/Options. if it can't find yer site, wait for it to time out. what error message do u get?
Etchison
02-16-2005, 01:26 PM
Originally posted by russell
1. double-check that the web site is running in the iis mmc
The MMC shows just below the icon and "Internet Information Services" an icon and "[name of my computer] (local computer); below that is a folder icon and "Web Sites," below which is an icon and "Default Web Site," below which is the complete list of all the folders/site in wwwroot; then comes the envelope icon and "Default SMTP Virtual Service" etc.
I have set my browsers to "http://[name of my computer]/[name of folder/site]/default.htm" as the home page, and that's what opens.
2. double check that the world-wide web publishing service is running (control panel)
I don't know what that means - looking at Control Panel, I don't see anything about "world-wide web publishing service."
3. go to the command prompt and type ipconfig, note the ip address, and type it into your web browser: http://192.168.0.1/ or whatever it is.
If by "command prompt" you mean Start/Run, when I do that the DOS screen flashes too fast to read.
use IE. make sure that "show friendly error messages" is not checked in the advanced section of Tools/Options.
Done.
if it can't find yer site, wait for it to time out. what error message do u get?
It can find the site (see above) - it just can't run an ASP script. And I have been waiting 15 minutes for it to time out.
russell
02-16-2005, 01:34 PM
command prompt: start -> run -> cmd <enter>
Services: Control Panel -> Administrative Tools -> Services
in the mmc, make sure that the "default web site" is running.
does your server serve up html pages via http, but not asp? if so, in the iis mmc, right-click your web site. click porperties. on the home directory tab, check that script execute permissions are enabled.
Etchison
02-18-2005, 11:48 PM
Originally posted by russell
command prompt: start -> run -> cmd <enter>
Services: Control Panel -> Administrative Tools -> Services
in the mmc, make sure that the "default web site" is running.
does your server serve up html pages via http, but not asp? if so, in the iis mmc, right-click your web site. click porperties. on the home directory tab, check that script execute permissions are enabled.
HTML pages work, ASP don't. Permissions enabled.
russell
02-21-2005, 12:36 AM
did u try a very basic asp page -- something like this
<%
Response.Write "ok"
%>
Etchison
02-21-2005, 01:34 AM
Originally posted by russell
did u try a very basic asp page -- something like this
<%
Response.Write "ok"
%>
Yep. Didn't load - "HTTP 400 - Bad Request"
russell
02-22-2005, 01:08 AM
2 things to try
1 - try with FireFox and IE
2 - download wfetch (http://download.microsoft.com/download/d/e/5/de5351d6-4463-4cc3-a27c-3e2274263c43/wfetch.exe) and try with that. this will let u know if the problem is the client or the server.
sounds like u trashed iis somehow, but maybe it is just your browser, or some registry settings
may need to re-install iis.
what OS? what SP? did a full virus scan? got all the latest windows updates? is yours a licensed copy of windows?
also, double-check in the iis mmc that the port is 80, IP Address is "All Unassigned". go to the Home Directory tab and ensure the local path is correct. Execute permissions should be Scripts Only (or scripts and executables if u need it to be -- but not recommended). go to the directory security tab -- under "anonymous access" click EDIT. tick the "Anonymous Access" checkbox (if it isn't already). Untick "Allow IIS to control password" enter the username and password u log in to the box with (assuming this is your local machine -- if its a network server, don't do this unless u know exactly what u r doing). click ok