Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Mapi Logon Failure

Keywords: 	  profile name

Question:

I have written a winbatch script that when run from the NT command line formats and delivers E-mail using the mapi functions correctly. I have a power monitor utility that allows a script to be run when the UPS is about to fail. The script runs the WBT program. When it attempts to do the Mlogon function using the 'Mapiextender DLL' I just downloaded results in an WIL Extender Error: 703 Mapi Logon Failed. I have fought with this for hours.

Answer:

I suspect the power utility is launching the script under the service account that does not have MAPI installed or a MAPI profile.

You might set the utility up to use your userid and password instead of he LocalSystem account to run (Control Panel -> Services)

Or if you have a SMTP server available, try the Postie extender instead.

Resolution:

I think you have hit the nail on the head. I'm going to look further into the settings with the service account.



Article ID:   W14423
Filename:   Mapi Logon failure.txt