|
|
|
date: 2 Jun 2006 02:00:04 -0700,
group: microsoft.public.exchange.mobility
back
Exchange Activesync Problems
Hello all,
I'm pretty desperate for some help. I'm trying to get my WM5 (with
MSFP) device to sync to Exchange.
I think I have exchange set up correctly, with SP2 etc. And the same
goes for IIS - I have Windows Integrated Authentication set up on the
Exchange virtual directory, and Basic set up on the Exchange-oma one.
I've set nothing to require SSL at this stage, just to keep it simple.
>From the device over GPRS I can get to outlook web access by typing in
mail.domain.co.uk/exchange, and it redirects me to the https site. I
think this means that the IIS config is roughly correct?
Now, here comes the tricksy bit(s). I have my exchange server (actually
SBS2003) on my network, and I have an external IP address that points
to mail.domain.co.uk. If I was to access this address it brings me up
with the router's web configuration page, so I've changed the port that
that uses, and set it to forward ports 80 and 443 to the SBS box inside
the network.
So error log time - if I set the device to verbose logging, on the last
sync I got this:
=-= Build 14847 =-=
=-= No XIP Information Available =-=
mail.domain.co.uk
=-=- [2/6/2006 9:43:10.0] -=-=
=-=-=-= Client Request =-=-=-=
OPTIONS
Microsoft-Server-ActiveSync?User=mobileuser&DeviceId=xxxx&DeviceType=PocketPC
Accept-Language: en-gb
MS-ASProtocolVersion: 2.5
X-MS-PolicyKey: 0
-=-=-=- Start of Body -=-=-=-
=-=- [2/6/2006 9:43:23.0] -=-=
=-=-=-= Server Response =-=-=-
HTTP/1.1 401 Unauthorized
Date: Fri, 02 Jun 2006 08:38:16 GMT
Server: Microsoft-IIS/6.0
Content-Length: 83
Content-Type: text/html
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
WWW-Authenticate: Basic realm="mail.domain.co.uk"
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
X-Cache: MISS from bdp-gif-cli.eth1
Connection: keep-alive
-=-=-=- Start of Body -=-=-=-
=-=- [2/6/2006 9:43:30.0] -=-=
=-=-=-= Server Response =-=-=-
HTTP/1.1 200 OK
Date: Fri, 02 Jun 2006 08:38:23 GMT
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
Pragma: no-cache
Content-Length: 0
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,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDelete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,ResolveRecipients,ValidateCert,Provision,Search,Ping
X-Cache: MISS from bdp-gif-cli.eth1
Content-Type: text/plain
Connection: keep-alive
-=-=-=- Start of Body -=-=-=-
=-=- [2/6/2006 9:43:31.0] -=-=
=-=-=-= Client Request =-=-=-=
POST
Microsoft-Server-ActiveSync?User=mobileuser&DeviceId=xxxx&DeviceType=PocketPC&Cmd=FolderSync
Accept-Language: en-gb
MS-ASProtocolVersion: 2.5
Content-Type: application/vnd.ms-sync.wbxml
X-MS-PolicyKey: 0
-=-=-=- Start of Body -=-=-=-
<?xml version="1.0" encoding="utf-8"?><FolderSync
xmlns="FolderHierarchy:"><SyncKey>0</SyncKey></FolderSync>
=-=- [2/6/2006 9:43:40.0] -=-=
=-=-=-= Server Response =-=-=-
HTTP/1.1 400 Bad Request
Date: Fri, 02 Jun 2006 08:38:32 GMT
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
Pragma: no-cache
Content-Type: text/html
Content-Length: 46
MS-Server-ActiveSync: 6.5.7638.1
X-Cache: MISS from bdp-gif-cli.eth1
Connection: keep-alive
And on the IIS Log at the same time I get this:
2006-06-02 08:43:23 192.168.0.1 OPTIONS /Microsoft-Server-ActiveSync
User=mobileuser&DeviceId=xxxx&DeviceType=PocketPC 80 - 89.192.0.44
MSFT-PPC/5.1.2000 401 2 2148074254 401 421
2006-06-02 08:43:30 192.168.0.1 OPTIONS /Microsoft-Server-ActiveSync
User=mobileuser&DeviceId=xxxx&DeviceType=PocketPC&Log=VNATNASNC:0A0C0D0FS:0A0C0D0SP:0C0I0S0R0S0L0H
80 domain.local\mobileuser 89.192.0.44 MSFT-PPC/5.1.2000 200 0 0 599
484
2006-06-02 08:43:39 192.168.0.1 POST /Microsoft-Server-ActiveSync
User=mobileuser&DeviceId=xxxx&DeviceType=PocketPC&Cmd=FolderSync&Log=VNATNASNC:0A0C0D0FS:0A0C0D0SP:0C0I0S0R0S0L0H
80 domain.local\mobileuser 89.192.0.44 MSFT-PPC/5.1.2000 400 0 0 312
541
Can anyone see what I'm doing wrong? I'm getting pretty desperate!
Thanks,
Jon
date: 2 Jun 2006 02:00:04 -0700
author: Jon M
Re: Exchange Activesync Problems
Have you tried re-running the Internet and Mail Wizard on the SBS 2003
Server? If you are not requiring SSL then why are you being redirected to
https? If you are requring SSL make sure you have your self signed cert
installed on the WM5 device.
--
John Oliver, Jr
MCSE, MCT, CCNA
Exchange MVP 2006
Microsoft Certified Partner
"Jon M" wrote in message
news:1149238804.009108.84000@f6g2000cwb.googlegroups.com...
Hello all,
I'm pretty desperate for some help. I'm trying to get my WM5 (with
MSFP) device to sync to Exchange.
I think I have exchange set up correctly, with SP2 etc. And the same
goes for IIS - I have Windows Integrated Authentication set up on the
Exchange virtual directory, and Basic set up on the Exchange-oma one.
I've set nothing to require SSL at this stage, just to keep it simple.
>From the device over GPRS I can get to outlook web access by typing in
mail.domain.co.uk/exchange, and it redirects me to the https site. I
think this means that the IIS config is roughly correct?
Now, here comes the tricksy bit(s). I have my exchange server (actually
SBS2003) on my network, and I have an external IP address that points
to mail.domain.co.uk. If I was to access this address it brings me up
with the router's web configuration page, so I've changed the port that
that uses, and set it to forward ports 80 and 443 to the SBS box inside
the network.
So error log time - if I set the device to verbose logging, on the last
sync I got this:
=-= Build 14847 =-=
=-= No XIP Information Available =-=
mail.domain.co.uk
=-=- [2/6/2006 9:43:10.0] -=-=
=-=-=-= Client Request =-=-=-=
OPTIONS
Microsoft-Server-ActiveSync?User=mobileuser&DeviceId=xxxx&DeviceType=PocketPC
Accept-Language: en-gb
MS-ASProtocolVersion: 2.5
X-MS-PolicyKey: 0
-=-=-=- Start of Body -=-=-=-
=-=- [2/6/2006 9:43:23.0] -=-=
=-=-=-= Server Response =-=-=-
HTTP/1.1 401 Unauthorized
Date: Fri, 02 Jun 2006 08:38:16 GMT
Server: Microsoft-IIS/6.0
Content-Length: 83
Content-Type: text/html
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
WWW-Authenticate: Basic realm="mail.domain.co.uk"
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
X-Cache: MISS from bdp-gif-cli.eth1
Connection: keep-alive
-=-=-=- Start of Body -=-=-=-
=-=- [2/6/2006 9:43:30.0] -=-=
=-=-=-= Server Response =-=-=-
HTTP/1.1 200 OK
Date: Fri, 02 Jun 2006 08:38:23 GMT
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
Pragma: no-cache
Content-Length: 0
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,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDelete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,ResolveRecipients,ValidateCert,Provision,Search,Ping
X-Cache: MISS from bdp-gif-cli.eth1
Content-Type: text/plain
Connection: keep-alive
-=-=-=- Start of Body -=-=-=-
=-=- [2/6/2006 9:43:31.0] -=-=
=-=-=-= Client Request =-=-=-=
POST
Microsoft-Server-ActiveSync?User=mobileuser&DeviceId=xxxx&DeviceType=PocketPC&Cmd=FolderSync
Accept-Language: en-gb
MS-ASProtocolVersion: 2.5
Content-Type: application/vnd.ms-sync.wbxml
X-MS-PolicyKey: 0
-=-=-=- Start of Body -=-=-=-
<?xml version="1.0" encoding="utf-8"?><FolderSync
xmlns="FolderHierarchy:"><SyncKey>0</SyncKey></FolderSync>
=-=- [2/6/2006 9:43:40.0] -=-=
=-=-=-= Server Response =-=-=-
HTTP/1.1 400 Bad Request
Date: Fri, 02 Jun 2006 08:38:32 GMT
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
Pragma: no-cache
Content-Type: text/html
Content-Length: 46
MS-Server-ActiveSync: 6.5.7638.1
X-Cache: MISS from bdp-gif-cli.eth1
Connection: keep-alive
And on the IIS Log at the same time I get this:
2006-06-02 08:43:23 192.168.0.1 OPTIONS /Microsoft-Server-ActiveSync
User=mobileuser&DeviceId=xxxx&DeviceType=PocketPC 80 - 89.192.0.44
MSFT-PPC/5.1.2000 401 2 2148074254 401 421
2006-06-02 08:43:30 192.168.0.1 OPTIONS /Microsoft-Server-ActiveSync
User=mobileuser&DeviceId=xxxx&DeviceType=PocketPC&Log=VNATNASNC:0A0C0D0FS:0A0C0D0SP:0C0I0S0R0S0L0H
80 domain.local\mobileuser 89.192.0.44 MSFT-PPC/5.1.2000 200 0 0 599
484
2006-06-02 08:43:39 192.168.0.1 POST /Microsoft-Server-ActiveSync
User=mobileuser&DeviceId=xxxx&DeviceType=PocketPC&Cmd=FolderSync&Log=VNATNASNC:0A0C0D0FS:0A0C0D0SP:0C0I0S0R0S0L0H
80 domain.local\mobileuser 89.192.0.44 MSFT-PPC/5.1.2000 400 0 0 312
541
Can anyone see what I'm doing wrong? I'm getting pretty desperate!
Thanks,
Jon
date: Fri, 2 Jun 2006 18:26:47 -0400
author: John Oliver, Jr. [MVP]
|
|