Solved

ActiveSync Error

Posted on 2014-01-02
18
4,693 Views
Last Modified: 2016-05-13
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.
0
Comment
Question by:SECC_IT
  • 9
  • 6
  • 2
  • +1
18 Comments
 
LVL 22

Expert Comment

by:Nick Rhode
ID: 39752581
Check the ActiveSync Mailbox Policies (Open EMC > Organization Config > Client Access)

I know for some older devices you want to make sure allow non-provisionable devices needs to be checked.
0
 

Author Comment

by:SECC_IT
ID: 39752591
Checked it - it IS checked.  That was something I hadn't thought of...

Any other ideas out there?
0
 
LVL 22

Expert Comment

by:Nick Rhode
ID: 39752602
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
0
 

Author Comment

by:SECC_IT
ID: 39753637
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.
0
 

Author Comment

by:SECC_IT
ID: 39762381
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=ExchangeActiveSyncDevices 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-ActiveSync/default.eas?Cmd=Sync&User=rsmart&DeviceId=HTCAndf0bd1d14&DeviceType=bravoc
   --- Exception start --- Exception type: Microsoft.Exchange.Data.Storage.SyncStateExistedException Exception message: The sync state named 7 already exists. Exception level: 0 Exception stack trace: at Microsoft.Exchange.Data.Storage.SyncState.CreateSyncStateFolderInFolder(SyncStateInfo syncStateInfo, Folder syncStateParentFolder, PropertyDefinition[] properties, Object[] values) at Microsoft.Exchange.Data.Storage.SyncState.CreateSyncStateStoreObject(SyncStateStorage syncStateStorage, SyncStateInfo syncStateInfo, Folder syncStateParentFolder, PropertyDefinition[] properties, Object[] values) at Microsoft.Exchange.Data.Storage.FolderSyncState.CreateSyncState(SyncStateStorage syncStateStorage, Folder syncStateParentFolder, ISyncProviderFactory syncProviderFactory, String syncFolderId) at Microsoft.Exchange.Data.Storage.SyncStateStorage.CreateFolderSyncState(ISyncProviderFactory syncProviderFactory, String syncFolderId) at Microsoft.Exchange.AirSync.SyncCollection.OpenSyncState(Boolean autoLoadFilterAndSyncKey, SyncStateStorage syncStateStorage) at Microsoft.Exchange.AirSync.SyncCommand.SyncTheCollection(SyncCollection collection, Boolean createSubscription, Boolean tryNullSync) at Microsoft.Exchange.AirSync.SyncCommand.OnExecute() at Microsoft.Exchange.AirSync.SyncCommand.ExecuteCommand() at Microsoft.Exchange.AirSync.Command.WorkerThread() Inner exception follows below: Exception type: Microsoft.Exchange.Data.Storage.ObjectExistedException Exception message: Could not create folder 7. Exception level: 1 Exception stack trace: at Microsoft.Exchange.Data.Storage.FolderCreatePropertyBag.CreateMapiFolder() at Microsoft.Exchange.Data.Storage.FolderCreatePropertyBag.SaveFolderPropertyBag(Boolean needVersionCheck) at Microsoft.Exchange.Data.Storage.CoreFolder.Save(SaveMode saveMode) at Microsoft.Exchange.Data.Storage.Folder.Save(SaveMode saveMode) at Microsoft.Exchange.Data.Storage.SyncState.CreateSyncStateFolderInFolder(SyncStateInfo syncStateInfo, Folder syncStateParentFolder, PropertyDefinition[] properties, Object[] values) Inner exception follows below: Exception type: Microsoft.Mapi.MapiExceptionCollision Exception message: MapiExceptionCollision: Unable to create folder. (hr=0x80040604, ec=-2147219964) Diagnostic context: Lid: 55847 EMSMDBPOOL.EcPoolSessionDoRpc called [length=60] Lid: 43559 EMSMDBPOOL.EcPoolSessionDoRpc returned [ec=0x0][length=244][latency=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.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException) at Microsoft.Mapi.MapiFolder.CreateFolder(String folderName, String folderComment, Boolean openIfExists, Boolean createSearchFolder, Byte[] folderId) at Microsoft.Mapi.MapiFolder.CreateFolder(String folderName, String folderComment, Boolean openIfExists) at Microsoft.Exchange.Data.Storage.FolderCreatePropertyBag.CreateMapiFolder() --- Exception end ---

-----------------------------------------------------------------------------
Help!
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39762462
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=ExchangeActiveSyncDevices?

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).
0
 

Author Comment

by:SECC_IT
ID: 39762480
Sigh - I have done that exact thing, several times. Did not work.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39762515
Sorry - missed that!!

Does the account that you are trying to add work happily on another device, just not the older HTC?

Alan
0
 

Author Comment

by:SECC_IT
ID: 39762536
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!
0
Too many email signature changes to deal with?

Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39762557
Have you tried moving the mailbox to a different store?
0
 

Author Comment

by:SECC_IT
ID: 39762592
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.
---------------------------------------------------------
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39762601
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?
0
 

Author Comment

by:SECC_IT
ID: 39766413
Yes. Sigh. So it is the device.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39766465
Okay - so is it on the latest version of the software?

Can it be upgraded?

Alan
0
 

Accepted Solution

by:
SECC_IT earned 0 total points
ID: 39768050
It can't be upgraded. He is going to get another phone. He reminded me what a bear that phone was to set up when he first got it. My LG Optimus connected just fine using his Exchange account. He said, "I think it's cheaper to just get another phone that to keep paying you to try to figure it out." LOL!!!

FYI for future readers: This phone was an HTC Merge. It once connected to ActiveSync on an Exchange 2010 server. When it first connected, Exchange was at its most basic version. Since then, I had upgraded Exchange to SP3 RU4. All was still working fine with this phone, then I had a bad power surge/outage, crashed Exchange, had to do a eseutil /p repair on it.

Since then phone will connect, but will not download mail. After trying everything found on the Internet, I gave up.

The End
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39768179
Yay - sounds like the perfect solution.  Get a more up-to-date phone :)

Let's hope that fixes it for you.

Best wishes

Alan
0
 

Author Closing Comment

by:SECC_IT
ID: 39814540
Problem was the phone.
0
 
LVL 1

Expert Comment

by:dpcsit
ID: 41594060
Did u replace phone or reset or what?
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now