RE: Activesync HTTP_500
From: Ben Wolfe [MSFT] (benwolfe_at_online.microsoft.com)
Date: 03/23/04
- Next message: Janti: "Re: When creating E-mail messages on Outlook, can't access my Personal Contac"
- Previous message: alvingautreaux: "RE: Pop up screens"
- In reply to: Marius Hordnes: "RE: Activesync HTTP_500"
- Next in thread: jerry cantrell: "Re: Activesync HTTP_500"
- Reply: jerry cantrell: "Re: Activesync HTTP_500"
- Reply: Marius Hordnes: "RE: Activesync HTTP_500"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 23 Mar 2004 22:46:09 GMT
Hi
One of the main causes of the HTTP_500 error is if Kerberos authentication
has been turned off in the metabase. To verify if Kerberos has been turned
off in the metabase perform the following steps.
1. From a command prompt on the Exchange 2000 computer, change to the
<WinDir>\Inetpub\AdminScripts folder.
2. Type the following, and then press ENTER:
"cscript adsutil.vbs get w3svc/NTAuthenticationProviders" (without the
quotation marks)
If Kerberos is enabled, the ""Negotiate,NTLM"" response appears
If the response is ""NTLM"" only, Kerberos is disabled. To enable
Kerberos, type the following, and then press ENTER:
"cscript adsutil.vbs set w3svc/NTAuthenticationProviders "Negotiate,NTLM""
(without the quotation mark)
IISRESET was what I wanted you to run. This is run from the command line.
Ben Wolfe
Microsoft PSS
This posting is provided 'AS IS' with no warranties and confers no rights.
Please do not send email directly to this alias. This alias is for
newsgroup purposes only.
--------------------
I have no problem doing a: http://servername/exchange .... have always
worked fine..
I have 2 senarios the first wored all fine
the first retuns a http/1.1 401 Unathorized under server response then
---start of body--- then again --server response --
http/1.200 ok
the sceond logfile is the one posted here earlier.
are you sure the problem is kerberos auth
and
when you write issreset, did you mean issrestart....
Thanks
----- Ben Wolfe [MSFT] wrote: -----
When Windows Sharepoint Services is installed it does two things to
the
default website.
- It installs its own ISAPI filter and takes ownership of the default
website, this ISAPI filter handles all incoming url requests. What
this
means is that when you have WSS installed on an Exchange Server, and
you
attempt to browse to http://servername/exchange the WSS ISAPI filter
looks
for the folder called Exchange in its configuration database (which it
can't locate because its not there) instead of redirecting the request
to
the Exchange virutal directory. You can fix this by setting up
exlusions in
WSS but its best not to have WSS installed on an Exchange Server.
-The second thing it does to the default website is turn off Kerberos
Authentication. ActiveSync usess Kerberos authentication when talking
to
the Exchange virtual directory, if Kerberos has been turned off then
the
Exchange Server returns a 401 error to ActiveSync Server, and this in
turn
returns a http_500 error to the device.
Your Pocket PC log files that you sent through show the Exchange
Server is
returning "HTTP/1.1 401 Unauthorized" which indicates that Kerberos
Autentication has been turned off on your default website.
To turn Kerberos back on you need to do the following.
Navigate to the C:\Inetpub\Adminscripts directory
Run this command from command line.
cscript adsutil.vbs set w3svc/1/NTAuthenticationProviders
"Negotiate,NTLM
Run an issreset and then test ActiveSync again.
Ben Wolfe
Microsoft PSS
This posting is provided 'AS IS' with no warranties and confers no
rights.
Please do not send email directly to this alias. This alias is for
newsgroup purposes only.
- Next message: Janti: "Re: When creating E-mail messages on Outlook, can't access my Personal Contac"
- Previous message: alvingautreaux: "RE: Pop up screens"
- In reply to: Marius Hordnes: "RE: Activesync HTTP_500"
- Next in thread: jerry cantrell: "Re: Activesync HTTP_500"
- Reply: jerry cantrell: "Re: Activesync HTTP_500"
- Reply: Marius Hordnes: "RE: Activesync HTTP_500"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|