When GFI MailEssentials is in local mode (Cassini), services fail to remain started
Versions / Builds Affected
GFI MailEssentials 2014 R2
Status
Resolved
Problem Summary
Services fail to stay started for more than one day when ME is in Local Mode. No issues when IIS is used.
TT / JIRAID
2484
How to Identify
Look for similar errors in the Attendant service log file: "info ","Attendant Service","OnStart. Starting plugin: DiskSpaceNotifier" "info ","Attendant Service","Service started. Total time taken: 10.6676394 sec" "error ","Attendant Service","Error: CRITICAL Unhandled error, terminating:True" "error ","Attendant Service","Error details: System.IO.FileNotFoundException: Could not load file or assembly 'GFI.Common.Cassini, Version=3.5.0.2, Culture=neutral, PublicKeyToken=2315540f8a5d4822' or one of its dependencies. The system cannot find the file specified. ;File name: 'GFI.Common.Cassini, Version=3.5.0.2, Culture=neutral, PublicKeyToken=2315540f8a5d4822' ; at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type) ; at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName) ; at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) ; at System.Type.GetType(String typeName, Boolean throwOnError) ; at System.Web.Hosting.HostingEnvironment.CreateWellKnownObjectInstance(String assemblyQualifiedName, Boolean failIfExists) ; at System.Web.Hosting.HostingEnvironment.CreateWellKnownObjectInstance(String assemblyQualifiedName, Boolean failIfExists) ; at System.Web.Hosting.ApplicationManager.CreateObjectInternal(String appId, Type type, IApplicationHost appHost, Boolean failIfExists, HostingEnvironmentParameters hostingParameters) ; at System.Web.Hosting.ApplicationManager.CreateObject(String appId, Type type, String virtualPath, String physicalPath, Boolean failIfExists, Boolean throwOnError) ; at System.Web.Hosting.ApplicationManager.CreateObject(String appId, Type type, String virtualPath, String physicalPath, Boolean failIfExists) ; at GFI.Common.Cassini.Server.CreateWorkerAppDomainWithHost(String virtualPath, String physicalPath, Type hostType) ; at GFI.Common.Cassini.Server.GetHost() ; at GFI.Common.Cassini.Server.<>c__DisplayClass2.b__1(Object param0) ; at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state) ; at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ; at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() ; at System.Threading.ThreadPoolWorkQueue.Dispatch() ; at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ; ;WRN: Assembly binding logging is turned OFF. ;To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. ;Note: There is some performance penalty associated with assembly bind failure logging. ;To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. ;" "info ","Attendant Service","Initiating restart" "error ","Attendant Service","Error: CRITICAL Unhandled error, terminating:True" "error ","Attendant Service","Error details: System.IO.FileNotFoundException: Could not load file or assembly 'GFI.Common.Cassini, Version=3.5.0.2, Culture=neutral, PublicKeyToken=2315540f8a5d4822' or one of its dependencies. The system cannot find the file specified. ;File name: 'GFI.Common.Cassini, Version=3.5.0.2, Culture=neutral, PublicKeyToken=2315540f8a5d4822' ; at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type) ; at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName) ; at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) ; at System.Type.GetType(String typeName, Boolean throwOnError) ; at System.Web.Hosting.HostingEnvironment.CreateWellKnownObjectInstance(String assemblyQualifiedName, Boolean failIfExists) ; at System.Web.Hosting.HostingEnvironment.CreateWellKnownObjectInstance(String assemblyQualifiedName, Boolean failIfExists) ; at System.Web.Hosting.ApplicationManager.CreateObjectInternal(String appId, Type type, IApplicationHost appHost, Boolean failIfExists, HostingEnvironmentParameters hostingParameters) ; at System.Web.Hosting.ApplicationManager.CreateObject(String appId, Type type, String virtualPath, String physicalPath, Boolean failIfExists, Boolean throwOnError) ; at System.Web.Hosting.ApplicationManager.CreateObject(String appId, Type type, String virtualPath, String physicalPath, Boolean failIfExists) ; at GFI.Common.Cassini.Server.CreateWorkerAppDomainWithHost(String virtualPath, String physicalPath, Type hostType) ; at GFI.Common.Cassini.Server.GetHost() ; at GFI.Common.Cassini.Server.<>c__DisplayClass2.b__1(Object param0) ; at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state) ; at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ; at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() ; at System.Threading.ThreadPoolWorkQueue.Dispatch() ; at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ; ;WRN: Assembly binding logging is turned OFF. ;To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. ;Note: There is some performance penalty associated with assembly bind failure logging. ;To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. ;" "info ","Attendant Service","Initiating restart"
Workaround / Fix Details
Upgrade to 2015
Required Actions
Attach article and upgrade to 2015
Priyanka Bhotika
Comments