I am using IIS 6.0 on Windows 2003 Server and have
Software Update Server application also installed.
Everything was working fine up til friday and now it keeps
giving me an error 400. ( Bad Request ), something with
the hostname is wrong. I checked to make sure and IIS 6.0
seems to be running but I know that is where the problem
is because I tried using Wfetch on it and it gave me the
same error.

Anyone know what happened that would give me this error.

Thanks,
Dharmesh Patel

Re: IIS 6.0 Error 400 by David

David
Mon Jan 12 20:00:15 CST 2004

The 400 response may indicate the error with the request.

You can also check %SYSTEMROOT%\System32\LogFiles\HTTPERR\*.log to see the
reason for 400.

If it concerns "wrong hostname", make sure that:
1. If you make a HTTP/1.1 request, send a host header
2. If your request has a host header, make sure there is a website with that
host header that is RUNNING (and not stopped)

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Dharmesh Patel" <anonymous@discussions.microsoft.com> wrote in message
news:02d601c3d95b$3134a190$a501280a@phx.gbl...
I am using IIS 6.0 on Windows 2003 Server and have
Software Update Server application also installed.
Everything was working fine up til friday and now it keeps
giving me an error 400. ( Bad Request ), something with
the hostname is wrong. I checked to make sure and IIS 6.0
seems to be running but I know that is where the problem
is because I tried using Wfetch on it and it gave me the
same error.

Anyone know what happened that would give me this error.

Thanks,
Dharmesh Patel



Re: IIS 6.0 Error 400 by Dharmesh

Dharmesh
Tue Jan 13 11:21:40 CST 2004

I have looked at the HTTPerr\*.Log file already and it
gives me the same error. Hostname is invalid. I know the
hostname is right and have also tried putting in the IP
address. It was working fine and when I got back from over
the weekend it wasn't connecting. I can't even connect to
the website using the server itself. <http://localhost/*>
All the services seem to have started and are running
fine. I have already tried restarting services, restarting
the server, shutting down waiting a while and then
restarting the server. Nothing seems to be working.

I'm sure if i reinstalled it it would probably start
working again but is there a way to fix it without
uninstalling and reinstalling everything.

Thanks,
Dharmesh Patel

Re: IIS 6.0 Error 400 by David

David
Tue Jan 13 16:01:09 CST 2004

HTTP Error 400 should not need a reinstall to fix.

Make sure the hostname you are sending on the request (use WFetch and give
the Host: header on the request itself) has a registered website in IIS6
with that as hostname. The triplet of IP:Host:Port must be unique amongst
all websites, and the IP:Port must be available to be bound by IIS.

Make sure there's no eventlog messages from IIS saying that it cannot bind
websites to IP. In those cases, IIS will start, but nothing will serve
(from IIS's perspective, it is running OK; you're just misconfiguring
websites).

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Dharmesh patel" <dbpatel@wisc.edu> wrote in message
news:0cfd01c3d9f9$b5449280$a601280a@phx.gbl...
I have looked at the HTTPerr\*.Log file already and it
gives me the same error. Hostname is invalid. I know the
hostname is right and have also tried putting in the IP
address. It was working fine and when I got back from over
the weekend it wasn't connecting. I can't even connect to
the website using the server itself. <http://localhost/*>
All the services seem to have started and are running
fine. I have already tried restarting services, restarting
the server, shutting down waiting a while and then
restarting the server. Nothing seems to be working.

I'm sure if i reinstalled it it would probably start
working again but is there a way to fix it without
uninstalling and reinstalling everything.

Thanks,
Dharmesh Patel