cancel
Showing results for 
Search instead for 
Did you mean: 

Archiving / Enabling mailbox error: Events 2256 3305 3432

Carlos_Castro
Level 4

Hi everyone! 

I've seen several posts with similar problems than the following, but any of the proposed solutions worked so far, so I'll try to give as much detail as possible.

I had previously installed EV 10 for exchange archiving, exchange 2007 and outlook 2007 all in the same vm for test purposes. Now, I'm making another test, with 3 computers (VMs all with Windows server 2008 R2):

  • WIN-GV6V5SU1CTH.evtest.local is the domain controller and exchange server
  • ev2.evtest.local is the EV server and sql server
  • client.evtest.local is the client (not important right now)

The dns of EV2 points to the domain controller and there if i ping evtest.local from EV2 there is reply.

After installing EV in the EV2 computer, y run the provisioning task and everything goes right. Afterwards, I go to tools -> enable mailboxes, select my test account which is evuser, next next and I get "Failed to enable the mailbox ''EvUser". First check that the exchange mailbox task for WIN-GV6V5SU1CTH is running. if it is, check that the account you are logged in as has sufficient permissions on the exchange server". After this, the Archiving task state is "Failed".

In the event viewer, 3 events appear, with Ids 2256, 3305 and 3432. The two more descriptive are:

-3432

 

One or more errors occurred during the creation of a profile to connect to an Exchange Server. 
 
Targeted Exchange Server: WIN-GV6V5SU1CTH 
Mailbox: SMTP:EVService@evtest.local 
 
ConfigureMsgService failed with the following errors: 
 
A network error MAPI_E_NETWORK_ERROR has been reported for the following connection points:
WIN-GV6V5SU1CTH
WIN-GV6V5SU1CTH.evtest.local
 
-3305
 
The Task 'Exchange Mailbox Archiving Task for WIN-GV6V5SU1CTH' failed to log on to Exchange server 'WIN-GV6V5SU1CTH' using mailbox 'SMTP:EVService@evtest.local'. Please ensure the mailbox has not been hidden, that the server is running and that the Vault account has sufficient permissions on the server. 
 

I've run the SetEVPermisssions.ps1 script for my EV account (EVService), and it is the same way that made it work in a single VM in the previous test.

I Dtrace'd the archiving task, and the error part is the following (Although attached is the full trace)

 

4356 16:43:18.328 [3444] (ArchiveTask) <4880> EV:L {CMailboxHelper::CreateProfileAndSessionEx} (Entry)
4357 16:43:18.328 [3444] (ArchiveTask) <4880> EV:M {CMailboxHelper::CreateProfileAndSessionEx:#841} Setting up MAPI profile [VaultMbxAgent-WIN-GV6V5SU1CTH-4880-1346182998-0-328-0]
4358 16:43:18.329 [3444] (ArchiveTask) <4880> EV:L {CMailboxHelper::CreateProfileAndSessionEx:#844} Creating the MAPI profile...
4359 16:43:18.330 [3444] (ArchiveTask) <4880> EV:L {CMailboxHelper::CreateProfileAndSessionEx:#864} Creating the message service (if it doesn't already exist)...
4360 16:43:18.336 [3444] (ArchiveTask) <4880> EV:L {CMailboxHelper::CreateProfileAndSessionEx:#878} Getting the message service table (GetMsgServiceTable)...
4361 16:43:18.336 [3444] (ArchiveTask) <4880> EV:L {CMailboxHelper::CreateProfileAndSessionEx:#881} Querying the returned message service table...
4362 16:43:18.337 [3444] (ArchiveTask) <4880> EV:L {ConfigureMsgServiceAttempt} (Entry)
4363 16:43:18.337 [3444] (ArchiveTask) <4880> EV:L {ConfigureMsgServiceAttempt:#107} Trying ConfigureMsgService using PR_PROFILE_UNRESOLVED_SERVER [WIN-GV6V5SU1CTH], attempt [1] of [5]
4364 16:43:18.370 [3444] (ArchiveTask) <4880> EV:M {ConfigureMsgServiceAttempt:#119} ConfigureMsgService failed: [0x80040115]
4365 16:43:18.870 [3444] (ArchiveTask) <4880> EV:L {ConfigureMsgServiceAttempt:#82} Using provided Global Catalog Server [WIN-GV6V5SU1CTH.evtest.local]
4366 16:43:18.870 [3444] (ArchiveTask) <4880> EV:L {ConfigureMsgServiceAttempt:#107} Trying ConfigureMsgService using PR_PROFILE_UNRESOLVED_SERVER [WIN-GV6V5SU1CTH.evtest.local], attempt [2] of [5]
4367 16:43:18.950 [3444] (ArchiveTask) <4880> EV:M {ConfigureMsgServiceAttempt:#119} ConfigureMsgService failed: [0x80040115]
4368 16:43:19.451 [3444] (ArchiveTask) <4880> EV:L {ConfigureMsgServiceAttempt:#107} Trying ConfigureMsgService using PR_PROFILE_UNRESOLVED_SERVER [WIN-GV6V5SU1CTH], attempt [3] of [5]
4369 16:43:19.483 [3444] (ArchiveTask) <4880> EV:M {ConfigureMsgServiceAttempt:#119} ConfigureMsgService failed: [0x80040115]
4370 16:43:19.984 [3444] (ArchiveTask) <4880> EV:L {ConfigureMsgServiceAttempt:#107} Trying ConfigureMsgService using PR_PROFILE_UNRESOLVED_SERVER [WIN-GV6V5SU1CTH.evtest.local], attempt [4] of [5]
4371 16:43:20.040 [3444] (ArchiveTask) <4880> EV:M {ConfigureMsgServiceAttempt:#119} ConfigureMsgService failed: [0x80040115]
4372 16:43:20.540 [3444] (ArchiveTask) <4880> EV:L {ConfigureMsgServiceAttempt:#107} Trying ConfigureMsgService using PR_PROFILE_UNRESOLVED_SERVER [WIN-GV6V5SU1CTH], attempt [5] of [5]
4373 16:43:20.574 [3444] (ArchiveTask) <4880> EV:M {ConfigureMsgServiceAttempt:#119} ConfigureMsgService failed: [0x80040115]
4374 16:43:20.575 [3444] (ArchiveTask) <4880> EV:H {ConfigureMsgServiceAttempt} (Exit) Status: [<0x80040115>]
4375 16:43:20.575 [3444] (ArchiveTask) <4880> EV:H {CMailboxHelper::CreateProfileAndSessionEx:#950} ConfigureMsgServiceAttempt() failed.
4376 16:43:20.575 [3444] (ArchiveTask) <4880> EV:H {CMailboxHelper::BuildConfigureMsgServiceErrorText:#722} Failed to contact server [SMTP:EVService@evtest.local] due to a network error.
4377 16:43:20.576 [3444] (ArchiveTask) <4880> EV~E Event ID: 3432 One or more errors occurred during the creation of a profile to connect to an Exchange Server. |Targeted Exchange Server: WIN-GV6V5SU1CTH |Mailbox: SMTP:EVService@evtest.local |ConfigureMsgService failed with the following errors: |A network error MAPI_E_NETWORK_ERROR has been reported for the following connection points:|WIN-GV6V5SU1CTH|WIN-GV6V5SU1CTH.evtest.local| |
4378 16:43:20.579 [3444] (ArchiveTask) <4880> EV:M {CMailboxHelper::CreateProfileAndSessionEx:#1021} Cleaning up profile [VaultMbxAgent-WIN-GV6V5SU1CTH-4880-1346182998-0-328-0] following preceding failure. Profile deletion: [0x0]
4379 16:43:20.579 [3444] (ArchiveTask) <4880> EV:H {CMailboxHelper::CreateProfileAndSessionEx} (Exit) Status: [<0x80040115>]
 

I also saw the KB article related to the GC and I run the "fix it for me" msi that they have.

Do you have any ideas? Please let me know if there is any more information I can provide.

P.S. One extra detail: For creating the 2 vms I did the following: I had a vm with EV and exchange together working. I copied the vm and in VM1 uninstalled EV and sql. On VM2 removed DC role, reinstalled sql, reinstalled Enterprise vault, renamed the computer and pointed to the domain controller VM1. I say it just in case this could have been a problem that I'm missing.

Thanks to everyone!

1 ACCEPTED SOLUTION

Accepted Solutions

LCT
Level 6
Accredited Certified

i also noticed that you are using EV service account as the system mailbox...this is not supported...you should create another mailbox as a system mailbox as use that in the exchange mailbox archiving task.

View solution in original post

14 REPLIES 14

LCT
Level 6
Accredited Certified

i would suggest you wipe all the VMs and start again, i.e. building the DC and exchaneg again on one VM, install EV and sql on the other cleanly,,,...you can't copy VMs as the computer sid and stuff are not clean and you you DC installed etc...

It looks like you don't have a clean VM environment...I have made the same mistake with VMs by copying etc...do you have a base OS VM image...you should use clone the VM after you have run sysprep etc..without anything installed other windows updates etc...

Carlos_Castro
Level 4

I've started again from scratch (clean vms) and I've got pretty similar results. When I enable mailboxes, I get the same error described above and the archiving task fails.

The dtrace is below - any help would be much appreciated.

 

{CMailboxHelper::CreateProfileAndSessionEx:#841} Setting up MAPI profile [VaultMbxAgent-WIN-GV6V5SU1CTH-3020-1346344879-0-308-0]
1726 13:41:19.308 [3464] (ArchiveTask) <3020> EV:L {CMailboxHelper::CreateProfileAndSessionEx:#844} Creating the MAPI profile...
1727 13:41:19.310 [3464] (ArchiveTask) <3020> EV:L {CMailboxHelper::CreateProfileAndSessionEx:#864} Creating the message service (if it doesn't already exist)...
1728 13:41:19.316 [3464] (ArchiveTask) <3020> EV:L {CMailboxHelper::CreateProfileAndSessionEx:#878} Getting the message service table (GetMsgServiceTable)...
1729 13:41:19.316 [3464] (ArchiveTask) <3020> EV:L {CMailboxHelper::CreateProfileAndSessionEx:#881} Querying the returned message service table...
1730 13:41:19.316 [3464] (ArchiveTask) <3020> EV:L {ConfigureMsgServiceAttempt} (Entry)
1731 13:41:19.316 [3464] (ArchiveTask) <3020> EV:L {ConfigureMsgServiceAttempt:#107} Trying ConfigureMsgService using PR_PROFILE_UNRESOLVED_SERVER [WIN-GV6V5SU1CTH], attempt [1] of [5]
1732 13:41:19.346 [3464] (ArchiveTask) <3020> EV:M {ConfigureMsgServiceAttempt:#119} ConfigureMsgService failed: [0x80040115]
1733 13:41:19.846 [3464] (ArchiveTask) <3020> EV:L {ConfigureMsgServiceAttempt:#82} Using provided Global Catalog Server [WIN-GV6V5SU1CTH.evtest.local]
1734 13:41:19.846 [3464] (ArchiveTask) <3020> EV:L {ConfigureMsgServiceAttempt:#107} Trying ConfigureMsgService using PR_PROFILE_UNRESOLVED_SERVER [WIN-GV6V5SU1CTH.evtest.local], attempt [2] of [5]
1735 13:41:19.874 [3464] (ArchiveTask) <3020> EV:M {ConfigureMsgServiceAttempt:#119} ConfigureMsgService failed: [0x80040115]
1736 13:41:20.374 [3464] (ArchiveTask) <3020> EV:L {ConfigureMsgServiceAttempt:#107} Trying ConfigureMsgService using PR_PROFILE_UNRESOLVED_SERVER [WIN-GV6V5SU1CTH], attempt [3] of [5]
1737 13:41:20.398 [3464] (ArchiveTask) <3020> EV:M {ConfigureMsgServiceAttempt:#119} ConfigureMsgService failed: [0x80040115]
1738 13:41:20.898 [3464] (ArchiveTask) <3020> EV:L {ConfigureMsgServiceAttempt:#107} Trying ConfigureMsgService using PR_PROFILE_UNRESOLVED_SERVER [WIN-GV6V5SU1CTH.evtest.local], attempt [4] of [5]
1739 13:41:20.970 [3464] (ArchiveTask) <3020> EV:M {ConfigureMsgServiceAttempt:#119} ConfigureMsgService failed: [0x80040115]
1740 13:41:21.470 [3464] (ArchiveTask) <3020> EV:L {ConfigureMsgServiceAttempt:#107} Trying ConfigureMsgService using PR_PROFILE_UNRESOLVED_SERVER [WIN-GV6V5SU1CTH], attempt [5] of [5]
1741 13:41:21.493 [3464] (ArchiveTask) <3020> EV:M {ConfigureMsgServiceAttempt:#119} ConfigureMsgService failed: [0x80040115]
1742 13:41:21.493 [3464] (ArchiveTask) <3020> EV:H {ConfigureMsgServiceAttempt} (Exit) Status: [<0x80040115>]
1743 13:41:21.494 [3464] (ArchiveTask) <3020> EV:H {CMailboxHelper::CreateProfileAndSessionEx:#950} ConfigureMsgServiceAttempt() failed.
1744 13:41:21.494 [3464] (ArchiveTask) <3020> EV:H {CMailboxHelper::BuildConfigureMsgServiceErrorText:#722} Failed to contact server [SMTP:EVService@evtest.local] due to a network error.
1745 13:41:21.495 [3464] (ArchiveTask) <3020> EV~E Event ID: 3432 One or more errors occurred during the creation of a profile to connect to an Exchange Server. |Targeted Exchange Server: WIN-GV6V5SU1CTH |Mailbox: SMTP:EVService@evtest.local |ConfigureMsgService failed with the following errors: |A network error MAPI_E_NETWORK_ERROR has been reported for the following connection points:|WIN-GV6V5SU1CTH|WIN-GV6V5SU1CTH.evtest.local| |
1746 13:41:21.499 [3464] (ArchiveTask) <3020> EV:M {CMailboxHelper::CreateProfileAndSessionEx:#1021} Cleaning up profile [VaultMbxAgent-WIN-GV6V5SU1CTH-3020-1346344879-0-308-0] following preceding failure. Profile deletion: [0x0]
1747 13:41:21.499 [3464] (ArchiveTask) <3020> EV:H {CMailboxHelper::CreateProfileAndSessionEx} (Exit) Status: [<0x80040115>]
1748 13:41:21.499 [3464] (ArchiveTask) <3020> EV:M {CMAPISession::CreateMapiSession:#397} Releasing exclusive profile lock following error [0x80040115]
1749 13:41:21.499 [3464] (ArchiveTask) <3020> EV:M {CEVMAPIMutex::ReleaseMAPIMutex:#147} Releasing exclusive profile lock.
1750 13:41:21.500 [3464] (ArchiveTask) <3020> EV:H {CMAPISession::CreateMapiSession} (Exit) Status: [<0x80040115>]
1751 13:41:21.500 [3464] (ArchiveTask) <3020> EV:L {CMAPISession::ClearProfileCache} (Entry)
1752 13:41:21.500 [3464] (ArchiveTask) <3020> EV:L {CMAPISession::CloseMapiSession} (Entry)
1753 13:41:21.500 [3464] (ArchiveTask) <3020> EV:L {CMAPISession::CloseMapiSession:#114} Releasing managed store (IExchangeManageStore): [False]
1754 13:41:21.500 [3464] (ArchiveTask) <3020> EV:L {CMAPISession::CloseMapiSession:#120} Releasing message store (IMsgStore): [False]
1755 13:41:21.500 [3464] (ArchiveTask) <3020> EV:L {CMAPISession::CloseMapiSession} (Exit)
1756 13:41:21.500 [3464] (ArchiveTask) <3020> EV:L {CEVMAPIMutex::AcquireMAPIMutex:#88} Try to acquire profile lock.
1757 13:41:21.500 [3464] (ArchiveTask) <3020> EV:L {CEVMAPIMutex::AcquireMAPIMutex:#137} Acquired exclusive profile lock.
1758 13:41:21.500 [3464] (ArchiveTask) <3020> EV:M {CEVMAPIMutex::ReleaseMAPIMutex:#147} Releasing exclusive profile lock.
1759 13:41:21.500 [3464] (ArchiveTask) <3020> EV:L {CMAPISession::ClearProfileCache} (Exit)
1760 13:41:21.500 [3464] (ArchiveTask) <3020> EV:H {CMAPISession::GetMapiSessionFromPoolEx} (Exit) Status: [<0x80040115>]
1761 13:41:21.501 [3464] (ArchiveTask) <3020> EV:H {CAgentTask::Initialise:#1521} Failed to open privileged MAPI session: [0x80040115]. Aborting agent startup.
1762 13:41:21.501 [3464] (ArchiveTask) <3020> EV:M {IsCurrentUserADomainAdmin:#4638} User is domain admin: [False]
1763 13:41:21.502 [3464] (ArchiveTask) <3020> EV~E Event ID: 3305 The Task 'Exchange Mailbox Archiving Task for WIN-GV6V5SU1CTH' failed to log on to Exchange server 'WIN-GV6V5SU1CTH' using mailbox 'SMTP:EVService@evtest.local'. Please ensure the mailbox has not been hidden, that the server is running and that the Vault account has sufficient permissions on the server. |
 

LCT
Level 6
Accredited Certified

OK... a few things to check:

1. What version of outlook have you get installed on the EV server?

2. You can open the system mailbox on the EV server logged in the service account via outlook?

3. Windows firewall if off on all Windows 2008 R2 servers?

4. Have you applied the closest GC reg key?

5. Is the system mailbox hidden?

check this technote

http://www.symantec.com/business/support/index?page=content&id=TECH154485

Hope that will take it a little further for you.

Carlos_Castro
Level 4

LCT, thanks for your answer. I'll check those things.

How would I check whether "the user is not disabled or the user's email address is not hidden from the Global Address list."?

Thanks again!

LCT
Level 6
Accredited Certified

on exchange 2010 EMC open up the user's mailbox (in this case it's the system mailbox) and there should be a box at the bottom "Hide from Exchange Address List" or something like that...make sure that this option is NOT ticked.

Carlos_Castro
Level 4

Hi LCT - I've checked everything you mentioned in the previous email and the situation remains the same. When I open outlook with the service account, it just opens it's acount smoothly, not even login prompt or anything.

It's outlook and exchange 2007. Outlook 2007 has SP2 and the hotfix stated un the installing and configuring guide. Any other idea?

How else could I check that the account has the permissions?

The error indicates a MAPI problem anyway. Any idea of how else to diagnose?

LCT
Level 6
Accredited Certified

have you applied the closest GC reg key? have a look at the technote that i posted above.

Try Outlook 2003 SP3 on the EV server, see that makes a difference.

 

LCT
Level 6
Accredited Certified

i also noticed that you are using EV service account as the system mailbox...this is not supported...you should create another mailbox as a system mailbox as use that in the exchange mailbox archiving task.

LCT
Level 6
Accredited Certified

also have you run the deployment scanner? does that show any errors?

Carlos_Castro
Level 4

I ran deployment scanner before setup, no errors and no significant warnings.

I'll try outlook 2003 then. 

If I want to change the system mailbox, is it enough to change it in the settings of the archiving task? Should the system mailbox have some particularity besides not being hidden?

Thanks for your help LCT, have a nice evening :)

LCT
Level 6
Accredited Certified

The system mailbox is just a normal mailbox i.e. a domain user with a mailbox and does not to any other groups etc. Yes you change it in the archiving task under the Settings tab.

LCT
Level 6
Accredited Certified

Hi Carlos,

I was reading your previous post and you seem to have fixed this issue? Everything working for you now?

Carlos_Castro
Level 4

I LCT, Actually I could fix it!

I did the following

  • Re-configured the vault service account in outlook
  • Changed the system mailbox to another user as suggested because using the vault service account as system mailbox was not supported
  • disabled the user mailbox
  • provisioned and synced
  • enabled the user mailbox
  • provisioned and synced
  • finally, archived without any trouble!

Thanks LCT, your help was crucial to make this work! :)

LCT
Level 6
Accredited Certified

Glad I was able to help.

Have fun testing!!! :)