When trying to log into webmail it fails, and web admin will produce an error message dialog. Other services appear to work. When the Windows event log is checked, an ASP.NET error is shown, which have the details including:
Event code: 3005
Event message: An unhandled exception has occurred.
Exception type: BadImageFormatException
Exception message: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at MailEnable.Administration.Login.LoginGet(IAUTHENTRYTYPE& lpLogin)
This is caused by the web application not being able to find the 64bit DLLs. So it is using the 32bit DLLs, but they cannot be used and the error occurs. The 64bit DLLs are found by the path existing in the PATH environment. The Mail Enable\bin64 directory contains the 64bit DLLs.
Edit the PATH environment variable on the server and ensure that the Mail Enable\bin64 as well as the Mail Enable\bin is included. If you edit the PATH environment variable you need to reboot the server for it to take effect.
|Class:||TRB: Troubleshooting (Configuration or Environment)|
|Revised:||Friday, August 7, 2020|