fosseitsl
asked on
A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown
Thie above error has been noted on many messageboards without a clear fix to the issues.
The site is a single sbs 2003 server with a firewall router and windows updated to the latest security updates and a valid GoDaddy SSL certificate with a remote.domain.com dns address
The device is a HTC HD2 from O2 with activesync 6.5
Using Exchange Remote Connectivity Analyzer www.testexchangeconnectivity.com as my test base.
If I use domain\user and the correct password - no problems - successfully green ticks throughout and is able to count over 3000 messages.
If I use the valid email address of this account user@domain.com instead of domain\user it fails with:
An ActiveSync session is being attempted with the server.
Errors were encountered while testing the ActiveSync session
Test Steps
ExRCA is attempting to send the OPTIONS command to the server.
Testing of the OPTIONS command failed. For more information, see Additional Details.
Additional Details
A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown
In the logfile C:\WINDOWS\system32\LogFil es\W3SVC1\ ex100615.l og
2010-06-15 09:10:55 W3SVC1 xxx.xxx.xxx.xxx OPTIONS /Microsoft-Server-Activesy nc/ - 443 user@domain.com xxx.xxx.xxx.xxx Microsoft-Server-ActiveSyn c/12.0+(Te stExchange Connectivi ty.com) 401 1 1326
(identifiable details removed)
Which other users have stated that 1326 means ERROR_LOGON_FAILURE but it is the same account for both authentication methods.
oma is the same issue - login as domain\user - works successfully, login as email address fails.
I suspect that once the email address login succeeds - the HTC HD2 device will connect.
Kind Regards
fosseitsl
The site is a single sbs 2003 server with a firewall router and windows updated to the latest security updates and a valid GoDaddy SSL certificate with a remote.domain.com dns address
The device is a HTC HD2 from O2 with activesync 6.5
Using Exchange Remote Connectivity Analyzer www.testexchangeconnectivity.com as my test base.
If I use domain\user and the correct password - no problems - successfully green ticks throughout and is able to count over 3000 messages.
If I use the valid email address of this account user@domain.com instead of domain\user it fails with:
An ActiveSync session is being attempted with the server.
Errors were encountered while testing the ActiveSync session
Test Steps
ExRCA is attempting to send the OPTIONS command to the server.
Testing of the OPTIONS command failed. For more information, see Additional Details.
Additional Details
A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown
In the logfile C:\WINDOWS\system32\LogFil
2010-06-15 09:10:55 W3SVC1 xxx.xxx.xxx.xxx OPTIONS /Microsoft-Server-Activesy
(identifiable details removed)
Which other users have stated that 1326 means ERROR_LOGON_FAILURE but it is the same account for both authentication methods.
oma is the same issue - login as domain\user - works successfully, login as email address fails.
I suspect that once the email address login succeeds - the HTC HD2 device will connect.
Kind Regards
fosseitsl
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Just seen this question pop up on the abandoned list.
I know you have requested it be closed, but I am happy to work with you on this if you want to and am probably the most qualified Exchange person to assist you with Activesync on an Exchange 2003 server.
If not - no worries and sorry I didn't pick it up earlier.
Alan
I know you have requested it be closed, but I am happy to work with you on this if you want to and am probably the most qualified Exchange person to assist you with Activesync on an Exchange 2003 server.
If not - no worries and sorry I didn't pick it up earlier.
Alan
ASKER
Alan,
Thankyou for your comment.
Does email address authentication actually work with activesync - checking various SBS Servers and domain member exchange 2003 servers appear not to accept this form of authentication?
Kind Regards
Paul
Thankyou for your comment.
Does email address authentication actually work with activesync - checking various SBS Servers and domain member exchange 2003 servers appear not to accept this form of authentication?
Kind Regards
Paul
To be totally honest - I have never tried it!
I have always used my domain \ username for credentials and not the email address.
Just running a test using the following test app:
https://store.accessmylan.com/main/diagnostic-tools
In short - on my Exchange 2010 server the answer is NO.
I have always used my domain \ username for credentials and not the email address.
Just running a test using the following test app:
https://store.accessmylan.com/main/diagnostic-tools
In short - on my Exchange 2010 server the answer is NO.
ASKER
Same as 2003 and 2007!
I have seen some threads suggesting tha it works when using GMAIL, but I have never seen it done that way in 2003 or 2007, but that does not mean it cannot be done.
Do you have an issue using the domain and username instead of the email address?
Do you have an issue using the domain and username instead of the email address?
ASKER
Alan,
The initial reason for this case was that HTC HD2 device could not authenticate to Exchange 2003 Activesync. O2 suggested using an email address as the username which never worked. But someone on another newsgroup suggested that using the fqdn local domain name worked instead.
I was raising an issue of authentication of email address as O2 suggested that solution but appears that they may be giving out false hope.
Thankyou for your comments
Paul
The initial reason for this case was that HTC HD2 device could not authenticate to Exchange 2003 Activesync. O2 suggested using an email address as the username which never worked. But someone on another newsgroup suggested that using the fqdn local domain name worked instead.
I was raising an issue of authentication of email address as O2 suggested that solution but appears that they may be giving out false hope.
Thankyou for your comments
Paul
Sure - I understand.
Are you not working and you need help, or are you happy and working?
Are you not working and you need help, or are you happy and working?
ASKER
1. Enable anonymous access and Integrated Windows Authentication are checked in both Default web site and exchange-oma directories.
2. Integrated Windows Authentication is checked in ExAdmin directory (Note: you must have this directory in SBS for ActiveSync to work).
3. Only Basic Authentication is checked in Exchange, Microsoft-Server-ActiveSyn
4. Only Enable anonymous access is checked in Exchweb.