SECC_IT
asked on
ActiveSync Error
Exchange 2010 SP3 RU4
On an HTC older Android phone, I am getting Event ID 1008, Source MSExchange ActiveSync.
"An exception occurred and was handled by Exchange ActiveSync. This may have been caused by an outdated or corrupted Exchange ActiveSync device partnership. This can occur if a user tries to modify the same item from multiple computers. If this is the case, Exchange ActiveSync will re-create the partnership with the device. Items will be updated at the next synchronization."
This phone was working just fine with ActiveSync until I had a database crash and had to run a repair. Now, no matter what I do, it won't download mail. When I set up the user's account, it DOES connect with the server, but the mail never downloads. The above message shows up.
I have tried all the usual stuff - checked/unchecked/checked the inheritance box in Security, taken away all admin rights, removed/readded the account on the phone, disabled/re-enabled ActiveSync in the users mailbox properties, restarting services, futzing with all the settings (making user name and email the same),
Does anyone have any ideas? It WAS working, now it is not.
Thanks.
On an HTC older Android phone, I am getting Event ID 1008, Source MSExchange ActiveSync.
"An exception occurred and was handled by Exchange ActiveSync. This may have been caused by an outdated or corrupted Exchange ActiveSync device partnership. This can occur if a user tries to modify the same item from multiple computers. If this is the case, Exchange ActiveSync will re-create the partnership with the device. Items will be updated at the next synchronization."
This phone was working just fine with ActiveSync until I had a database crash and had to run a repair. Now, no matter what I do, it won't download mail. When I set up the user's account, it DOES connect with the server, but the mail never downloads. The above message shows up.
I have tried all the usual stuff - checked/unchecked/checked the inheritance box in Security, taken away all admin rights, removed/readded the account on the phone, disabled/re-enabled ActiveSync in the users mailbox properties, restarting services, futzing with all the settings (making user name and email the same),
Does anyone have any ideas? It WAS working, now it is not.
Thanks.
ASKER
Checked it - it IS checked. That was something I hadn't thought of...
Any other ideas out there?
Any other ideas out there?
Now when you said added/readded etc was this only on the phone? Since the database crash remove the account on the phone. Then open up EMC > Recipient Configuration > Mailbox. Rightclick the users mailbox and select Manage Mobile Phone. Remove the device from the mailbox. Now re-setup the account on the phone to see if it establishes a new trusted relationship
ASKER
I did not do that specifically - I do not have a "manage mobile phone" option in the right-click menu in Recip Config > Mailbox.
However, one of the things I had tried was deleting the account on the phone, then logged in to OWA as the user and deleted the relationship there - started fresh. It will let me set up an account, but will not download mail.
However, one of the things I had tried was deleting the account on the phone, then logged in to OWA as the user and deleted the relationship there - started fresh. It will let me set up an account, but will not download mail.
ASKER
This is still not resolved and I have tried so many things. I found this in another EE post, but it did not work for me:
1. Disable Activesync on the Exchange account.
2. Uncheck inheritable permissions
3. Delete CN=ExchangeActiveSyncDevic es from under my user container in ADSIEdit
4. Force AD Replication
5. Enable Activesync on my Exchange account
6. Check Inheritable permissions
7. Force AD Replication
8. Create Exchange profile on my iPhone.
I have also created a new database and move his box over.
I am really at a loss here and this is the company owner's phone.
I used the Microsoft Remote Connectivity Analyzer and it was successful.
The account is being verified, but e-mail will not show up on the phone.
-----Event 1008-Details (Friendly View)--------------------- ---------- ---------- ---------- ---------- ---
/Microsoft-Server-ActiveSy nc/default .eas?Cmd=S ync&User=r smart&Devi ceId=HTCAn df0bd1d14& DeviceType =bravoc
--- Exception start --- Exception type: Microsoft.Exchange.Data.St orage.Sync StateExist edExceptio n Exception message: The sync state named 7 already exists. Exception level: 0 Exception stack trace: at Microsoft.Exchange.Data.St orage.Sync State.Crea teSyncStat eFolderInF older(Sync StateInfo syncStateInfo, Folder syncStateParentFolder, PropertyDefinition[] properties, Object[] values) at Microsoft.Exchange.Data.St orage.Sync State.Crea teSyncStat eStoreObje ct(SyncSta teStorage syncStateStorage, SyncStateInfo syncStateInfo, Folder syncStateParentFolder, PropertyDefinition[] properties, Object[] values) at Microsoft.Exchange.Data.St orage.Fold erSyncStat e.CreateSy ncState(Sy ncStateSto rage syncStateStorage, Folder syncStateParentFolder, ISyncProviderFactory syncProviderFactory, String syncFolderId) at Microsoft.Exchange.Data.St orage.Sync StateStora ge.CreateF olderSyncS tate(ISync ProviderFa ctory syncProviderFactory, String syncFolderId) at Microsoft.Exchange.AirSync .SyncColle ction.Open SyncState( Boolean autoLoadFilterAndSyncKey, SyncStateStorage syncStateStorage) at Microsoft.Exchange.AirSync .SyncComma nd.SyncThe Collection (SyncColle ction collection, Boolean createSubscription, Boolean tryNullSync) at Microsoft.Exchange.AirSync .SyncComma nd.OnExecu te() at Microsoft.Exchange.AirSync .SyncComma nd.Execute Command() at Microsoft.Exchange.AirSync .Command.W orkerThrea d() Inner exception follows below: Exception type: Microsoft.Exchange.Data.St orage.Obje ctExistedE xception Exception message: Could not create folder 7. Exception level: 1 Exception stack trace: at Microsoft.Exchange.Data.St orage.Fold erCreatePr opertyBag. CreateMapi Folder() at Microsoft.Exchange.Data.St orage.Fold erCreatePr opertyBag. SaveFolder PropertyBa g(Boolean needVersionCheck) at Microsoft.Exchange.Data.St orage.Core Folder.Sav e(SaveMode saveMode) at Microsoft.Exchange.Data.St orage.Fold er.Save(Sa veMode saveMode) at Microsoft.Exchange.Data.St orage.Sync State.Crea teSyncStat eFolderInF older(Sync StateInfo syncStateInfo, Folder syncStateParentFolder, PropertyDefinition[] properties, Object[] values) Inner exception follows below: Exception type: Microsoft.Mapi.MapiExcepti onCollisio n Exception message: MapiExceptionCollision: Unable to create folder. (hr=0x80040604, ec=-2147219964) Diagnostic context: Lid: 55847 EMSMDBPOOL.EcPoolSessionDo Rpc called [length=60] Lid: 43559 EMSMDBPOOL.EcPoolSessionDo Rpc returned [ec=0x0][length=244][laten cy=0] Lid: 23226 --- ROP Parse Start --- Lid: 27962 ROP: ropCreateFolder [28] Lid: 17082 ROP Error: 0x80040604 Lid: 25953 Lid: 21921 StoreEc: 0x80040604 Lid: 27962 ROP: ropExtendedError [250] Lid: 1494 ---- Remote Context Beg ---- Lid: 26426 ROP: ropCreateFolder [28] Lid: 21970 StoreEc: 0x8004010F PropTag: 0x668F0040 Lid: 21970 StoreEc: 0x8004010F PropTag: 0x3FE5000B Lid: 15348 StoreEc: 0xFFFFFA84 Lid: 63733 Lid: 5079 StoreEc: 0x80040604 Lid: 6255 StoreEc: 0x80040604 Lid: 6511 StoreEc: 0x80040604 Lid: 8047 StoreEc: 0x80040604 Lid: 7310 StoreEc: 0x80040604 Lid: 1750 ---- Remote Context End ---- Lid: 31418 --- ROP Parse Done --- Lid: 22417 Lid: 30609 StoreEc: 0x80040604 Lid: 29073 Lid: 20369 StoreEc: 0x80040604 Exception level: 2 Exception stack trace: at Microsoft.Mapi.MapiExcepti onHelper.T hrowIfErro r(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException) at Microsoft.Mapi.MapiFolder. CreateFold er(String folderName, String folderComment, Boolean openIfExists, Boolean createSearchFolder, Byte[] folderId) at Microsoft.Mapi.MapiFolder. CreateFold er(String folderName, String folderComment, Boolean openIfExists) at Microsoft.Exchange.Data.St orage.Fold erCreatePr opertyBag. CreateMapi Folder() --- Exception end ---
-------------------------- ---------- ---------- ---------- ---------- ---------- -
Help!
1. Disable Activesync on the Exchange account.
2. Uncheck inheritable permissions
3. Delete CN=ExchangeActiveSyncDevic
4. Force AD Replication
5. Enable Activesync on my Exchange account
6. Check Inheritable permissions
7. Force AD Replication
8. Create Exchange profile on my iPhone.
I have also created a new database and move his box over.
I am really at a loss here and this is the company owner's phone.
I used the Microsoft Remote Connectivity Analyzer and it was successful.
The account is being verified, but e-mail will not show up on the phone.
-----Event 1008-Details (Friendly View)---------------------
/Microsoft-Server-ActiveSy
--- Exception start --- Exception type: Microsoft.Exchange.Data.St
--------------------------
Help!
If you open up ADSIEDIT.MSC (and very carefully), navigate to your user using Default naming Context then under the user, do you see CN=ExchangeActiveSyncDevic es?
If you do - select that in the left pane and do you see the Device in the right pane? If you do - delete it.
Once deleted, delete the account from the phone and then reboot the phone, then add the account to the phone again and see how it behaves.
Alan
(Be very careful what you are deleting as this is directly modifying Active Directory so any mistakes could be costly).
If you do - select that in the left pane and do you see the Device in the right pane? If you do - delete it.
Once deleted, delete the account from the phone and then reboot the phone, then add the account to the phone again and see how it behaves.
Alan
(Be very careful what you are deleting as this is directly modifying Active Directory so any mistakes could be costly).
ASKER
Sigh - I have done that exact thing, several times. Did not work.
Sorry - missed that!!
Does the account that you are trying to add work happily on another device, just not the older HTC?
Alan
Does the account that you are trying to add work happily on another device, just not the older HTC?
Alan
ASKER
It works fine on a laptop. It WAS WORKING FINE on this very same phone until the Crash that Made My Life Hell. I am so frustrated!
Have you tried moving the mailbox to a different store?
ASKER
Yes I have created a new mailbox db and move the box.
I have also tried this, and am waiting for the user to let me know if it worked (he had to leave):
-------------------------- ---------- ---------- ----
From: http://grumpysysadmin.wordpress.com/2011/09/16/user-cant-connect-to-activesync/
The other tool you can use is the MFCMapi tool (download from codeplex). Create a profile for the user on a PC (not-cached mode) and give yourself full mailbox access, or do it from the user’s PC.
1. From the session menu, choose to Logon and Display Store Table
2. Select the profile (can’t be in cached mode)
3. Double-click to open the mailbox of the affected user.
4. Expand the root container, expand the ExchangeSyncData container. Locate the device ID, and delete it. If you are having issues with a IPad…delete all devices and then re-add the activesync account to the iPad. Issues maybe caused by devices that are no longer used by the user.
If there still is no device connectivity check the inherited permissions on the User’s object in AD
Open up ADUC and go into advanced security settings of the problematic user’s account
Make sure that Include inheritable permissions is selected. If it is not selected, check it off and click Apply. ActiveSync will most likely start working shortly after Exchange detects the change in the user object permissions.
-------------------------- ---------- ---------- ---------- -
I have also tried this, and am waiting for the user to let me know if it worked (he had to leave):
--------------------------
From: http://grumpysysadmin.wordpress.com/2011/09/16/user-cant-connect-to-activesync/
The other tool you can use is the MFCMapi tool (download from codeplex). Create a profile for the user on a PC (not-cached mode) and give yourself full mailbox access, or do it from the user’s PC.
1. From the session menu, choose to Logon and Display Store Table
2. Select the profile (can’t be in cached mode)
3. Double-click to open the mailbox of the affected user.
4. Expand the root container, expand the ExchangeSyncData container. Locate the device ID, and delete it. If you are having issues with a IPad…delete all devices and then re-add the activesync account to the iPad. Issues maybe caused by devices that are no longer used by the user.
If there still is no device connectivity check the inherited permissions on the User’s object in AD
Open up ADUC and go into advanced security settings of the problematic user’s account
Make sure that Include inheritable permissions is selected. If it is not selected, check it off and click Apply. ActiveSync will most likely start working shortly after Exchange detects the change in the user object permissions.
--------------------------
When I say another device, I don't mean a laptop because the laptop doesn't use Activesync to communicate, it uses MAPI.
Can you happily add the account to a different mobile device, preferably not an HTC one?
Can you happily add the account to a different mobile device, preferably not an HTC one?
ASKER
Yes. Sigh. So it is the device.
Okay - so is it on the latest version of the software?
Can it be upgraded?
Alan
Can it be upgraded?
Alan
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yay - sounds like the perfect solution. Get a more up-to-date phone :)
Let's hope that fixes it for you.
Best wishes
Alan
Let's hope that fixes it for you.
Best wishes
Alan
ASKER
Problem was the phone.
Did u replace phone or reset or what?
I know for some older devices you want to make sure allow non-provisionable devices needs to be checked.