After installing Microsoft patches on a Windows Server 2008 R2 server hosting Adaxes 2014.1 we are experiencing the following COMException in the Application event log:
An error occurred while trying to start an integrated application instance.
Exception: System.Runtime.InteropServices.COMException
Message: The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))
StackTrace: at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Web.Util.StopListeningWaitHandle..ctor()
at System.Web.Hosting.HostingEnvironment.SetupStopListeningHandler()
at System.Web.Hosting.PipelineRuntime.StartProcessing()
at System.Web.Hosting.ProcessHost.StartApplication(String appId, String appPath, Object& runtimeInterface)
Due to this error the AdaxesSelfService web application will not startup and IIS eventually shuts down the application pool. All other Adaxes* web applications will startup; however, they create the same error when trying to access the web application.
We have tried the following to resolve the error but nothing has worked.
1. Uninstall the Microsoft patch set that was applied. (KB3045171, KB3057839, KB3058515, KB3059317, KB3063858)
2. Uninstall/Install Adaxes 2014.1
3. Disable/Enable IIS 7.5
Any insight into how to fix this issue is greatly appreciated.