Server.CreateObject Failed

Server.CreateObject Failed

Server object error 'ASP 0177 : 800700c1'

Server.CreateObject Failed

/agendax/agenda/, line 571



If you get the above error, it means that the file AEPwDc.DLL was not correctly registered with the system.

On a 64bit Windows system, copy AEPwDc64.DLL to AEPwDc.DLL, on a 32bit Windows system leave the original copy of AEPwDc.DLL.

Then, register the DLL with regsvr32 on the command line:

Run CMD.EXE with 'Run as Administrator'


CD \Inetpub\AgendaX

regsvr32 AEPwDc.DLL

Error while opening address book. Error Code: 0x00040380 (MAPI_W_ERRORS_RETURNED)

If you get the following error in the Application Event log:

The AgendaX Update Service reported the following error:
General Error - Output: Error while opening address book.
Error Code: 0x00040380 (MAPI_W_ERRORS_RETURNED)
Description: The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action.
MAPI was unable to load the information service EMSMDB.DLL. Be sure the service is correctly installed and configured..

and you are connecting to Office 365, please follow the steps below to solve this problem:

Add the following keys to the registry, logged-in with the user that is used to run the AgendaX Update Service:


EnableADAL (DWORD) 1
DisableADALatopWAMOverride (DWORD) 1

16.0 is for Outlook 2016, 2019 and Outlook 365. If you use Outlook 2013, you have to update to Outlook 2016 or above as Microsoft does not support connections to O365 with earlier clients anymore.

Go to Control Panel / Credentials Manager / Windows Credentials and delete all credentials starting with MicrosoftOffice16_Data.

Reboot the server (not always necessary), recreate the Outlook profile that you have configured AgendaX to use, turn off Exchange Cache Mode in the profile, start Outlook with this profile, close Outlook again.

If you are prompted for username / password, please activate the checkbox 'Save password'.

After these steps, the error logged to the Application eventlog should go away.

HTTP 500 Error in the AgendaX web- application

If you can navigate to the AgendaX main menu but get an HTTP 500 error when you click on one of the views, you should adjust the following settings to get a detailed error message:

Disable 'Show friendly HTTP errors' in Internet Explorer / Tools / Internet Options / Advanced / Browsing.
On IIS, in the virtual directory of AgendaX, under Error pages, 500, Edit feature settings, set the Error responses option to 'Detailed errors'.

This always displays detailed errors instead of an HTTP 500 error, which is useful for detecting problems.

Error creating profile in Application Eventlog

Reported Errors in Application Event log of AgendaX Update Service:
Event ID 139: Error creating profile. MAPIAdminProfiles returned 80040605
Event ID 137: AgendaX Debug Log. \
Location: Create TempProfile failed. \
Data 1: %3\ Data 2: %4 Event ID 123:
Mailboxes Scanned 0.
Mailboxes on other sites (not scanned locally): 0.
Check that the AgendaX user has sufficient rights on the AgendaX server. In case you are using Exchange Server MAPI (not Outlook MAPI), the AgendaX Update Service dynamically creates MAPI profiles to access mailboxes on Exchange Server. These profiles are stored in the registry. Please make sure that this account has administrative privileges on the AgendaX server. Also check that you have the latest MAPI version installed. MAPI can be downloaded from: Check the LogonServer and LogonMailbox parameters in the AgentX.ini file in your AgendaX installation directory. They should point to a valid mailbox (the mailbox associated with the AgendaX account).

Type Mismatch 'UBound' error

When accessing any of the AgendaX views the following error appears:

Microsoft VBScript runtime error '800a000d' Type Mismatch 'UBound'


One of the AgendaX groups contains no members, or contains an empty distribution list.

Check that all of the AgendaX groups contain members and / or non-empty distribution lists.

Can't resolve 'EX:/o=ExchangeLabs/ou=Exchange Administrative Group...' in Global Address Book

Most probably Exchange Cache Mode is turned on in the Outlook profile of the AgendaX account.

Please do the following:

  • Log in with the AgendaX user on the AgendaX server.
  • Edit the Outlook profile that is configured for the AgendaX service (AgendaXCfg.exe / MSX Version) and make sure that Exchange Cache mode is turned OFF.

The supplied License Key is not working. The entered key is replaced with “30 day Trial Version”.

Please make sure that you enter the Company name exactly as provided on the license document or in the email you received from us (capitalization, spacing, etc.).

Contributions related to the subject

Would you like to write a guest post?
Please contact us.