Archive for May 2011

iPhone and Windows Mobile device not working after migrating from Exchange Server 2003 to 2010

I started working on one Exchange 2003 to 2010 migration project. Everything went fine and migration process was very smooth.
After moving all the mailboxes I checked with all the users Outlook and they were working fine without any issue. Checked OWA as well and it was working fine. After sometime few users started reporting that they have iPhone and they are not able to connect to there mailbox, they are getting error message "Not able to authenticate to the Exchange Server".
Sometime later i got to know that Windows Mobile users are also facing the same issue. There were lots users like this and it worked absolutely fine when they were on Exchange Server 2003.

Checked all sort of things, checked the Virtual Directories and they were working fine. I checked the permission on User Mailbox in Adsiedit and found that "Include inheritable permissions from this object's parent" is Unchecked.

Checked the "Include inheritable permissions from this object's parent" check box and Click on Apply and OK.

Rebooted the iPhone and checked the issue and it started working fine. Did the same to Windows Mobile device and they started working fine as well.


Error "Exception has been thrown by the target of an invocation" when creating Public Folder Database

Have you ever thought why you get the error message "Exception has been thrown by the target of an invocation" when you try to create Public Folder Database in Exchange Server 2010.
Which is the component comes in picture when you create a Mailbox Database, Public Folder Database, Move Mailbox?
The answer is, Microsoft Exchange System Attendant is the component comes in picture when doing all the above things.
I was working with the client last week on Exchange 2010 migration from Exchange 2003. After installing Exchange 2010 SP1 without any issue, I found the it didn't created the Public Folder Database even after having outlook 2003 client in the environment.
I tried to move mailbox from 2003 to 2010 and it failed on 95%. I tried with another mailbox with 9 MB of size and it also failed on 95%.
I tried to create the Public Folder Database but got the below error message "Exception has been thrown by the target of an invocation".

I did lots of research and searched every where on the internet but didn't got anything related to it. I have to fix this issue as client had lots of outlook 2003 clients. I started reading about MS Exchange System Attendant service and it pointed me to Address List.
I checked in the client environment and found that they have one Address List say, ABC Address List.
I asked client about this address list and he said that address list contain nothing, its empty. I told him that due to the corruption of this Address List (ABC Address List) we are unable to create Public Folder Database. To get this fixed I will have to delete this address list.
Double checked and found that there is nothing in it and somebody has created it just like that long time ago. Deleted the address List from Adsiedit.msc and we were able to create Public Folder Database successfully. Moved the Mailboxes from 2003 to 2010 successfully.