shaun1610
asked on
Exchange ActiveSync returned an HTTP 500 response
Hi there,
I have a SBS 2003 machine with exchange SP 2 installed. I'm trying to connect some new iphones to our exchange server but having difficulties (despite much progress). I can ow successfully verify them on the iphones but they will not send or receive email.
On running www.testexchangeconnectivity.com i get all greens with the exception of:
Attempting FolderSync command on ActiveSync session
FolderSync command test failed
Tell me more about this issue and how to resolve it
Additional Details
Exchange ActiveSync returned an HTTP 500 response.
I have followed all the instructions in https://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_1798-Exchange-2003-Activesync-Connection-Problems-FAQ.html for the virtual directory configurations and now at a stand still.
Would greatly appreciate some advice \ guidance in integrating these iphones.
I have also downloaded and used the ihone activesync tester utility and again, I get all passes with exception of :
Active sync is NOT available. (activesync detected, but not correctly configured. (HTTP 500:Forms-based auth enabled?)
I have already disabled the forms based authentication in exchange?
I have a SBS 2003 machine with exchange SP 2 installed. I'm trying to connect some new iphones to our exchange server but having difficulties (despite much progress). I can ow successfully verify them on the iphones but they will not send or receive email.
On running www.testexchangeconnectivity.com i get all greens with the exception of:
Attempting FolderSync command on ActiveSync session
FolderSync command test failed
Tell me more about this issue and how to resolve it
Additional Details
Exchange ActiveSync returned an HTTP 500 response.
I have followed all the instructions in https://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_1798-Exchange-2003-Activesync-Connection-Problems-FAQ.html for the virtual directory configurations and now at a stand still.
Would greatly appreciate some advice \ guidance in integrating these iphones.
I have also downloaded and used the ihone activesync tester utility and again, I get all passes with exception of :
Active sync is NOT available. (activesync detected, but not correctly configured. (HTTP 500:Forms-based auth enabled?)
I have already disabled the forms based authentication in exchange?
ASKER
oh dear..
OK. I did recently install SP 2 and note that when I now go to re run internet wizard it states that this is not a windows small business computer. Are you aware of this issue and could it have anything to do with it?
OK. I did recently install SP 2 and note that when I now go to re run internet wizard it states that this is not a windows small business computer. Are you aware of this issue and could it have anything to do with it?
That does not sounds like a happy SBS box - I'll do some digging.
Are there any errors in the Application Event log that appear when you run the Wizard?
When you say SP2 - is that Exchange SP2 or Windows 2003 server SP2?
Are there any errors in the Application Event log that appear when you run the Wizard?
When you say SP2 - is that Exchange SP2 or Windows 2003 server SP2?
ASKER
both SPs installed and nothing untowardly in the application log although my skills very limited!
Can you please take a screen dump of the error message you see when you run the Wizard and post it here.
Thanks
Thanks
ASKER
error message \ prompt attached
Capture.JPG
Capture.JPG
Prior to installing SP2 for Windows - what SP level was the SBS box at?
ASKER
That seems to have worked fine on the internet wizard error - thanks :)
I will follow the steps you suggested in the morning as been at it too long today - any other ideas or suggestions please let me know.
Thanks
I will follow the steps you suggested in the morning as been at it too long today - any other ideas or suggestions please let me know.
Thanks
Understood. Fingers crossed.
ASKER
Hi Alanhardisty, I followed your steps as recommended (with no issues) but unfortunately when running the exchange connectivity test I still get the following:
Attempting FolderSync command on ActiveSync session
FolderSync command test failed
Tell me more about this issue and how to resolve it
Additional Details
Exchange ActiveSync returned an HTTP 500 response.
This is driving me nuts! also, whenrunning the iphone Activesync tester I still get:
Active sync is NOT available. (activesync detected, but not correctly configured. (HTTP 500:Forms-based auth enabled?)
Is there anything else you can advise? I'm also a little concerned with the domains that I am using for the tests e.g. should I be using the netbios domain or domain realm (domain.local) note the email address is domain.co.uk?
Also, just so this is not overlooked, does active sync need to be installed on a users laptop and synced with an iphone in the first instance?
Again, any further ideas \ suggestions to crack this http 500 error would be greatly appreciated!
Attempting FolderSync command on ActiveSync session
FolderSync command test failed
Tell me more about this issue and how to resolve it
Additional Details
Exchange ActiveSync returned an HTTP 500 response.
This is driving me nuts! also, whenrunning the iphone Activesync tester I still get:
Active sync is NOT available. (activesync detected, but not correctly configured. (HTTP 500:Forms-based auth enabled?)
Is there anything else you can advise? I'm also a little concerned with the domains that I am using for the tests e.g. should I be using the netbios domain or domain realm (domain.local) note the email address is domain.co.uk?
Also, just so this is not overlooked, does active sync need to be installed on a users laptop and synced with an iphone in the first instance?
Again, any further ideas \ suggestions to crack this http 500 error would be greatly appreciated!
For the Activesync test, please use the following settings:
Manually specify server settings
Enter the FQDN for your server e.g., mail.yourdomain.com - as long as this resolves in DNS to your Internet Facing IP Address.
Domain\Username - internal domain name e.g., company\user not company.local\user
Password - No clues!
You can tick the Ignore trust check box if you are using a self-signed certificate otherwise it will fail.
No connection between the device and the PC needs to be made before it will work and quite often, this can make matters worse!
Please run the tests again, using the above settings and report back with the results.
Manually specify server settings
Enter the FQDN for your server e.g., mail.yourdomain.com - as long as this resolves in DNS to your Internet Facing IP Address.
Domain\Username - internal domain name e.g., company\user not company.local\user
Password - No clues!
You can tick the Ignore trust check box if you are using a self-signed certificate otherwise it will fail.
No connection between the device and the PC needs to be made before it will work and quite often, this can make matters worse!
Please run the tests again, using the above settings and report back with the results.
ASKER
The result with the following 3 domain\username settings:
Domain.local\username
Attempting an ActiveSync session with server
Errors were encountered while testing the ActiveSync session
Test Steps
Attempting to send OPTIONS command to server
OPTIONS response was successfully received and is valid
Additional Details
Headers received: Connection: close
MicrosoftOfficeWebServer: 5.0_Pub
Pragma: no-cache
Public: OPTIONS, POST
Allow: OPTIONS, POST
MS-Server-ActiveSync: 6.5.7638.1
MS-ASProtocolVersions: 1.0,2.0,2.1,2.5
MS-ASProtocolCommands: Sync,SendMail,SmartForward ,SmartRepl y,GetAttac hment,GetH ierarchy,C reateColle ction,Dele teCollecti on,MoveCol lection,Fo lderSync,F olderCreat e,FolderDe lete,Folde rUpdate,Mo veItems,Ge tItemEstim ate,Meetin gResponse, ResolveRec ipients,Va lidateCert ,Provision ,Search,No tify,Ping
Content-Length: 0
Date: Sun, 08 Nov 2009 19:10:25 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Attempting FolderSync command on ActiveSync session
FolderSync command test failed
Tell me more about this issue and how to resolve it
Additional Details
Exchange ActiveSync returned an HTTP 500 response.
Domain\username
Attempting an ActiveSync session with server
Errors were encountered while testing the ActiveSync session
Test Steps
Attempting to send OPTIONS command to server
Testing the OPTIONS command failed. See Additional Details for more info
Additional Details
A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown
Netbios domain (one char shorter)\username
Attempting an ActiveSync session with server
Errors were encountered while testing the ActiveSync session
Test Steps
Attempting to send OPTIONS command to server
OPTIONS response was successfully received and is valid
Additional Details
Headers received: Connection: close
MicrosoftOfficeWebServer: 5.0_Pub
Pragma: no-cache
Public: OPTIONS, POST
Allow: OPTIONS, POST
MS-Server-ActiveSync: 6.5.7638.1
MS-ASProtocolVersions: 1.0,2.0,2.1,2.5
MS-ASProtocolCommands: Sync,SendMail,SmartForward ,SmartRepl y,GetAttac hment,GetH ierarchy,C reateColle ction,Dele teCollecti on,MoveCol lection,Fo lderSync,F olderCreat e,FolderDe lete,Folde rUpdate,Mo veItems,Ge tItemEstim ate,Meetin gResponse, ResolveRec ipients,Va lidateCert ,Provision ,Search,No tify,Ping
Content-Length: 0
Date: Sun, 08 Nov 2009 19:08:43 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Attempting FolderSync command on ActiveSync session
FolderSync command test failed
Tell me more about this issue and how to resolve it
Additional Details
Exchange ActiveSync returned an HTTP 500 response.
Domain.local\username
Attempting an ActiveSync session with server
Errors were encountered while testing the ActiveSync session
Test Steps
Attempting to send OPTIONS command to server
OPTIONS response was successfully received and is valid
Additional Details
Headers received: Connection: close
MicrosoftOfficeWebServer: 5.0_Pub
Pragma: no-cache
Public: OPTIONS, POST
Allow: OPTIONS, POST
MS-Server-ActiveSync: 6.5.7638.1
MS-ASProtocolVersions: 1.0,2.0,2.1,2.5
MS-ASProtocolCommands: Sync,SendMail,SmartForward
Content-Length: 0
Date: Sun, 08 Nov 2009 19:10:25 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Attempting FolderSync command on ActiveSync session
FolderSync command test failed
Tell me more about this issue and how to resolve it
Additional Details
Exchange ActiveSync returned an HTTP 500 response.
Domain\username
Attempting an ActiveSync session with server
Errors were encountered while testing the ActiveSync session
Test Steps
Attempting to send OPTIONS command to server
Testing the OPTIONS command failed. See Additional Details for more info
Additional Details
A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown
Netbios domain (one char shorter)\username
Attempting an ActiveSync session with server
Errors were encountered while testing the ActiveSync session
Test Steps
Attempting to send OPTIONS command to server
OPTIONS response was successfully received and is valid
Additional Details
Headers received: Connection: close
MicrosoftOfficeWebServer: 5.0_Pub
Pragma: no-cache
Public: OPTIONS, POST
Allow: OPTIONS, POST
MS-Server-ActiveSync: 6.5.7638.1
MS-ASProtocolVersions: 1.0,2.0,2.1,2.5
MS-ASProtocolCommands: Sync,SendMail,SmartForward
Content-Length: 0
Date: Sun, 08 Nov 2009 19:08:43 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Attempting FolderSync command on ActiveSync session
FolderSync command test failed
Tell me more about this issue and how to resolve it
Additional Details
Exchange ActiveSync returned an HTTP 500 response.
Did you reset the Virtual Directories, re-run the connect to the internet wizard and then check permissions as per my FAQ?
ASKER
yes followed the steps including the iis resets. cant help but think it is something more simple!
For ref, i have tried the outlook connectivity tests and get the following erroor - not sure if it is related?
Attempting to ping RPC Endpoint 6001 (Exchange Information Store) on server mail.servername.co.uk
Confusing thing is that both https:\\mail.servername.co.uk\exchange and https:\\mail.servername.co.uk\oma both work fine on IE and iphone web browser.
For ref, i have tried the outlook connectivity tests and get the following erroor - not sure if it is related?
Attempting to ping RPC Endpoint 6001 (Exchange Information Store) on server mail.servername.co.uk
Confusing thing is that both https:\\mail.servername.co.uk\exchange and https:\\mail.servername.co.uk\oma both work fine on IE and iphone web browser.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Working !!
The SBS 2003 best practise analyzer identified that http keep alives 'should' be enabled. I did this then I got the green lights and the iPhone now syncs.
many thanks for your help and patience!
The SBS 2003 best practise analyzer identified that http keep alives 'should' be enabled. I did this then I got the green lights and the iPhone now syncs.
many thanks for your help and patience!
ASKER
very helpful
Excellent news - well done.
I too had to enable those damn 'keep alives' lol :)
Thanks!
Thanks!
Im having the same problem. But my 'keep alives' are enabled. Does anyone have any more ideas please?
Thanks in advance
Scott
Thanks in advance
Scott
Thanks for the quick reply
I went right through your article (excellent by the way) and I had no luck. Of particular interest was the bit about Application Event Log 3005 error which we are getting on our server. So I followed the kb to the letter and still no luck.
Looking through the log file, I get this (small snippet). I am trying the app activesync tester on my iPhone to connect as well as the mail icon on my iPhone.
2011-05-18 12:45:59 W3SVC1 CBA-DC 10.0.0.2 GET /Microsoft-Server-ActiveSy nc &Log=VNATNASNC:0A0C0D0FS:0 A0C0D0SP:0 C0I0S0R0S0 L0H 443 sreading 87.102.15.61
HTTP/1.1 ASTester/1.4+CFNetwork/485 .13.9+Darw in/11.0.0 - - cba.dtdns.net 501 0 0 301 273 15
2011-05-18 12:46:00 W3SVC1 CBA-DC 10.0.0.2 GET /Microsoft-Server-ActiveSy nc &Log=VNATNASNC:0A0C0D0FS:0 A0C0D0SP:0 C0I0S0R0S0 L0H 443 sreading 87.102.15.61
HTTP/1.1 ASTester/1.4+CFNetwork/485 .13.9+Darw in/11.0.0 - - cba.dtdns.net 501 0 0 301 273 15
2011-05-18 12:46:01 W3SVC1 CBA-DC 10.0.0.2 OPTIONS /Microsoft-Server-ActiveSy nc &Log=VNATNASNC:0A0C0D0FS:0 A0C0D0SP:0 C0I0S0R0S0 L0H 443 sreading 87.102.15.61
HTTP/1.1 ASTester/1.4+CFNetwork/485 .13.9+Darw in/11.0.0 - - cba.dtdns.net 200 0 0 773 296 15
2011-05-18 12:46:02 W3SVC1 CBA-DC 10.0.0.2 OPTIONS /Microsoft-Server-ActiveSy nc
User=sreading&DeviceId=FFF FFFFFFFFFF FFF&Device Type=Testi PhoneClien t&Log=VNAT NASNC:0A0C 0D0FS:0A0C 0D0SP:0C0I 0S0R0S0L0H 443 sreading 87.102.15.61 HTTP/1.1
ASTester/1.4+CFNetwork/485 .13.9+Darw in/11.0.0 - - cba.dtdns.net 200 0 0 773 364 0
2011-05-18 12:46:03 W3SVC1 CBA-DC 10.0.0.2 PROPFIND /exchange-oma/sreading@cba -partnersh ip.com/NON _IPM_SUBTR EE/Microso ft-Server-
ActiveSync/TestiPhoneClien t/FFFFFFFF FFFFFFFF - 80 - 10.0.0.2 HTTP/1.1 Microsoft-Server-ActiveSyn c/6.5.7638 .1 - - cba.dtdns.net 401 1 0 1999 422 0
2011-05-18 12:46:06 W3SVC1 CBA-DC 10.0.0.2 PROPFIND /exchange-oma/sreading@cba -partnersh ip.com/NON _IPM_SUBTR EE/Microso ft-Server-
ActiveSync/TestiPhoneClien t/FFFFFFFF FFFFFFFF - 80 CBA\sreading 10.0.0.2 HTTP/1.1 Microsoft-Server-ActiveSyn c/6.5.7638 .1 - - cba.dtdns.net 404 0 0 274 643
2281
2011-05-18 12:46:06 W3SVC1 CBA-DC 10.0.0.2 MKCOL /exchange-oma/sreading@cba -partnersh ip.com/NON _IPM_SUBTR EE/Microso ft-Server- ActiveSync - 80 - 10.0.0.2
HTTP/1.1 Microsoft-Server-ActiveSyn c/6.5.7638 .1 - - cba.dtdns.net 401 2 2148074254 1954 256 0
2011-05-18 12:46:06 W3SVC1 CBA-DC 10.0.0.2 MKCOL /exchange-oma/sreading@cba -partnersh ip.com/NON _IPM_SUBTR EE/Microso ft-Server- ActiveSync - 80 - 10.0.0.2
HTTP/1.1 Microsoft-Server-ActiveSyn c/6.5.7638 .1 - - cba.dtdns.net 401 1 0 1999 351 0
2011-05-18 12:46:06 W3SVC1 CBA-DC 10.0.0.2 MKCOL /exchange-oma/sreading@cba -partnersh ip.com/NON _IPM_SUBTR EE/Microso ft-Server- ActiveSync - 80 CBA\sreading
10.0.0.2 HTTP/1.1 Microsoft-Server-ActiveSyn c/6.5.7638 .1 - - cba.dtdns.net 404 0 0 274 379 15
2011-05-18 12:46:06 W3SVC1 CBA-DC 10.0.0.2 POST /Microsoft-Server-ActiveSy nc
User=sreading&DeviceId=FFF FFFFFFFFFF FFF&Device Type=Testi PhoneClien t&Cmd=GetH ierarchy&L og=V1TNASN C:0A0C0D0F S:0A0C0D0S P:2C2I659S 1096R0S0L0 H0P 443 sreading
I went right through your article (excellent by the way) and I had no luck. Of particular interest was the bit about Application Event Log 3005 error which we are getting on our server. So I followed the kb to the letter and still no luck.
Looking through the log file, I get this (small snippet). I am trying the app activesync tester on my iPhone to connect as well as the mail icon on my iPhone.
2011-05-18 12:45:59 W3SVC1 CBA-DC 10.0.0.2 GET /Microsoft-Server-ActiveSy
HTTP/1.1 ASTester/1.4+CFNetwork/485
2011-05-18 12:46:00 W3SVC1 CBA-DC 10.0.0.2 GET /Microsoft-Server-ActiveSy
HTTP/1.1 ASTester/1.4+CFNetwork/485
2011-05-18 12:46:01 W3SVC1 CBA-DC 10.0.0.2 OPTIONS /Microsoft-Server-ActiveSy
HTTP/1.1 ASTester/1.4+CFNetwork/485
2011-05-18 12:46:02 W3SVC1 CBA-DC 10.0.0.2 OPTIONS /Microsoft-Server-ActiveSy
User=sreading&DeviceId=FFF
ASTester/1.4+CFNetwork/485
2011-05-18 12:46:03 W3SVC1 CBA-DC 10.0.0.2 PROPFIND /exchange-oma/sreading@cba
ActiveSync/TestiPhoneClien
2011-05-18 12:46:06 W3SVC1 CBA-DC 10.0.0.2 PROPFIND /exchange-oma/sreading@cba
ActiveSync/TestiPhoneClien
2281
2011-05-18 12:46:06 W3SVC1 CBA-DC 10.0.0.2 MKCOL /exchange-oma/sreading@cba
HTTP/1.1 Microsoft-Server-ActiveSyn
2011-05-18 12:46:06 W3SVC1 CBA-DC 10.0.0.2 MKCOL /exchange-oma/sreading@cba
HTTP/1.1 Microsoft-Server-ActiveSyn
2011-05-18 12:46:06 W3SVC1 CBA-DC 10.0.0.2 MKCOL /exchange-oma/sreading@cba
10.0.0.2 HTTP/1.1 Microsoft-Server-ActiveSyn
2011-05-18 12:46:06 W3SVC1 CBA-DC 10.0.0.2 POST /Microsoft-Server-ActiveSy
User=sreading&DeviceId=FFF
If you have a problem that you want help on - please open up your own question and then it can receive the right sort of help. Down here - at the end of someone else's question isn't really the right place to be asking for help.
If you post / email me a link, I will take a look.
Alan
If you post / email me a link, I will take a look.
Alan
Of course. I will do that asap. Thanks Alan
I have created a new question Alan.
https://www.experts-exchange.com/questions/27045770/iPhone-wont-connect-to-Activesync.html
Thanks
https://www.experts-exchange.com/questions/27045770/iPhone-wont-connect-to-Activesync.html
Thanks
if the port settings on the defualt web page are something other than 80 and 443 you also get this error.
HDM - that is covered in my article.
http://support.microsoft.c
Once done, re-run the Connect to the Internet Wizard, changing nothing - this will put everything back to how it should be, then run the test at https://testexchangeconnec