ActiveSyncDebugLogging
We're having a problem with certain WM5/6 devices losing their ability to sync OTA with ActiveSync. Sometime a device restart will fix the problem, other times a hard wipe has been required. We haven't been able to find any commonalities between devices experiencing the problems, and of course the Adminstrators haven't had a problem as of yet. In working through this, I'd like to turn on ActiveSyncDebugLogging. I started with this post on the Exchange blog - http://msexchangeteam.com/archive/2007/05/30/439568.aspx- following section 5 about enabling the "Retrieve Log" functionality in OWA. I've edited web.config on the Sync website and restarted IIS on both of our CAS servers. After ensuring that my own WM6 device is syncing correctly, I'm still unable to see the Retrieve Log option from within OWA. Additionally I have attempted to run the following PowerShell command (as mentioned in the above post), and I'm still unable to return any results: Get-ActiveSyncDeviceStatistics -identity username@domain.EDU\AirSync-PocketPC-EB594619D2D252B278022911DE40AB93 -GetMailboxLog $true -OutputPath c:\temp Obviously there is something I'm missing about enabling ActiveSync logging on the server... Can someone point me in the right direction here? Thanks in advance! - Jason
July 30th, 2008 6:40pm

Hi Jason, I think web.config file maybe not modified properly. Notice you should find those value and modify them, not add them to the file. Please refer to the steps below to edit it again and test the issue. Turn up mailbox logging for activesync on CAS ==================== 1. On the CAS. \Program Files\Microsoft\Exchange Server\ClientAccess\Sync\web.config file. 2. Make a copy of web.config file as a backup 3. Edit web.config file then search for "MailboxLoggingEnabled" then modify as below: <add key="MailboxLoggingEnabled" value="true"></add> 4. Search for "MaxSizeOfMailboxLog" then modify as below: <add key="MaxSizeOfMailboxLog" value="1000000"></add> 5. Save the changes. No need to restart any service on CAS. Hope this helps. Thanks, Elvis
Free Windows Admin Tool Kit Click here and download it now
August 5th, 2008 5:56am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics