Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alert & Exchange 80040111 error

Status
Not open for further replies.

evoroel

IS-IT--Management
Jun 23, 2003
39
0
0
BE
Hello

I'm trying to get an Email alert up and running on a win2k server running ARCserve 2000 with SP4.

I have set up a user "backup" on the domain (it has domain admin privileges), I created a mailbox on the exchange server. I have installed Outlook 2002 on the server and logged in with "backup" and configured outlook. It works fine, I can send and recieve email.

I have set up the service account (Alert Manager) to the correct domain and user and password. Settings for Exchange are ok as well (checked case sensitivity).

I can "Logon to the mail system" with the profile I created.

But when I try to send an test email I get error -2147221231 and these errors in the alrtexch.log file:

[EXCHPSTR.DLL] Cannot open the default message store (80040111)
[EXCHPSTR.DLL] The store name is Private Folders
[EXCHPSTR.DLL] No Default Message Store

I have checked and rechecked the settings. On a different server (Win2k3) it works fine with the same account!

Could someone give me all the settings I have to check or permissions that have to be set?

I'm confused, all settings (I know are relevant) match on both servers. But it keeps failing.

Any thoughts?
Roel
 

The update requested Alert v6.0 and ARCserve gets shipped with Alert v4.0. Despite this I successfully ran the update.

The problem is not resolved, now I get the 80040111 error I got in the logfile.

Are there other updates I need to install before or after QO36911?

Roel

PS: Logfile isn't working anymore with the update installed.


 
If you are running Outlook XP (2002) sp2 then MS are due to release a hot fix that addresses MAPI issues. As the Exchange Alert uses MAPI to login this is potentially where the issue lies
 
Tnx xenotec

It could solve the issue, I hope so because I can't get it to work.

I removed ARCserve completely from the server (including all reg keys) and installed it again. To no avail, I can't seem to get a hold where the problem occurs.

The ARCserve user has full control on both shares (arcserve and alert) and folders.

When starting Alert Manager (or Service) I get this error in the alert Activity Log:

ShareDirectory NetShareAdd failed 0

The complete alrtexch.log:

[EXCHPSTR.DLL]
[EXCHPSTR.DLL] ======================================================================
[EXCHPSTR.DLL] Log For: 08-28-2003 @ 09:21
[EXCHPSTR.DLL] ======================================================================
[EXCHPSTR.DLL]
[EXCHPSTR.DLL] DLLMain() - DLL_PROCESS_ATTACH
[EXCHPSTR.DLL] ***********************************************************
[EXCHPSTR.DLL] Got registry entries 'ExchServerName' and 'ExchMailboxName'
[EXCHPSTR.DLL] MAPI Major Version == [1]
[EXCHPSTR.DLL] Inside InitMAPI40()
[EXCHPSTR.DLL] DLLMain() - DLL_THREAD_ATTACH
[EXCHPSTR.DLL] MAPIInitialize() - Success
[EXCHPSTR.DLL] LogonUser( User=[backup], Domain = [evosoft] ) Error=[0]
[EXCHPSTR.DLL] LogonServiceAccount() - Success
[EXCHPSTR.DLL] ImpersonateLoggedOnUser() - Success
[EXCHPSTR.DLL] ImpersonateServiceAccount() - Success
[EXCHPSTR.DLL] g_poster.InitMAPI(1) - Success
[EXCHPSTR.DLL] MAPIAdminProfiles() - Success
[EXCHPSTR.DLL] IProfAdmin::CreateProfile(Alert MAPI Profile 3D6ADEB) - Continue [0]
[EXCHPSTR.DLL] IMsgServiceAdmin::AdminServices() - Success
[EXCHPSTR.DLL] IMsgServiceAdmin::GetMsgServiceTable() - Success
[EXCHPSTR.DLL] HrQueryAllRows() - Success
[EXCHPSTR.DLL] IMsgServiceAdmin::OpenProfileSection() - Success
[EXCHPSTR.DLL] IProfSection::GetProps() - Success
[EXCHPSTR.DLL] cValues == [2]
[EXCHPSTR.DLL] PROP_TYPE(pSectProps[0].ulPropTag) == [A]
[EXCHPSTR.DLL] PROP_TYPE(pSectProps[1].ulPropTag) == [A]
[EXCHPSTR.DLL] ERROR CODE pSectProps[0].Value.ul == [8004010F]
[EXCHPSTR.DLL] ERROR CODE pSectProps[1].Value.ul == [8004010F]
[EXCHPSTR.DLL] MAPIFreeBuffer(pSectProps) - Success
[EXCHPSTR.DLL] pSection->Release() called
[EXCHPSTR.DLL] The properties do not match - try to change them
[EXCHPSTR.DLL] spExchServerProps[0].Value.lpszA = [sbs-s001]
[EXCHPSTR.DLL] spExchServerProps[1].Value.lpszA = [backup]
[EXCHPSTR.DLL] Calling pServAdmin->ConfigureMsgService()
[EXCHPSTR.DLL] *** GPF in pServAdmin->ConfigureMsgService() ***
[EXCHPSTR.DLL] *** Exception Code = [C0000005] ***
[EXCHPSTR.DLL] Error setting up the Exchange Server [80040119]
[EXCHPSTR.DLL] Server Name: [sbs-s001]
[EXCHPSTR.DLL] User Name: [backup]
[EXCHPSTR.DLL] FreeProws() called
[EXCHPSTR.DLL] pServTable->Release() called
[EXCHPSTR.DLL] pServAdmin->Release() called
[EXCHPSTR.DLL] pAdmin->Release() called
[EXCHPSTR.DLL] Returning nReturn from end of EnsureAlert...() [FFFFFFFF]
[EXCHPSTR.DLL] MAPI Major Version == [1]
[EXCHPSTR.DLL] MAPI Uninitialized
[EXCHPSTR.DLL] MAPI Major Version == [1]
[EXCHPSTR.DLL] Inside InitMAPI40()
[EXCHPSTR.DLL] DLLMain() - DLL_THREAD_ATTACH
[EXCHPSTR.DLL] MAPIInitialize() - Success
[EXCHPSTR.DLL] LogonUser( User=[backup], Domain = [evosoft] ) Error=[0]
[EXCHPSTR.DLL] LogonServiceAccount() - Success
[EXCHPSTR.DLL] ImpersonateLoggedOnUser() - Success
[EXCHPSTR.DLL] ImpersonateServiceAccount() - Success
[EXCHPSTR.DLL] g_poster.InitMAPI(2) - Success
[EXCHPSTR.DLL] MAPIAdminProfiles() - Success
[EXCHPSTR.DLL] IProfAdmin::GetProfileTable() - Success
[EXCHPSTR.DLL] HrQueryAllRows() - Success
[EXCHPSTR.DLL] Profile Listing - Begin
[EXCHPSTR.DLL] Alert MAPI Profile 3D6ADEB
[EXCHPSTR.DLL] Profile Listing - End
[EXCHPSTR.DLL] Found profile [Alert MAPI Profile 3D6ADEB] - Terminated Profile Listing
[EXCHPSTR.DLL] Calling MAPILogonEx() with profile [Alert MAPI Profile 3D6ADEB]
[EXCHPSTR.DLL] Returned from MAPILogonEx()
[EXCHPSTR.DLL] MAPILogonEx() - Success
[EXCHPSTR.DLL] MAPIAdminProfiles() - Success
[EXCHPSTR.DLL] Calling pAdmin->DeleteProfile(Alert MAPI Profile 3D6ADEB)
[EXCHPSTR.DLL] Returned from pAdmin->DeleteProfile()
[EXCHPSTR.DLL] pAdmin->DeleteProfile - Success
[EXCHPSTR.DLL] Calling GetMsgStoresTable()
[EXCHPSTR.DLL] HrQueryAllRows()...
[EXCHPSTR.DLL] Traversing...
[EXCHPSTR.DLL] Cannot open the default message store (80040111)
[EXCHPSTR.DLL] The store name is Private Folders
[EXCHPSTR.DLL] No Default Message Store

 
From the above log it looks like it is using the incorrect profile. It should be using backup.
Can you potentially setup SMTP as an alternative with the new version of Alert? You would not be able to set it up via the ARCserve Job but you could have the Default setup in Alert Manager as a temporary work around
 
I have been looking for a new version of Alert but was unable to find it anywhere. Could you point me to the correct website?
 
It isn't available via download. You can get it off a Trial CD of eTrust Antivirus version 7 and install just that component.
 
I have now reinstalled Win2k, Outlook 2002 and ARCserve.

After each update I ran Alert again and indeed, as you stated before, after Outlook 2k2 SP2 alert fails to send the e-mail!

I'll do some more testing and post my findings, tnx for all the help!
 
I have uninstalled Outlook 2k2 with SP2 and tried to install a fresh copy of Outlook 2k2.

But the error remains! Maybe the uninstall does not remove the problematic MAPI files?

Is it possible to completely remove Office SP2?

 
Unbelievable!

I have removed Outlook 2002 SP2.

But now Alert Manager (and service) crashes when I try to send a test mail.

If I restart the service the mail is send succesfully. If I try to send another test mail the service crashes again.

Any thoughts?
 
Hi,

try to set the Alert notification service on a user account. Stop and restart it. Sent two testmessages again and see if it works.

Regards
paxmortis
 
I have been through the same Headaches as above and am not able to find a resolution. Any ideas?
Brightstor AB 9.0 build 2040
Alert 7 build 684
Win2K sp4
Outlook 2K SP3
SMTP sends just fine
log shows the following critical things:
[EXCHPSTR.DLL] PROP_TYPE(pSectProps[0].ulPropTag) == [A]
[EXCHPSTR.DLL] PROP_TYPE(pSectProps[1].ulPropTag) == [A]
[EXCHPSTR.DLL] ERROR CODE pSectProps[0].Value.ul == [8004010F]
[EXCHPSTR.DLL] ERROR CODE pSectProps[1].Value.ul == [8004010F]
[EXCHPSTR.DLL] MAPIFreeBuffer(pSectProps) - Success
[EXCHPSTR.DLL] pSection->Release() called
[EXCHPSTR.DLL] The properties do not match - try to change them

[EXCHPSTR.DLL] LogonServiceAccount() - Success
[EXCHPSTR.DLL] ImpersonateLoggedOnUser() - Success
[EXCHPSTR.DLL] ImpersonateServiceAccount() - Success
[EXCHPSTR.DLL] DLLMain() - DLL_THREAD_ATTACH
[EXCHPSTR.DLL] MAPIInitialize() - Success
[EXCHPSTR.DLL] g_poster.InitMAPI(1) - Success
[EXCHPSTR.DLL] MAPIAdminProfiles() - Success
[EXCHPSTR.DLL] IProfAdmin::CreateProfile(Alert MAPI Profile 1E270362) - Continue [0]
[EXCHPSTR.DLL] IMsgServiceAdmin::AdminServices() - Success
[EXCHPSTR.DLL] IMsgServiceAdmin::GetMsgServiceTable() - Success
[EXCHPSTR.DLL] HrQueryAllRows() - Success
[EXCHPSTR.DLL] IMsgServiceAdmin::OpenProfileSection() - Success
[EXCHPSTR.DLL] IProfSection::GetProps() - Success

[EXCHPSTR.DLL] Calling GetMsgStoresTable()
[EXCHPSTR.DLL] HrQueryAllRows()...
[EXCHPSTR.DLL] Traversing...
[EXCHPSTR.DLL] Cannot open the default message store (80040111)
[EXCHPSTR.DLL] The store name is Private Folders
[EXCHPSTR.DLL] No Default Message Store
 
Hi

I haven't found a good solution for this.

I have removed ArcServe completely and started working with NTBackup.

Gr
evoroel
 
I had the same problem. It was resolved deleting mailbox in MS Exchange Server, and recreating it with Display Name same as Alias Name.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top