When navigating to the web mail login page it produces a .NET error with 'Exception message: Could not load file or assembly 'ARPDev.Core'


SYMPTOMS

The following error is displayed in the Windows event log viewer under the "Application Log":

Exception message: Could not load file or assembly 'ARPDev.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=f27ae6111cfb0e37' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)

CAUSE

The ASP.NET error can occur if there are old temporary files present within C:\Windows\Microsoft.NET\Framework64\(framework version number)\Temporary ASP.NET that had been compiled using an older version of the ARPDev.core.dll located within the Mail Enable\BIN\NetWebmail\BIN folder.

RESOLUTION

Resolution 1: for installations running the MailEnable application pool under the Microsoft.NET 4.0 64Bit Framework:

Delete the contents of C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET and restart the the MailEnableAppPool application pool under IIS.

Resolution 2: for installations running the MailEnable application pool under the Microsoft.NET 2.0 64Bit Framework:

Delete the contents of C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET and restart the the MailEnableAppPool application pool under IIS.



Product:MailEnable (All Versions)
Article:ME020703
Module:General
Keywords:webmail,web,mail,asp.net,4.0,2.0,arpdev.core,ARPDev.Core
Class:TRB: Troubleshooting (Configuration or Environment)
Revised:Tuesday, July 2, 2019
Author:
Publisher:MailEnable