Application Error FileLoadException!
Problem reported by Chinmay Khandekar - 1/13/2015 at 12:54 PM
I keep getting this error after every 5-6 hours in my error log! I am using SM 13.1 on Windows 2008 Server
[2015.01.13] =======
[2015.01.13] [CurrentUser: unknown]
[2015.01.13] [1/13/2015 9:11:05 AM]
[2015.01.13] http://IP/Login.aspx
[2015.01.13] System.IO.FileLoadException: Could not load file or assembly 'System.Core, Version=, Culture=neutral, PublicKeyToken=######### Retargetable=Yes' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
[2015.01.13] File name: 'System.Core, Version=, Culture=neutral, PublicKeyToken=######### , Retargetable=Yes'
[2015.01.13]    at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
[2015.01.13]    at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
[2015.01.13]    at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
[2015.01.13]    at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
[2015.01.13]    at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
[2015.01.13]    at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
[2015.01.13]    at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)
[2015.01.13]    at System.Web.UI.AssemblyCache.GetAjaxFrameworkAssemblyAttribute(Assembly assembly)
[2015.01.13]    at System.Web.UI.ScriptManager.get_DefaultAjaxFrameworkAssembly()
[2015.01.13]    at System.Web.UI.ScriptManager..ctor()
[2015.01.13]    at ASP.masterpages_default_login_master.__BuildControlScriptManager1()
[2015.01.13]    at ASP.masterpages_default_login_master.__BuildControlform1()
[2015.01.13]    at ASP.masterpages_default_login_master.__BuildControlTree(masterpages_default_login_master __ctrl)
[2015.01.13]    at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
[2015.01.13]    at System.Web.UI.Page.ApplyMasterPage()
[2015.01.13]    at System.Web.UI.Page.PerformPreInit()
[2015.01.13]    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
[2015.01.13] WRN: Assembly binding logging is turned OFF.
[2015.01.13] To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
[2015.01.13] Note: There is some performance penalty associated with assembly bind failure logging.
[2015.01.13] To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
[2015.01.13] Application Error

6 Replies

Reply to Thread
Employee Replied
Employee Post
Hi Chinmay. Is this a new installation or an upgrade from a previous version? If an upgrade, did you uninstall the previous version first, or install SmarterMail 13.1 on top of an existing install?
Chinmay Khandekar Replied
Hi, It is a Fresh OS Install as well as Fresh SmarterMail 13.1 Installation. There was no existing ones. I had to in between have a repair of the installation due to an error!
john Replied
I have the same error. I uninstalled v12.* and installed v13. Now I get these errors. Please post solution!!
john Replied
Something I noticed today while trying to figure this out. It appears that in the application settings in IIS the SmarterMail application was set to recycle every certain number of minutes. I changed this to a specific time... low and behold the webmail page crapped out with this same error (System.IO.FileLoadException / System.Core). So I have removed recycling altogether to see how long it will last before dying again. This is obviously not an issue with the server that has worked well for many years since SmarterMail v10. It's something in the v13 that is not right.
john Replied
So much for that idea. Still throwing exception from time to time. Sometimes a simple browser refresh clears the error and the user gets a login screen. Disturbing issue. Shame I have to pay for support for a programmatic error.
Steve Reid Replied
If it's confirmed to be a bug you get the fee refunded.

Reply to Thread